3 ms·
macOS/iOS have API for marking jobs as background which will run on slow cores. And this API is used, AFAIK. I'm not sure if widely used Windows or Linux softwa
by vbezhenar 5y ago
macOS/iOS have API for marking jobs as background which will run on slow cores. And this API is used, AFAIK. I'm not sure if widely used Windows or Linux software routinely marks its threads for background jobs. I know that I never did that in my software.
- ing3ng 5y agoWell you could determine that from the priority of the process couldn't you?
- heavyset_go 5y agoOn both macOS and Linux, process scheduling goes further than just niceness. On macOS in particular, it has a concept of process priorities[1] and I/O policies, and the OS itself defines special priorities and policies for background processes. [1] https://www.manpagez.com/man/2/setpriority/ https://www.manpagez.com/man/2/setpriority/