Event based historical load average Implementation
Problem
In addition to the above, clock() is also responsible for periodically re-computing several historical load averages...specifically the CPU partition load averages, and the lgrp load averages. Calculating these averages when the system is idle or when the averages aren't needed (nobody is looking) is inefficient.
Approach
Gather and aggregate the data needed to generate these loads either at a sufficiently coarse granularity (once every few seconds), on demand, or both.
on 2009/10/26 12:17