Here's an update of my #95 "Sunfish severely slows down my PC". The fix in that Issue still works, but now i have another question about memory usage and cpu : while playing chess games in CuteChess, i discovered that Sunfish (newest 2023) seems to keep using cpu after the game was finished !? :
Just after the game was finished, the cpu percentage was about 32 .. while keeping CuteChess GUI open, the Sunfish pypy process didn't really end it seems .. the percentage goes down very slowly .. but regular about 0.1 % each 20 seconds or so .. the 'Resident Memory' also very slowly decreases. Note: i didn't ever check this behaviour with any other Python (chess engine) process yet.
what's happening ?
how should i interpret that 'remaining' cpu percentage ?
Here's an update of my #95 "Sunfish severely slows down my PC". The fix in that Issue still works, but now i have another question about memory usage and cpu : while playing chess games in CuteChess, i discovered that Sunfish (newest 2023) seems to keep using cpu after the game was finished !? :
Just after the game was finished, the cpu percentage was about 32 .. while keeping CuteChess GUI open, the Sunfish pypy process didn't really end it seems .. the percentage goes down very slowly .. but regular about 0.1 % each 20 seconds or so .. the 'Resident Memory' also very slowly decreases. Note: i didn't ever check this behaviour with any other Python (chess engine) process yet.
what's happening ? how should i interpret that 'remaining' cpu percentage ?
btw. screenshot from the rather nice tool Stacer, some Task Manager to examine running processes, see https://github.com/oguzhaninan/Stacer
[i'm on Xubuntu 22.04]