Page 1 of 1

Force sabNZB to use 7z on Raspberry 4b

Posted: August 5th, 2020, 3:55 am
by MindFck
Hi together,

at first, sabnzb is the hell of a nice program!

I've set up a small "at home NAS" with a Raspberry Pi 4b (4GB) and an Raidsonic Icybox Case + Seagate IronWolf 2TB HDD (1 of 2 Bays).
I setup everything with Wireguard VPN and installed sabnzb on the Pi to access it at anytime -> Works like a charme, compliment to the good Documentations!

At first i was schoked that the Downloadspeed has "only" 30MB/s (instead of 90MB - 110MB/s) but i remembered that SSL is using much of core time and usage so its not enough for sab to get on fullspeed. I rather go for security than speed because it loads my Stuff when im on work. So no need to hurry.

Long story short:

imho 7zip is faster in unpacking my Downloads instead of unrar but sabnzb is using unrar all the time. Can is "force" sabnzb to use 7zip?
Is it enough to disable "unrar_enable" in "Special Options"? Or do i have to mv/cp 7z files into a special Directory?

Thanks for your time!

Regards

Re: Force sabNZB to use 7z on Raspberry 4b

Posted: August 5th, 2020, 7:00 am
by sander
Did you see

viewtopic.php?t=20460
viewtopic.php?t=656
viewtopic.php?t=5305

Short answer: no, you can't.
Reason: SAB is very much integrated with unrar's output, and 7z gives very different output. So the seconds you save on using 7z would cost a programmer a lot of works (days, weeks?). Wait ... do you want to pick that up?

FWIW: on my 4-core Celeron with M.2, with 1 GB rarset, the unpack takes:

unrar: 5.9 seconds
7z: 2.7 - 4.1 seconds

Re: Force sabNZB to use 7z on Raspberry 4b

Posted: August 5th, 2020, 8:16 am
by MindFck
Hi!

i appreciate that you took time for answering me. Thanks!
Ok, i didn't used the right keywords for the Forum search, sorry for that!

i didn't measure the time between unrar and 7zip thats why i said "imho" because the output for "7z e rarfile.part01" is 1,2,3,4,5...% and for unrar like rar1........rar2.........rar3.........

hard to tell. Sorry for asking noob questions. Stay well!