4 ms·
threads achieve better cache-locality Why do you say that? What exactly do you mean? Please assume I'm not a server hacker (I'm not, but I AM a computer scient
by javert 15y ago
threads achieve better cache-locality
Why do you say that? What exactly do you mean? Please assume I'm not a server hacker (I'm not, but I AM a computer scientist).
(BTW, not trying to pick - I am genuinely curious if there is something here I wasn't aware of, which I consider very likely.)
- scott_s 15y agoI furrowed my brow at that, too, but then I realized what I think he meant. If you use multiple threads that touch the same data in memory, that will yield better locality than if you had to marshall data across the process boundary.
- FooBarWidget 15y agoNot sure whether this is what he meant, but context switching between threads does not require flushing the TLB.