Changing "Nice" value to eliminate CPU spikes?

For seeking technical help with Digital Performer and/or plug-ins on MacOS.

Moderator: James Steele

Forum rules
This forum is for seeking solutions to technical problems involving Digital Performer and/or plug-ins on MacOS, as well as feature requests, criticisms, comparison to other DAWs.
Post Reply
User avatar
bradycline
Posts: 36
Joined: Sun Jan 30, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Hawaii
Contact:

Changing "Nice" value to eliminate CPU spikes?

Post by bradycline »

Anyone else following this thread on logicprohelp.com ?

The good stuff starts here: http://logicprohelp.com/viewtopic.php?t=16909&start=11
"...it is just telling scheduler (the OS part that gives CPU time to processes/threads) - to favor Logic, or anything that has high priority. ..."

They are ecstatic over there with the success they are having eliminating CPU spikes/overloads - something DP users would love too. Have you already tried this with DP? Could be great for us too.
User avatar
sdemott
Posts: 691
Joined: Mon Oct 25, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Connecticut
Contact:

Post by sdemott »

I do this with very large sessions, but for average sessions I don't. I used to do the same with Pro Tools.

It's a standard UNIX utility - but it resets itself after the program is quit or a logout or reboot occurs.
-Steve
Not all who wander are lost.
bjornln
Posts: 590
Joined: Sat Jan 21, 2006 1:43 pm
Primary DAW OS: Unspecified

Post by bjornln »

Please be aware YMWDV when you start to play with Nice...
Just because "this" project works great, doesn't mean that project works as soon as you add a new plugin or VI to your project. Also, if you are too adventurous playing with nice, you may have to do a reset or wait well into next week in order to save & quit DP.
... said someone who was too nice once in the olden UNIX days...


On the other hand you just need to restart DP (or worst case, reboot the mac).


/B
Macmini M1 | Motu 828mk3 x 1 | 2 x Motu M64 & SSL XLogic Alpha-Link MADI AX | 2 x Motu MTP AV | OSX 12.6.x | DP 11.x | Mach5 3.x.x | 2xiLok | 2xUAD quad dsp card | Altiverb 7.x | SoundToys | Nomad factory | PSP | Arturia V-collection | Korg VI's |
and loads n' loads n' loads n' loads n' loads o' stuff.
User avatar
sdemott
Posts: 691
Joined: Mon Oct 25, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Connecticut
Contact:

Post by sdemott »

Nice simply sets a priority for the process in question - it's really not dangerous if you are only playing with processes in userspace (non-root or system level processes). The priority range is -20 (highest priority) to 20 (lowest priority) with standard priority being 0.

The great failsafe is that Nice is temporary and resets after the process in question has been halted (quitting DP for instance).

Of course, when playing in terminal you want to be careful, but nice is one of the more benign utilities. Not nearly as bad as 'sudo rm -r *' :shock:
-Steve
Not all who wander are lost.
bongo_x
Posts: 1455
Joined: Sun May 15, 2005 10:01 pm
Primary DAW OS: MacOS

Post by bongo_x »

sdemott wrote: ...Not nearly as bad as 'sudo rm -r *' :shock:
that will really clean things up though.

bb
User avatar
sdemott
Posts: 691
Joined: Mon Oct 25, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Connecticut
Contact:

Post by sdemott »

bongo_x wrote:
sdemott wrote: ...Not nearly as bad as 'sudo rm -r *' :shock:
that will really clean things up though.

bb
Nothing as smooth and fast as an empty HD!

LOL! :lol:
-Steve
Not all who wander are lost.
Post Reply