Priority of unrar'ing (and PAR'ing)

Want something added? Ask for it here.
Post Reply
Peter_Pan
Newbie
Newbie
Posts: 21
Joined: May 4th, 2008, 7:01 am

Priority of unrar'ing (and PAR'ing)

Post 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
Last edited by Peter_Pan on May 13th, 2008, 1:08 am, edited 1 time in total.
methanoid
Jr. Member
Jr. Member
Posts: 66
Joined: March 7th, 2008, 6:33 am

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

Post by methanoid »

Napsterbater
Release Testers
Release Testers
Posts: 34
Joined: March 2nd, 2009, 7:48 pm
Location: Milledgeville, GA, US

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

Post 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.
ASUS M4A79T Deluxe | AMD Phenom II x3 (unlocked to x4) 720 BE AM3 @ 3.41Ghz(OC) | 4Gb DDR3 Memory @ 1600mhz | Sapphire ATI HD4870 1GB 800mhz/1000mhz(OC) | 2x500GB HDD's Raid 0 | Windows 7 Ultimate x64 | Windstream DSL 12m (14.9m Sync)/600k (766k Sync)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

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

Post 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.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

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

Post 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.
Napsterbater
Release Testers
Release Testers
Posts: 34
Joined: March 2nd, 2009, 7:48 pm
Location: Milledgeville, GA, US

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

Post 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?
ASUS M4A79T Deluxe | AMD Phenom II x3 (unlocked to x4) 720 BE AM3 @ 3.41Ghz(OC) | 4Gb DDR3 Memory @ 1600mhz | Sapphire ATI HD4870 1GB 800mhz/1000mhz(OC) | 2x500GB HDD's Raid 0 | Windows 7 Ultimate x64 | Windstream DSL 12m (14.9m Sync)/600k (766k Sync)
Post Reply