Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU % remains after game ended #109

Open
tissatussa opened this issue May 2, 2023 · 0 comments
Open

CPU % remains after game ended #109

tissatussa opened this issue May 2, 2023 · 0 comments

Comments

@tissatussa
Copy link

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 !? :

sunfish-keeps-pypy-process-alive-see-percent-cpu

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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant