Re: [TEST/REVIEW] CPU accounting patches



"Poul-Henning Kamp" wrote:
> In message <E1F1kOm-000FY2-8Z@xxxxxxxxxxxxx>, 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

--
Ian Freislich
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [TEST/REVIEW] CPU accounting patches
    ... >>We are therefore forced to try to divine the intent behind the text, ... >>that the intent was to be able to bill computer users for CPU ... with CPU usage billed in CPU cycles used. ...
    (freebsd-arch)
  • Re: [TEST/REVIEW] CPU accounting patches
    ... >>We are therefore forced to try to divine the intent behind the text, ... >>that the intent was to be able to bill computer users for CPU ... with CPU usage billed in CPU cycles used. ...
    (freebsd-current)
  • Re: [TEST/REVIEW] CPU accounting patches
    ... > that the intent was to be able to bill computer users for CPU ... Ian Freislich ...
    (freebsd-current)
  • Re: sched_domains SD_BALANCE_FORK and sched_balance_self
    ... Intent and implementation match. ... > CPU on the same node as the parent in order to stay close to it's memory. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [TEST/REVIEW] CPU accounting patches
    ... 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. ... changing the results of rusage is going to result in many years of questions to the mailing lists and grumbling from uneducated sysadmins that FreeBSD is somehow inferior because of this one detail. ...
    (freebsd-arch)