-
Notifications
You must be signed in to change notification settings - Fork 95
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
The PyPhi package may have CPU leaking #28
Comments
I run the |
Hello, Can you give more details? The information in your issue is not sufficient to address the problem. Please provide your:
Also, just to be clear: are you sure you mean CPU leakage and not memory leakage? I've never heard of CPU leakage. |
I will provide more information soon. And yes, I mean CPU leakage not memory leakage. |
Thanks. In that case, could you please also clarify what you mean by that term? |
It seems the PyPhi is using multiple threads to do computation. But when you finished a Phi computing, some threads may not stoped and still using CPU. |
You can try this program and you will see the time cost is growing. While I'm always doing the same computing:
|
|
Thank you. It appears that this is related to parallel cut evaluation. Can you please confirm that there is no increase in computation time when you set |
Yes! The time cost does not grow after setting |
When repeatly run
pyphi.compute.phi(subsystem)
, the CPU using is continue growing and the program speed is contiune slowing down.The text was updated successfully, but these errors were encountered: