-
Notifications
You must be signed in to change notification settings - Fork 2
The kernel CPU usage is not correct #11
Comments
ipython/ipykernel#937 is opened to fix this issue. The kernel CPU returns a correct value (e.g. 99%) |
Great! Can we add a Also, the HOST CPU section maybe should show Can you confirm if this data is only asked for when the widget is visible on the page? I.e. if this causes issues for some reason, the user can just hide the widget and it won't request anything. |
Sure, will do.
Makes me think my laptop has 16 cores which sounds inline with the shown figures :) The title could be
Sorry, I don't understand. Is
If the widget is hidden, the data fetching will still occur. Actually it is even less sub-optimal. All kernels are fetched on a scheduled basis. If this is needed, I can think on how to only fetch the selected notebook notebook/kernel, and not fetch if the panel is hidden. |
In the count, yes - https://psutil.readthedocs.io/en/latest/#psutil.cpu_count
This sounds much safer |
This depends on ipython/ipykernel#948 |
Closing as fixed by ipython/ipykernel#948 |
The host CPU is correctly show, but the kernel CPU is not. This is also mentioned in jupyter-server/jupyter-resource-usage#107
Based on a few experiments with
psutil
, it looks like the issue is in psutil or how we use psutil.The text was updated successfully, but these errors were encountered: