Collect real process and processor utilization values when virtualization is enabled.

Manish Ahuja ahuja at austin.ibm.com
Wed Jan 12 12:08:13 EST 2005


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: patch
Url: http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050111/b931e9b9/attachment.txt 


More information about the Linuxppc64-dev mailing list