2 ms·
Exactly my thinking. If the problem is TLB evictions, why not improve these? PG isn't the only software that is hit by those. And if you carefully craft your C
by thesnide 3y ago
Exactly my thinking. If the problem is TLB evictions, why not improve these? PG isn't the only software that is hit by those.
And if you carefully craft your CPU scheduling and address spaces mapping, you can reduce them by a lot.
Yet rewrites are always easier and more sexy. At first.
- anarazel 3y agoThe TLB issue are more a hardware issue than a software/OS one. To my knowledge neither x86 nor arm provide a way to partially share TLB contents between processes/entities. Tlb entries can be tagged with a process context identifier, but that's an all or nothing thing. Either the entire address space is shared, or it's not. > Yet rewrites are always easier and more sexy. At first. Moving to threads would not at all be a rewrite.