Low priority for SABnzbd proccesses

Want something added? Ask for it here.
Post Reply
Arman_UV
Newbie
Newbie
Posts: 11
Joined: August 20th, 2010, 8:34 pm

Low priority for SABnzbd proccesses

Post by Arman_UV »

I have a relatively powerful machine (2011 Macbook Pro 2.2 quad i7 8GB) but I still experience lag in HD media playback when SABnzbd is unpacking/repairing a download. I can manually workaround this by using the renice command to assign a low priority to the offending proccess. However, I have to do this everytime a download starts unpacking.
I'm wondering if we could have an option in Sabnzbd settings to assign low priority to unpacking/repairing processes.
Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Low priority for SABnzbd proccesses

Post by shypike »

SABnzbd on OSX already uses "nice" to tame par2 and unrar.
You can tune "nice" in Config->Switches.
Unfortunately OSX lacks the "ionice" to tame disk usage as well,
which is very useful controlling par2 and unrar.
What does "renice" add to the current support of "nice"?
Arman_UV
Newbie
Newbie
Posts: 11
Joined: August 20th, 2010, 8:34 pm

Re: Low priority for SABnzbd proccesses

Post by Arman_UV »

shypike wrote:SABnzbd on OSX already uses "nice" to tame par2 and unrar.
You can tune "nice" in Config->Switches.
Unfortunately OSX lacks the "ionice" to tame disk usage as well,
which is very useful controlling par2 and unrar.
What does "renice" add to the current support of "nice"?
Oh nice! (no pun intended). I don't know how I missed that.
According to wiki, the correct syntax is "-n10" instead of the usual "-n 10". Is that correct?
renice is basically re+nice. It is used to change the priority of a process that is already started. nice is used to start a process with the defined priority value.

Thanks for your help.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Low priority for SABnzbd proccesses

Post by shypike »

Arman_UV wrote: According to wiki, the correct syntax is "-n10" instead of the usual "-n 10". Is that correct?
Both will work.
willgonz
Newbie
Newbie
Posts: 3
Joined: June 11th, 2012, 7:37 pm

Re: Low priority for SABnzbd proccesses

Post by willgonz »

I am running SABNZB, SickBeard, PlexMedia Server and Plex Player on a Mac Mini Core 2 Duo. I tried -n 10 for the IONice parameter and it still shutters video playback when the unarchive process is going on.

I am new to using the IOnice parameter. Can I reduce it's priority even more but changing the number to like -n 20 ,30 or 50....etc?

Thanks.
User avatar
sander
Release Testers
Release Testers
Posts: 9062
Joined: January 22nd, 2008, 2:22 pm

Re: Low priority for SABnzbd proccesses

Post by sander »

willgonz wrote:I am running SABNZB, SickBeard, PlexMedia Server and Plex Player on a Mac Mini Core 2 Duo. I tried -n 10 for the IONice parameter and it still shutters video playback when the unarchive process is going on.

I am new to using the IOnice parameter. Can I reduce it's priority even more but changing the number to like -n 20 ,30 or 50....etc?

Thanks.
Somewhere else on the forum, someone has used "cpulimit" on his Linux system. With cpulimit you can limit the CPU percentage of a process. So maybe you can find cpulimit for OS X? If not, here's the source https://github.com/opsengine/cpulimit

HTH
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Help With Categories

Post by shypike »

willgonz wrote:I am running SABNZB, SickBeard, PlexMedia Server and Plex Player on a Mac Mini Core 2 Duo. I tried -n 10 for the IONice parameter and it still shutters video playback when the unarchive process is going on.

I am new to using the IOnice parameter. Can I reduce it's priority even more but changing the number to like -n 20 ,30 or 50....etc?

Thanks.
As far as I know, there is no ionice tool for OSX.
Post Reply