3 ms·
Can’t you use two shared thread pools, with threads affinity set to the big and little parts of the CPU, respectively? I think for most use cases runtime sched
by Const-me 6y ago
Can’t you use two shared thread pools, with threads affinity set to the big and little parts of the CPU, respectively?
I think for most use cases runtime scheduling is better than compile-time one. Because other processes sharing the hardware, and because tasks take unpredictable time, depends on almost everything including ambient temperature. Not to mention compilers don’t generally know count of cores, outside of a few niches like embedded, iOS and consoles games.