3 ms·
Is that possible? You can set priority to background and your process will be restricted to E cores, but last I checked other processes will favor P cores but w
by masklinn 3y ago
Is that possible? You can set priority to background and your process will be restricted to E cores, but last I checked other processes will favor P cores but will be spilled to E if everything is loaded. I also don’t remember an API to query the core layout (to only spawn as many workers as there are P cores).
But maybe that was added since?
- wtallis 3y agoIIRC there are sysctls that list the number of cores of each type, and their cache sizes. So an application can check how many P cores there are, and choose to only spawn that many threads.
- vlovich123 3y agoYeah but it just means that software needs to tweak some parameters on M3 to slow spilling to E cores. In fact, a good system would always spill to E cores ands just let completion rates drive acceptance of work stealing.