Originally posted by caligula
View Post
Originally posted by caligula
View Post
; )
It's as if you're trying to turn a PC into a games console, meanwhile games consoles are trying to be more like PCs.
Anyway, work-stealing schemes like what TBB supports can already load-balance work without relying on context-switching.
https://www.threadingbuildingblocks....algorithm.html
The downside might be a bit more thrashing of L2, if related tasks operating on some shared data get handled by threads on different cores. I guess TBB has some notion of affinity, and you could also potentially mitigate this by tuning the granularity of said tasks.
Leave a comment: