Speed up PAR2 verify by doing it on the fly (and reduce disk trashing)

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • 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
numbipim
Newbie
Newbie
Posts: 8
Joined: May 5th, 2008, 4:26 am

Speed up PAR2 verify by doing it on the fly (and reduce disk trashing)

Post by numbipim »

I wanted to discuss a possible speed up with regard to PAR2 verify.

How about doing it immediately after assembling a file? That way, you can most likely load it straight from the disk cache, saving a lot disk trashing. Then sabnzbd can keep track of how many blocks it needs (possibly even giving up downloading if the available blocks are not enough?) and get them right at the end of the download and repair immediately instead of verify - fetch - verify again to repair?
User avatar
inpheaux
Administrator
Administrator
Posts: 563
Joined: January 16th, 2008, 9:14 pm

Re: Speed up PAR2 verify by doing it on the fly (and reduce disk trashing)

Post by inpheaux »

Shypike already has this on his to-do list, it just isn't something targeted for 0.4.0.
numbipim
Newbie
Newbie
Posts: 8
Joined: May 5th, 2008, 4:26 am

Re: Speed up PAR2 verify by doing it on the fly (and reduce disk trashing)

Post by numbipim »

Great, keep up the good work!

Exporting the queue into individual NZB files would be another great feature but by far not as important (mainly useful for upgrades I guess)
Last edited by numbipim on May 5th, 2008, 12:21 pm, edited 1 time in total.
nzb_leecher
Full Member
Full Member
Posts: 211
Joined: January 22nd, 2008, 1:38 pm

Re: Speed up PAR2 verify by doing it on the fly (and reduce disk trashing)

Post by nzb_leecher »

numbipim wrote: Great, keep up the good work!

Exporting the queue into individual NZB files would be another great feature but by far not as important (mainly useful for upgrades I guess)
They are already in your nzb backup dir why do you want that?
DeXeS
Release Testers
Release Testers
Posts: 206
Joined: January 28th, 2008, 1:04 pm
Location: The Netherlands

Re: Speed up PAR2 verify by doing it on the fly (and reduce disk trashing)

Post by DeXeS »

Think he means that while downloading that the nzb gets put in a special directory so if there is a update he doesn't lose his queue.

If you do mean that, you can backup your cache dir and if the upgrade went ok, shutdown sabnzbd+ and copy back the cache and start sabnzbd+.
numbipim
Newbie
Newbie
Posts: 8
Joined: May 5th, 2008, 4:26 am

Re: Speed up PAR2 verify by doing it on the fly (and reduce disk trashing)

Post by numbipim »

They are already in your nzb backup dir why do you want that?
Well they would be, if that was active by default. I forgot to set it up. Exporting the queue would solve that issue, I guess. Or I might just wait until it is empty :P
Post Reply