4 ms·
No, work stealing is pretty high overhead.
by zzzcpan 7y ago
No, work stealing is pretty high overhead.
- chrisseaton 7y agoThat's not my experience. I think work stealing is low overhead as it amortises synchronisation, only does it at all when actively required to get more work, and reduces conflicts due to two ends of the queue. Why do you think it's high overhead?
- zzzcpan 7y agoIt's only one part of the story (scheduler) and not even good enough idea considering non-locality overhead.
- chrisseaton 7y agoIsn't work stealing excellent for locality? Jobs stay on the same core until there's a need to steal, and then the most likely non-resident jobs are taken. Is it even cache oblivious?
- BubRoss 7y agoWhy would it be high overhead if work is only stolen when a core has run out of work?