sflow / host-sflow

host-sflow agent
http://sflow.net
Other
146 stars 55 forks source link

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

Open MyungChi opened 5 years ago

MyungChi commented 5 years ago

I test with Host sFlow as below environment.

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

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.