Benches macOS

6

renice not working on Leopard?

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Wondering if anybody else has seen issues with "renice" not doing what it is supposed to do?

I used to run BOINC (think "SetiAtHome") applications on my Mac. These apps usually run with postivie "niceness", meaning that they soak up all otherwise unused CPU cycles. On Tiger, Activity Monitor used to show in fact a non-zero "% Nice" value when I had BOINC running.

Since upgrading to Leopard, BOINC is running with 0 "niceness" and Activity Monitor always shows a "0" for "% Nice". This means that BOINC is now more aggressively competing for CPU cycles with other applications, creating a noticeable drag on the system.

I've also tried launching a CPU intensive app from the command line and then using "renice" to change its "niceness" level, to rule out any BOINC compatibility issues with Leopard. The "renice" command does not fail, but it seems to be completely ignored and does not do anything to change a processe's "niceness".

Has anybody else seen this or am I missing something here?

BTW: Did an "Archive and Install". Observed this behavior on an "Early 2006" iMac, as well as on an 1.83 GHz Macbook (but I'd not recommend running something like BOINC on a notebook anyways... ;-))

thanks,

ceci

6 replies

Sign in or join Beachball Help to reply.

  1. 0

    tgbauer

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I noticed the same issue. BOINC 5.10.28 doesn't slow down the system as much, but it still doesn't register as a "nice" process in "Activity Monitor". I even ran the unix renice command and wasn't able to make a process show up as "nice".

  2. 0

    AstraPoint

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I have encountered the same problem. BOINC is either not setting Leopard job priorities to play "nice," or Leopard is not adjusting the job priorities as instructed by BOINC. Since BOINC worked "nice" under Tiger, I have to assume that Leopard changed something. A further indication that priority scheduling within Leopard is not working is the fact that the UNIX command "renice" seems to do nothing in Leopard.

    It appears that the only solution is to wait for a fix from Apple.

    Does anyone have any other thoughts or suggestions?

  3. 0

    hauerdie

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Renice is still working, but not the display in the activity monitor.

    If you ps -l you can see the priority, but it looks like there where some changes. PRIO_MIN and PRIO_MAX ist not -20 and +20 anymore. There is a much finer grade now.

    Are there any docs about it, i have not found any, the man page of renice is also the old one.

  4. 0

    Mike Connelly

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    How do you guys get activity monitor to show the nice setting? I don't see it as a view option anywhere in that app.

  5. 0

    hauerdie

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi,

    first, forget everything except the fist sentence of my last post, mixed up something 😉

    In the CPU page of activity monitor, below the processes you will see % User, % System and % Nice for the selected process and its allways 0.00. There is no option to show it in the process table, which is not nice.

  6. 0

    Mike Connelly

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    That's odd, in tiger, my AM has the CPU window option greyed out, I can't open it. I'll have to see if it works in 10.5.