3 ms·
> Maybe the kernel has some subtle good reason to do it I think OSes spread load across cores to prevent unequal heating across the chip.
by JW_00000 6y ago
> Maybe the kernel has some subtle good reason to do it
I think OSes spread load across cores to prevent unequal heating across the chip.
- chrisseaton 6y agoHmm that’d be a disaster for cache I think that’s extremely unlikely but I’m not an OS expert.
- CyberDildonics 6y agoYou are comparing something that happens on the scale of multiple seconds to something that happens on the scale of microseconds.
- pjmlp 6y agoIf you want a process to stay put in a specific core, you need to ask the OS for it, however this might still influence the performance, as naturally there are other processes running there and the OS cannot honour the request if everyone does the same. However it already improves not copying the process context across all cores. I used this to good effect back in the Windows NT/2000 days, whose scheduler wasn't that smart about when to move processes across cores.