Page 1 of 1

Wait until computer is idle to unRAR/PAR

Posted: August 5th, 2009, 3:14 pm
by crummy
I don't like it when my computer suddenly bogs down during a game when sabnzbd finishes a download.

I'd like to see a switch which would wait until my computer was idle (no mouse movement, or low CPU usage) before doing CPU intensive tasks (like unraring, paring, moving files).

Even better would be a third pause state - I could set sabnzbd to Paused, Unpaused, or Limited (or similar wording).

Re: Wait until computer is idle to unRAR/PAR

Posted: August 6th, 2009, 11:06 am
by doubledrat
would reducing the priority of your sab process help at all?  task manager/processes, right click on sabnzbd.exe and set the priority

Re: Wait until computer is idle to unRAR/PAR

Posted: August 6th, 2009, 11:48 am
by adaemox
doubledrat wrote: would reducing the priority of your sab process help at all?  task manager/processes, right click on sabnzbd.exe and set the priority
Doesn't Sabnzbd pass the extraction off to an unrar thread for extraction? Is there a way to set the priority on this as well?

Also, if you're downloading to the same hdd as you're loading/running stuff from that could be causing slow downs as well (i it does for me).

Re: Wait until computer is idle to unRAR/PAR

Posted: August 7th, 2009, 2:34 am
by shypike
unrar and par2 are already started with a lower priority.
However, even low-priority processes can easily saturate the disk channel, something
which both par2 and unrar are perfectly capable of.
This is simply a design error of Windows.
On Linux we use the ionice utility (if available), which lowers disk priority.
This is not available in Windows.
Only from Vista onwards, such features are available, but only when unrar and par2 are
modified to take advantage of that.

BTW: a "delay post-processing" feature is planned, but this will not be in the next (0.5.0) release yet.