LWN.net Logo

Accounting

Accounting

Posted Mar 16, 2007 1:13 UTC (Fri) by gdt (subscriber, #6284)
In reply to: Xorg by xav
Parent article: RSDL hits a snag

I'm not sure that blaming X11 is appropiate. Linux doesn't allow X11 (or any other 'system' process) to account its use of resources to the process that caused the resources to be used. Which is the way this sort of issue is handled in most non-UNIX operating systems.


(Log in to post comments)

Accounting

Posted Mar 17, 2007 2:39 UTC (Sat) by giraffedata (subscriber, #1954) [Link]

I don't know if these are the systems you're thinking of, but I know much more elaborate accounting is done by older operating systems that were designed to be used on equipment so expensive that it was necessary to break the cost down by application.

A nice byproduct of that is that you can do fairer scheduling -- mainly because you can use a useful definition of fair. The Unix concept that fair means each process gets an equal share is a very, very, rough idea of fair allocation of resources.

In addition to something where a server process takes its CPU time from its clients, I'd like to see something where a child process takes its CPU time from its parent.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds