nice configure

Jordan K. Hubbard jkh at apple.com
Sat Jan 10 13:55:37 PST 2009


On Jan 10, 2009, at 11:22 AM, Joshua Root wrote:

> I just tested on 10.5.6 by running 'nice nbench', and both Activity
> Monitor and top show it using ~99% CPU...

A processes' nice factor can generally only be seen to produce results  
when there is enough contention for CPU resources that it *needs* to  
be "nice".  If there's little to no contention for CPU, however, then  
the nice'd process is still going to get pretty much whatever it asks  
for.

A much more realistic test would be to run n CPU-hungry processes,  
where n is > the number of cores you have, and then nice one of them.

- Jordan



More information about the macports-dev mailing list