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

Incorrect data(CPU utilization) for KVM and Host in CentOS 7 #29

Open
MyungChi opened this issue Nov 1, 2018 · 0 comments
Open

Incorrect data(CPU utilization) for KVM and Host in CentOS 7 #29

MyungChi opened this issue Nov 1, 2018 · 0 comments

Comments

@MyungChi
Copy link

MyungChi commented Nov 1, 2018

I test with Host sFlow as below environment.

  • Host OS : CentOS 7.3 with KVM (4 core)
  • Guest OS : CentOS 7.3 ( 2 vcore )
  • hsflowd-2.0.15-1.x86_64 is installed in Host OS

I generate overhead with stress tool. (yum install stress)

  • Guest OS CPU is shown 50% with top.
  • Host OS CPU is shown 25% with top.

I checked with sflowtool collected counter information from hsflowd.

In case of Host OS
cpu_load_one 1.320
cpu_load_five 1.330
cpu_load_fifteen 1.090

In case of Guest OS
delta of CPU time(30 sec) = 1060630 - 1095300 = 69340
69340 / 30000 = 2.315

Is this collect ? I can't sure is it right way to get CPU utilization.

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

1 participant