PerfMon CPU usage units?

562 views
Skip to first unread message

ala...@gmail.com

unread,
Jul 30, 2013, 9:34:18 AM7/30/13
to jmeter-...@googlegroups.com
Hi,

I've added the PerfMon Metrics Collector to my test plan and then added the CPU metric for my jetty process in the following way:
Metric to collect: CPU
Metric parameter: pid=6948

Server is running on 4x 2-core CPU VM (8 cores total).

Thus, in Jmeter I've got "Performance metrics" graph for CPU in *some* units, and have no idea how to convert it to % of CPU usage. Any suggestions?

See attached samples of PerfMon and a corresponding VisualVM graphs for example.

Thanks.
jmeter-cpu.png
visualvm-cpu.png

Andrey Pohilko

unread,
Jul 30, 2013, 11:18:10 AM7/30/13
to jmeter-...@googlegroups.com
Hi,

SIGAR lib treats each core on the server as 100%. So you have 8x100=800% of total CPU capacity. Not so graceful, but it treats each core's utilization independently.
180%/800%=0.225=22.5% in your visualVM.

вторник, 30 июля 2013 г., 17:34:18 UTC+4 пользователь Alex Nikulin написал:

Alex Nikulin

unread,
Jul 31, 2013, 7:00:32 AM7/31/13
to jmeter-...@googlegroups.com
It would be nice to have some "adjusted" metric, cause now it looks like the jmeter's CPU graph have almost no meaning without knowing all the SUT hardware details.

Also, there was an issue about labels/units missing on that graph (http://code.google.com/p/jmeter-plugins/issues/detail?id=46). Is it still actual?

Andrey Pohilko

unread,
Jul 31, 2013, 9:47:20 AM7/31/13
to jmeter-...@googlegroups.com
No, that issue is not actual and we don't accept new issues on Google Code anymore.

среда, 31 июля 2013 г., 15:00:32 UTC+4 пользователь Alex Nikulin написал:
Reply all
Reply to author
Forward
0 new messages