What does Sabnzbd use to unpack files after download?

Feel free to talk about anything and everything in this board.
Post Reply
smidley
Jr. Member
Jr. Member
Posts: 64
Joined: January 29th, 2010, 11:34 pm

What does Sabnzbd use to unpack files after download?

Post by smidley »

I couldn't find this info anywhere.  What does sab use to unrar files?  Thanks to whoever can answer this.
Nemesis
Newbie
Newbie
Posts: 19
Joined: July 13th, 2010, 5:09 am

Re: What does Sabnzbd use to unpack files after download?

Post by Nemesis »

unrar.exe?

C:\Program Files (x86)\SABnzbd\win\unrar
smidley
Jr. Member
Jr. Member
Posts: 64
Joined: January 29th, 2010, 11:34 pm

Re: What does Sabnzbd use to unpack files after download?

Post by smidley »

In that case, is there any specific reason sab uses that?  If it used something like 7zip, it could use an x64 version.  Just wondering.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: What does Sabnzbd use to unpack files after download?

Post by shypike »

The 32 bit or 64bit version of unrar is used, depending on your OS.
We don't use 7zip because 95% of downloads consists of RAR files
and nothing beats the original unrar program.
smidley
Jr. Member
Jr. Member
Posts: 64
Joined: January 29th, 2010, 11:34 pm

Re: What does Sabnzbd use to unpack files after download?

Post by smidley »

That's true.  7zip does rar files too though, and it's open source and under current development.  I don't think UnRar is still being improved upon.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: What does Sabnzbd use to unpack files after download?

Post by shypike »

7zip does unrar poorly.
unrar has frequent new releases.
It is open source, although not fully free in the FOSS sense, but free to use and available for a large range of platforms.
smidley
Jr. Member
Jr. Member
Posts: 64
Joined: January 29th, 2010, 11:34 pm

Re: What does Sabnzbd use to unpack files after download?

Post by smidley »

Ahhh ok, thanks for the better explaination shypike :)  it sounds like you're on top of it.
User avatar
inpheaux
Administrator
Administrator
Posts: 563
Joined: January 16th, 2008, 9:14 pm

Re: What does Sabnzbd use to unpack files after download?

Post by inpheaux »

Additionally, 7zip wouldn't really give us any benefit. Even x64 unrar doesn't give us much benefit, since file extracting is I/O bound not CPU bound.
sl1000
Newbie
Newbie
Posts: 29
Joined: August 7th, 2010, 4:16 am

Re: What does Sabnzbd use to unpack files after download?

Post by sl1000 »

7Zip would support multithreading accoring to the internet, Unrar does not. it would be nice to use the full potential of a cpu, instead of only one thread...
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: What does Sabnzbd use to unpack files after download?

Post by shypike »

Repeat:
"doesn't give us much benefit, since file extracting is I/O bound not CPU bound. "
The only difference would be that it waits faster for the disk :)
sl1000
Newbie
Newbie
Posts: 29
Joined: August 7th, 2010, 4:16 am

Re: What does Sabnzbd use to unpack files after download?

Post by sl1000 »

I humbly disagree.

Sabnzbd is run on many nas systems. some of which have simple arm based or atom based multi threaded (or even multicore) cpu's. these are not very powerfull at all. In those cases often the cpu-thread is flooded before the underlying disk system is.
Post Reply