On Mon, 21 Sep 2020 12:06:27 -0700
stan <upaitag(a)zoho.com> wrote:
It's been a while (6 months?) since I ran a python program that
uses a
100% cpu core for hours. The last time I ran it, the task would
migrate from core to core to core, every second or so. I could see
it doing so in the various tops.
Now, it runs on only one core, and doesn't move.
This is more efficient from a computing perspective because there
aren't as many task switches, but it means that the core that is
running gets very hot. Since the rest of the cores are idle, I would
like to switch back to the previous behavior for this reason. Can
someone tell me how?
A quick follow-up: I am running kernel 5.9 rc8 and this seems to be
working again. I see the single python task switching cores
approximately every 5 - 10 seconds; perfect!