[TEST/REVIEW] CPU accounting patches

Ian FREISLICH if at hetzner.co.za
Wed Jan 25 22:06:45 PST 2006

"Poul-Henning Kamp" wrote:
> In message <E1F1kOm-000FY2-8Z at hetzner.co.za>, Ian FREISLICH writes:
> >"One second's worth of the computer's processing time, which is
> >based on actual machine cycles used, not calendar time." ?
> >
> >Is the getrusage() manual page out of date?
> Yes.
> It was written before anybody had gotten the rather weird idea to
> have a CPU change frequency.  Back then it was all about running
> as fast as possible all the time.
> We are therefore forced to try to divine the intent behind the text,
> and as somebody who were around back in the eighties I can testify
> that the intent was to be able to bill computer users for CPU
> instructions.

I wonder how many people still bill for CPU time?  I'd go for the
faster context switches.


Ian Freislich

More information about the freebsd-current mailing list