Page 1 of 1

Priority of unrar'ing (and PAR'ing)

Posted: May 13th, 2008, 12:58 am
by Peter_Pan
Hi

I would like to see a new switch added (if it can be done) to handle the priority of unrar'ing.

Such a switch might already exist in unrar.exe:
ri[:]   Set priority (0-default,1-min..15-max) and sleep time in ms

(I dont need the sleep time function - just the priority)

****

Actually what I want to do is to be able to set the priority of unrar'ing to low priority (background?) in order not to slow down my entire system while unrar'ing. The current default mode of unrar.exe is HIGH I guess.

A similar switch for PAR-checking would be nice too.

Ohhh and while I am at it:
A pause function -> a "do not download this queued job"-option would be nice too.
;D

Regards
Peter_Pan

Re: Priority of unrar'ing (and PAR'ing)

Posted: May 17th, 2008, 3:47 am
by methanoid

Re: Priority of unrar'ing (and PAR'ing)

Posted: March 2nd, 2009, 7:53 pm
by Napsterbater
I know this is old but I would also like this feature. (A settable priority)

with 0.4.7 it is set to low, but in my case I need it set to "below normal" due to my Boinc Client running in the background which is set to low.

Re: Priority of unrar'ing (and PAR'ing)

Posted: March 3rd, 2009, 6:08 am
by shypike
Priority isn't such an issue for unrar.
The only priority Windows supports is CPU-priority.
This isn't very important for program like unrar, because is mostly disk-bound.
Even a program that has a low priority can easily saturate the disk channel.
In practice this is the main reason people find their systems slow
when multiple programs are active.

CPU-priority is a concern when doing a par2-repair,
so for par2 it may make more sense to have user-settable priority.

Windows does not support disk priority (unlike Linux, which has ionice).

I'll discuss the  option to have a unrar "additional parameter" box.
Maybe the "sleep" argument in the -ri option is of any use.

Re: Priority of unrar'ing (and PAR'ing)

Posted: March 3rd, 2009, 10:14 am
by switch
We have a ticket for this enhancement, see: http://trac2.assembla.com/SABnzbd/ticket/229

Will not be in 0.5, maybe a 0.5.x release however.

Re: Priority of unrar'ing (and PAR'ing)

Posted: March 4th, 2009, 12:33 pm
by Napsterbater
shypike wrote: I'll discuss the  option to have a unrar "additional parameter" box.
Maybe the "sleep" argument in the -ri option is of any use.
They should add areas for rar and par, both are getting slowed down because of boinc. Par goes from 13secs with boinc paused to 70secs (on a 350meg file) and un-rar goes from 67secs to 209secs again for a 350 meg file. Not really bad for small files but lagers ones on the other hand.

Also do the scripts get launched in low priority as well?