Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2006 11:15:01 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        arch@freebsd.org, current@freebsd.org
Subject:   Re: [TEST/REVIEW] CPU accounting patches 
Message-ID:  <28985.1138184101@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 25 Jan 2006 11:09:27 %2B0100." <20060125110927.dabpg50ls8o8gg4k@netchild.homeip.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20060125110927.dabpg50ls8o8gg4k@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28985.1138184101>