Re: Idle priority
Re: Idle priority
- Subject: Re: Idle priority
- From: Jonas Maebe <email@hidden>
- Date: Thu, 30 Jul 2009 10:05:02 +0200
On 30 Jul 2009, at 06:41, Michael Smith wrote:
Or this task should only be run if the system has absolutely NOTHING
else (other than other tasks of the same priority) to do.
That's what the minimum regular priority is for. The system
reserves the right to decide that something else is even less
important.
You're making the usual mistake of thinking that your process is
somehow special, although in this case that it's somehow less
important than other unimportant things. Mark it as not
interesting, then let the system decide what to do about it.
I wanted to use it for distributed.net, which is similar to SETI@home.
The problem with letting the system decide what to about it, is that
in this case all other applications get severely slowed down. E.g.,
when only running one other application at regular priority, the cpu
time distribution appears to be about 40% for the nice -n 19 process
and 60% for the other. That made me stop running distributed.net,
because such a slowdown for regular apps was simply not acceptable to
me.
Jonas
_______________________________________________
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