OpenSolaris

Printable Version Enter a New Search
Bug ID 6718194
Synopsis prstat reports incorrect %cpu on quad core amd systems
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:arch-x86
Keywords rtiq_reviewed
Responsible Engineer Sudheer Abdul-salam
Reported Against s10u4_04
Duplicate Of
Introduced In solaris_8
Commit to Fix snv_102
Fixed In snv_102
Release Fixed solaris_nevada(snv_102) , solaris_10u7(s10u7_03) (Bug ID:2170355)
Related Bugs 4260450 , 6861585
Submit Date 24-June-2008
Last Update Date 1-December-2009
Description
The customer was replacing their dual core amd systems with quad core amd boxes.
They keep these systems behind a load balancer and generally the peak time load
varies from 16 to 25% of cpu time. They have tools that use the %cpu reported by
prstat and uses it for various purposes. After moving to quad core systems they
noticed a sudden dip in the %cpu time reported by prstat. Around 400 systems were
place and majority of them showed this problem while a few of them reported the
%cpu through prstat correctly. On analyzing it i found it indeed is a problem that though
the load is around 20%, prstat reports the httpd process uses only 1 to 2%..
Correlating to mpstat and vmstat output, and also looking at the output of
prstat -m, it's very clear that the cpu utilization % should be definitely much above 1%
(somewhere close 12%). Some of those outputs are attached.
Work Around
N/A
Comments
N/A