4 ms·
> higher TLB hit rates Not always right? Atleast in x86 - switching to huge pages also decreases TLB size afaik. $ x86info -c ... TLB info
by zeusk 5y ago
> higher TLB hit rates
Not always right? Atleast in x86 - switching to huge pages also decreases TLB size afaik.
$ x86info -c
...
TLB info
Instruction TLB: 4K pages, 4-way associative, 128 entries.
Instruction TLB: 4MB pages, fully associative, 2 entries
Data TLB: 4K pages, 4-way associative, 128 entries.
Data TLB: 4MB pages, 4-way associative, 8 entries
- sudosysgen 5y agoUnless I'm misunderstanding, despite reducing TLB size you still massively increase hit rate because each hit covers a lot more actual memory, right?
- zeusk 5y agoSure it covers more area, but that area has to be contiguous. System memory in modern bloated systems is anything but that.