I have a Python code with a loop that I run on my bash terminal. For some reason when I take a look at the task manager the CPU appears unstable:
The code is stuck for tens of seconds and then goes on. I work on Xubuntu and have 8 cores on my computer and using
multiprocessing in my Python code doesn't not solve the problem. So I suspect the problem comes from the OS rather than from my code, just a guess. Any idea?