Page 1 of 1

How to use "nice"?

Posted: March 25th, 2008, 4:29 am
by mcka
Hi!

I have SABnzbd running on my NAS (Synlology DS207), it works pretty good if I use a non-Ajax theme, but allways when it's verifying files or unpacking, the whole system becomes very slow (even downloading needs 30-60% CPU load on that 266 MHz PPC).

But when it unrars, other software becomes pretty slow too (load avg grows), e.g. samba shares. So I looked a th the code to see, if I could easily add the nice command somewhere, but it looks like, you already use nice. But originally my NAS has no nice, I have installed it to /opt/bin/nice using ipkg.

How can I make sure, that nice is used? I have added a symlink from /bin/nice to /opt/bin/nice, should that work? What is the nice level used for par2 and unrar? Can I change it?

best regards
mcka

Re: How to use "nice"?

Posted: March 25th, 2008, 4:55 am
by shypike
Nice level is now just the default value. It's embedded somewhere in the Python code.
We are looking at this for a future release.

Re: How to use "nice"?

Posted: March 25th, 2008, 6:45 am
by mcka
should it work with my symlink from /bin/nice to /opt/bin/nice ?

Re: How to use "nice"?

Posted: March 25th, 2008, 1:30 pm
by steve51184
to change the nice levels have a look at this post :)

http://forums.sabnzbd.org/http://forums ... 1691#p1691