-
Notifications
You must be signed in to change notification settings - Fork 90
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 utilisation figure for Pod is not cumulative #1336
Comments
Showing the CPU / Memory usage was a bit tricky for pods so we use the following solution: https://github.com/cockpit-project/cockpit-podman/blob/main/src/Containers.jsx#L488 So we just show the highest CPU usage of the shown containers as adding up CPU usage might show > 100% which might be weird/unexpected. |
IMHO, if it isn't cumulative, I would remove it completely as currently it is just redundant and misleading. |
Please don't use line refs on main (as these change all the time). This is stable: cockpit-podman/src/Containers.jsx Line 486 in 3c5c63e
I agree to this request -- the CPU usage should just be added up. It's correct to be > 100% on multi-CPU systems -- If that is a bother, podman could also normalize the number by dividing by but that is an independent request. |
The large CPU utilisation figure for a Pod seems to display what looks like the highest current use by one of the included containers and not the cumulative CPU utilisation like it does for the RAM use of the Pod.
As CPU use by individual containers is already displayed below, it makes the Pod figure quite redundant, but a cumulative figure would be nice to have if the Pod includes many containers.
The text was updated successfully, but these errors were encountered: