Re: [TEST/REVIEW] CPU accounting patches

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Wed, 25 Jan 2006 11:45:44 +0100
Poul-Henning Kamp <phk_at_phk.freebsd.dk> wrote:

> 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".

How large do you expect the error will be?

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander _at_ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild _at_ FreeBSD.org  : PGP ID = 72077137
Eternity is a terrible thought.  I mean, where's it going to end?
		-- Tom Stoppard
Received on Wed Jan 25 2006 - 09:52:48 UTC

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