Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process priorities



On dinsdag, september 17, 2002, at 02:51 , James Whitwell wrote:

I've noticed if I run 2 CPU-bound processes (for testing, 2 copies of
seti@home), leave one at the normal priority and nice 20 the other, the
nice'd process still consumes about 40% of CPU (this is with 'ps l' -- 'top'
shows about 20%). I thought that setting nice 20 would mean the process
would run only when nothing else was running -- is that right?

It's right under Linux and probably under most *nix OS'es, but not under Darwin (at least not under 5.x and below, I don't know whether this had been changed in 6.x). Under Darwin, priority 20 simply means "a very low priority" (which is still dynamically adjustable).


Jonas
_______________________________________________
darwin-userlevel mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-userlevel
Do not post admin requests to the list. They will be ignored.

References: 
 >Process priorities (From: James Whitwell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.