Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

TLB hierarchy is not a B-tree, it is a trie in all of the CPUs. Very different layout (not balanced and also hard sized), much faster on happy path.

Making a 48-bit B-tree would have a bit of a memory problem making TLB huge.

And then CPU cache is an array. Single virtual memory access is bound to be a single physical as well, with minor exceptions for NUMA nodes being crossed.



There's a reason I said "looks very much like" rather than "is". ;-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: