-
Notifications
You must be signed in to change notification settings - Fork 20
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
Penumbra is getting high cpu usage even when not encrypting or decrypting #214
Comments
Interesting. I will definitely look into this next week, as we shouldn't be doing anything in the background without jobs running. If I had to guess, it could potentially be misreported usage due to idle worker overhead. |
This issue seems to be gone in Chrome 103 with Penumbra 6.0 |
If I had to guess this was overhead simply due to number of threads. It uses 1 thread per available logical CPU thread. The 3% CPU usage you were witnessing was likely OS overhead. The flame chart looks much better now in Chrome 103 though. |
Can be reproduced with a very small code on chrome 99:
Usually it uses high CPU for ~1min, but sometimes I see it going over an hour!
On FF does not seem to happen at all.
When profiling on Chrome, all I can see is a bunch of empty "Task" in the flame chart, without any JS code.
Any idea?
Thanks!
The text was updated successfully, but these errors were encountered: