Re: penalty-imposing resource limits

From: Martin Waitz (
Date: Wed Nov 13 2002 - 15:03:53 EST

hi :)

On Mon, Nov 11, 2002 at 01:11:19AM -0500, ari wrote:
> my processor was experiencing heat-related problems. I dealt with
> this as any proactively lazy person would, in that instead of buying a
> new heat sink, i modified my kernel to deal with the issue, and wrote a
> small command-line program as an interface.

i'm currently working on similar problems for my diploma thesis.
i haven't looked at your code but i guess it'll get a little bit
more complicated...

i'm using resource containers as resource principal for accounting
of arbitrary resources (right now the code supports cpu usage
and an estimate of energy consumed by the cpu -- calculated
from the processors performance counters)

user can set arbitrary limits for resource usage of processes,
process groups, entire machine, you name it...

a friend of mine is working on messuring/estimating/controlling
cpu temperature based on this system as a semester thesis.

there are still a lot of rough edges everywhere but i hope
i can do some cleanup and be able to do a real release of the code
after my thesis is done (will happen early next year)
if there is interest, i can point to some code, but there's
no real doku yet...

CU,		  / Friedrich-Alexander University Erlangen, Germany
Martin Waitz	//  [Tali on IRCnet]  [] _________
______________/// - - - - - - - - - - - - - - - - - - - - ///
dies ist eine manuell generierte mail, sie beinhaltet    //
tippfehler und ist auch ohne grossbuchstaben gueltig.   /
Wer bereit ist, grundlegende Freiheiten aufzugeben, um sich 
kurzfristige Sicherheit zu verschaffen, der hat weder Freiheit 
noch Sicherheit verdient.
			Benjamin Franklin  (1706 - 1790)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:30 EST