Page 1 of 1
0.71 and multicore par2
Posted: July 17th, 2012, 8:56 am
by monkey
I've just reinstalled and finally got round to installing the multicore version of par2, which from the command line is fine.
However, sabznbd has the "enable multicore par2" box greyed out. I've stuck -t0 in the par2 options section. Should this be enough?
Not quite sure why sabznbd doesn't see it as the multicore version (located in the defaults of /usr/bin/par2 and /usr/bin/X11/par2)
Running Ubuntu 12.04/12.10 with the same effect. Any ideas or should I just ignore it as I've specified it manually?
Cheers
Re: 0.71 and multicore par2
Posted: July 17th, 2012, 9:47 am
by shypike
Only for OSX and Windows do we deliver par2 binaries, so there's something to choose.
For Linux, the pre-installed par2 is used.
It's up to you to make sure the multi-core par2 has the name "par2" and will be found
on the $PATH before the single core version.
Re: 0.71 and multicore par2
Posted: July 17th, 2012, 10:05 am
by monkey
shypike wrote:Only for OSX and Windows do we deliver par2 binaries, so there's something to choose.
For Linux, the pre-installed par2 is used.
It's up to you to make sure the multi-core par2 has the name "par2" and will be found
on the $PATH before the single core version.
It has the name par2 and if I run the command par2 with no parameters from the terminal it shows the -t.... as options so the system is seeing it, just not sabnzbd.
Re: 0.71 and multicore par2
Posted: July 17th, 2012, 10:07 am
by shypike
First, did you restart SABnzbd?
Does SABnzbd receive the same $PATH variable as your command prompt?
How is SABnzbd started?
How do you know the new par2 isn't used?
Re: 0.71 and multicore par2
Posted: July 17th, 2012, 12:27 pm
by monkey
Yes I restarted SABnzbd
As far as I can tell the $PATH matches what I recieve in SABnzbd
It is an upstart service and has been restarted by sudo service sabnzbdplus restart
I don't know if the multicore version is being taken advantage of, but I would have thought that either the tickbox would be availible once it had detected the multicore version, or if not that someone would be able to tell me that adding the extra parameters to the par2 section would be enough to kick it in to touch.
Re: 0.71 and multicore par2
Posted: July 17th, 2012, 12:42 pm
by exussum
download a big broken file - while sab is repairing check top, If its above 1 its likely using more than 1 core
Re: 0.71 and multicore par2
Posted: July 17th, 2012, 12:47 pm
by monkey
Cheers exussum, didn't think about purposefully looking for a bust file! Will give that a go!
Re: 0.71 and multicore par2
Posted: July 17th, 2012, 12:51 pm
by exussum
break it yourself if you have to
Just remove some lines from the nzb file, the more lines removed the more broke the file is
Re: 0.71 and multicore par2
Posted: July 17th, 2012, 1:37 pm
by shypike
monkey wrote:but I would have thought that either the tickbox would be availible once it had detected the multicore version
It cannot work that way because SABnzbd simply doesn't know what's installed.
Given the extreme range of Unix/Linux/WhateverPosix systems,
we just assume the simplest situation: that the user or the package creator has done the necessary steps.
This is true for par2, unrar and unzip.