linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Processor priority in the scheduler (entry in /proc ?)
       [not found] <20010715211107.A22691@hal9000.piraos.com>
@ 2001-07-15 20:30 ` German Gomez Garcia
  0 siblings, 0 replies; only message in thread
From: German Gomez Garcia @ 2001-07-15 20:30 UTC (permalink / raw)
  To: Mailing List Linux Kernel

	Hello,

 I would like to know if there is any patch available that implement some
kind of interface under /proc to set the priority of each processor (in SMP)
in the scheduler. I would like to make a daemon that monitor the temp
sensors and fan speeds, so it can keep both of them at the lowest temp by
setting priority to the cooler processor. Even it could be possible to
really stop one processor making it almost impossible to "win" in a
scheduler competition between the two (or more processor). This way you can
prevent damage if one of the fans get broken. I'm sure other people would
find interesting uses for such an interface to the kernel.

 And such an interface should be trivial (or at least quite easy :-) to
implement. Even just a /proc/sys/kernel/scheduler directory with entries for
each processor (0,1, etc) and a number (say from 0 to 65535 ?) originally
set equal for all and writable by root ... that denote some kind of weighted
probabilty to choose that processor, with 0 means no posibility, and be sure
that not all of them are 0 simultaneously. 

	Regards,

	- german

PS: Please CC to me as I'm not subscribed to the kernel list.
-------------------------------------------------------------------------
German Gomez Garcia          | Send email with "SEND GPG KEY" as subject 
<german@piraos.com>          | to receive my GnuPG public key.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-15 20:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20010715211107.A22691@hal9000.piraos.com>
2001-07-15 20:30 ` Processor priority in the scheduler (entry in /proc ?) German Gomez Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).