Re: [TEST/REVIEW] CPU accounting patches

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 25 Jan 2006 11:15:01 +0100
In message <20060125110927.dabpg50ls8o8gg4k_at_netchild.homeip.net>, Alexander Lei
dinger writes:

>Are you going to fix those issues for machines which do power saving tricks
>(which may even be useful on servers for some people, not only on laptops),
>or do you not intend to further work on this besides the patches you present
>here?

My plan is to add some code to measure and record the maximum "cpu_tick"
frequency we see, and use that to normalize the cpu accounting.

That way, the user/system time reported will get units of "cpu seconds
if the cpu ran full speed".

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Wed Jan 25 2006 - 09:15:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC