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 Graph showing greater than 100% #125

Closed
egeexyz opened this issue Jan 3, 2018 · 3 comments
Closed

CPU Graph showing greater than 100% #125

egeexyz opened this issue Jan 3, 2018 · 3 comments
Assignees

Comments

@egeexyz
Copy link

egeexyz commented Jan 3, 2018

I'm running Cockpit on my server where I run a small cluster of Docker containers. The resource usage I am seeing in Cockpit does not match the usage which Docker is reporting, nor the usage that htop is reporting.

Here's a set of screenshots of what I am seeing - https://imgur.com/a/k5km6

The only way the Cockpit numbers would make sense is if 100% = 1 full core. But that is misleading at best. If that is the case, I would consider this a bug as that is a relatively uncommon way of calculating CPU usage.

Use case - I've got a 12 core CPU, so it shows the max usage at 1200%? That is just silly.

@mvollmer
Copy link
Member

mvollmer commented Jan 8, 2018

The only way the Cockpit numbers would make sense is if 100% = 1 full core.

Yes. that's the idea. I think it comes from the 'top' command, which defaults to this ("Solaris" mode) for %CPU of individual processes.

But that is misleading at best. If that is the case, I would consider this a bug as that is a relatively uncommon way of calculating CPU usage.

I agree.

@mvollmer mvollmer self-assigned this Jan 8, 2018
@mvollmer
Copy link
Member

mvollmer commented Jan 8, 2018

(Oh, a better place to report this is https://github.com/cockpit-project/cockpit/issues. Is there a way to move issues on Github? We can cope either way, of course.)

@egeexyz
Copy link
Author

egeexyz commented Jan 8, 2018

Oh shoot, I didn't realize this was the issue tracker for the website.. I'll repost this issue on the issue tracker you posted above. Thanks!

@egeexyz egeexyz closed this as completed Jan 8, 2018
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

2 participants