Better test case timings: I changed from doing entire linear write testing to just touching the pages, to take memory bandwidth out of the equation. VirtualAlloc takes 0ms on 4k pages, 6ms on 2mb pages. Fault handling takes 60ms on 4k pages, 0ms on 2mb pages. So that's that.
-
-
Writing 2MiB to NVMe should be microseconds, so we should instead be having this conversation about 1GiB pages
-
Oh also worth noting that each page size has its own l1 tlb (the large page tlbs are much smaller) so your actual access patterns matter.
End of conversation
New conversation -
-
-
Have you got any good ideas on what memory protection without paging might look like, e.g. maybe the ISA lets you specify whole ranges at a time instead of 4k chunks?
-
He's talking about VM paging, not the concept that there are pages. Jon is just saying that designing your paging system around the case where things page in/out is a bad idea, because that case should never happen in perf-centric scenarios (and I agree).
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.