Page 1 of 1
Low priority for SABnzbd proccesses
Posted: May 5th, 2012, 12:58 am
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!
Re: Low priority for SABnzbd proccesses
Posted: May 5th, 2012, 3:57 am
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"?
Re: Low priority for SABnzbd proccesses
Posted: May 5th, 2012, 4:15 am
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.
Re: Low priority for SABnzbd proccesses
Posted: May 5th, 2012, 5:10 am
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.
Re: Low priority for SABnzbd proccesses
Posted: June 30th, 2012, 2:40 pm
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.
Re: Low priority for SABnzbd proccesses
Posted: June 30th, 2012, 2:58 pm
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
Re: Help With Categories
Posted: June 30th, 2012, 3:18 pm
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.