Collect real process and processor utilization values when virtualization is enabled.
Manish Ahuja
ahuja at austin.ibm.com
Fri Feb 4 17:06:12 EST 2005
Cleaned up version .... Renamed variables... etc
-----------------------
There is a requirement to collect real usage values of each partition in
LPAR environment
on pseries as well as iseries.
This patch enables that feature. The current purr (processor Utilization
register )
values of each of the processors is stored in a per_cpu data array. this
is then
summed and used to calculate various numbers for managing lpars.
The patch also calculates how much real cpu time each process uses and
stores this value
in a ppc64 specific struct. The value is needed by CKRM to do further
calculations.
Signed-off-by: Manish Ahuja <ahuja at austin.ibm.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch4.txt
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050204/d0313236/attachment.txt
More information about the Linuxppc64-dev
mailing list