Page 1 of 1

I suspect par2 multicore is not working, but not sure

Posted: February 22nd, 2010, 8:35 am
by Bonaparty
Hi,

I installed sabnzbd 0.5.0 on my QuadCore running Vista 32, downloaded a big file (8 gb) that needed repair and while par2.exe was doing it's thing it seemed like the par2.exe process was not running higher than 25%. Does that automatically mean that multicore par is not occuring on my system? (yes, it is enabled it in the sabnzbd settings)

Just curious,
BParty

Re: I suspect par2 multicore is not working, but not sure

Posted: February 22nd, 2010, 10:33 am
by shypike
If it hangs indefinitely, it may mean there's a bug in par2-multicore
or that your system is on the edge.
You can choose to run the "classic" mode.

Keep in mind that a serious repair may take a long time,
but the CPU load should be high in that case.

BTW: never just kill SABnzbd, your queue might get corrupted.
Kill the par2 process instead.

Re: I suspect par2 multicore is not working, but not sure

Posted: February 22nd, 2010, 11:09 am
by inpheaux
shypike wrote: If it hangs indefinitely, it may mean there's a bug in par2-multicore
or that your system is on the edge.
You can choose to run the "classic" mode.
It luckily doesn't sound like it's hanging, he's just complaining that it only seems to be using a single core.

Be sure "Enable Multicore Par2" is turned on, and try putting -t+ in the "Extra Par2 Options" box. It should autodetect that you can run in multi-core mode, but this will force it to use multiple threads.

Re: I suspect par2 multicore is not working, but not sure

Posted: February 22nd, 2010, 1:38 pm
by shypike
-t- is better. That way verification is single core (which prevents disk trashing)
and repair will be multi-core.

Re: I suspect par2 multicore is not working, but not sure

Posted: February 22nd, 2010, 2:22 pm
by Bonaparty
shypike wrote: -t- is better. That way verification is single core (which prevents disk trashing)
and repair will be multi-core.
Are you sure? Because the par2.exe command-line help says:
"-t- to checksum/create/repair serially - uses a single thread - good for testing this program"

I tested par2.exe outside of SAB with default repair settings (i.e.. from the command-line) and my cpu utilization went up to 80% so when I do it that way multi-core is def. working. I will test it inside SABNZBD again.

Re: I suspect par2 multicore is not working, but not sure

Posted: February 22nd, 2010, 6:52 pm
by shypike
I was confusedĀ  ???
You are right: it is actually -t0

Re: I suspect par2 multicore is not working, but not sure

Posted: March 2nd, 2010, 11:55 am
by adamsuail
Thanks guys, -t0 it is...i cant believe i was running my i7 in a single core mode ALL THIS TIME..thanks for the tipĀ  :'(