3 ms·
Better be at least 2 MB pages then. 5.5M (max. 22 GB/s compression output on PS5) page faults per second for 4 kB pages might otherwise ruin this scheme a bit..
by vardump 6y ago
Better be at least 2 MB pages then. 5.5M (max. 22 GB/s compression output on PS5) page faults per second for 4 kB pages might otherwise ruin this scheme a bit...
2 MB page size would reduce this to "just" 11k page faults per second.
- throwaway_pdp09 6y agoI know nothing about this, but wouldn't most textures be quite small, and with a large page size you might end up reading in much more than you need, making it often worse than useless?
- 67868018 6y agoTransparent superpages solve this http://u.cs.biu.ac.il/~wiseman/2os/superpage/navaroo1.pdf http://u.cs.biu.ac.il/~wiseman/2os/superpage/navaroo1.pdf
- throwaway_pdp09 6y agoThat's 113 pages, does this really cover the issue of reading too much? IF so, I'll try and find the time. I mean I'm not complaining about TLB issues which large pages do better at for obvious reasons, but thrashing the TLB is likely to be a lot cheaper than reading too much from the disk.
- 67868018 6y agoFreeBSD superpage max size on amd64 is 1GB edit: and there have been SPARC CPUs with memory controllers that can do 256GB pages