-t0 option for par2

Questions and bug reports for Beta releases should be posted here.
Forum rules
Help us help you:
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

-t0 option for par2

Post by neilt0 »

The multicore par2 thrashes my hard drive when verifying and is a lot slower than single-core par2 in verify passes for large RARs (50 or 100MB+).
Repairing is much faster multi-threaded, but for this reason, the -t0 option was added to TBB par2 (which I assume you're using?).
http://chuchusoft.com/par2_tbb/index.html

-t0 uses one thread to verify and then multiple threads to repair, which is the best option for my machine (2.4GHz Core2 Duo, 2GB RAM, SATA 7200RPM, XP)

Any chance you can add the t0 option (even if not in the interface, in the ini would be fine).

Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: -t0 option for par2

Post by shypike »

Maybe it's best to put the -t0 in always.
Is there any gain in using multi-core verification, as it is mostly disk-bound?

I must admit that I did not give that much thought when I added the new par2.
bpwats
Newbie
Newbie
Posts: 28
Joined: May 16th, 2008, 10:13 am

Re: -t0 option for par2

Post by bpwats »

Actually, it is not a good idea to put in -t0 always: in my case, it makes things worse.
I use a 2008 Mac Pro with it's standard startup drive (WDC WD3200AAJS S-ATA) running SABnzbD from source.
Typically, i download about 90 files of 50MB file size.

Repairing with -t0 new par2 64bits TBB

real 1m22.677s
user 1m9.813s
sys 0m4.884s

Repairing with -t+ new par2 64bits TBB

real 1m8.906s
user 1m14.471s
sys 0m5.303s

Verification time is worse than MacParDeluxe, which uses just under a minute.
However, the TBB-version performes much better in repairing. I reported this to chuchusoft about a month ago.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: -t0 option for par2

Post by shypike »

I'm adding a field in Config->Switches where you type in your own option ( -t- -t0 -t+ ).
Default is empty (so default behaviour).
Not ideal, but it's something.
User avatar
neilt0
Full Member
Full Member
Posts: 120
Joined: January 22nd, 2008, 4:16 am

Re: -t0 option for par2

Post by neilt0 »

Thank you!

Much appreciated.
Post Reply