Idle priority
Idle priority
- Subject: Idle priority
- From: Mike Mimic <email@hidden>
- Date: Tue, 28 Jul 2009 23:44:12 -0700 (PDT)
Hi!
Is it possible to make a program run under "idle priority" scheduling class? So I would like to make program run just and only if there are spare cycles on the system. Nice does not change this (even the program with nice set to 20 have some (10% of normal value on 100% loaded CPU?) cycles) in this way as it just change priority inside a normal priority class and does not change priority class itself (which would mean that processes in higher priority classes would be scheduled first until there are any).
Maybe something like this:
http://www.gsp.com/cgi-bin/man.cgi?section=1&topic=rtprio
"A process with an idle priority will run only when no other process is runnable and then only if its idle priority is equal or greater than all other runnable idle priority processes."
Here it is written that there exists "the lowest priority":
http://www.macdesign.net/academic/it4813/it4813-Submitted/IT4813-u06d1-Scheduling_Methods.html
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden