3 ms·
Things like TLB might also affect your performance, at the cost of memory fragmentation. For example bigger page size (1, 2 or 4MB) would need only two 2 page d
by malkia 14y ago
Things like TLB might also affect your performance, at the cost of memory fragmentation. For example bigger page size (1, 2 or 4MB) would need only two 2 page directory/table lookups, while 4096 pages would need 3.
It's just one of the examples. For example 4096bytes vs 4MB page size:
http://en.wikipedia.org/wiki/File:X86_Paging_4K.svg http://en.wikipedia.org/wiki/File:X86_Paging_4K.svg
http://en.wikipedia.org/wiki/File:X86_Paging_4M.svg http://en.wikipedia.org/wiki/File:X86_Paging_4M.svg