is there a way to optimize and/or speed up SABnzbd+?
Forum rules
Help us help you:
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.
Re: is there a way to optimize and/or speed up SABnzbd+?
Don't forget that downloading highspeed, unraring, unzipping, par checking just are all very heavy processes. No matter what unrar/download/par/unzip program you use...
Re: is there a way to optimize and/or speed up SABnzbd+?
yeah that's why i want it to download the files THEN par/unrar and not at the same time as this is what's using the cpu and slowing things down
Re: is there a way to optimize and/or speed up SABnzbd+?
25mbit + 1.5GHz + 1GB RAM is not a good config to run SAB. I'd addd more RAM and/or use a faster CPU or put up with the fact that the machine can't cope.
That's the spec I used to use to download (with 17mbps throughput available to me, it was struggling) and I'm now using a 2GHz Core 2 Duo with 2GB RAM to get max throughput with SAB.
That's the spec I used to use to download (with 17mbps throughput available to me, it was struggling) and I'm now using a 2GHz Core 2 Duo with 2GB RAM to get max throughput with SAB.
Last edited by neilt0 on March 15th, 2008, 5:21 am, edited 1 time in total.
Re: is there a way to optimize and/or speed up SABnzbd+?
As a linux user, finding out what limits the performance is quite easy. Just run 'top -c -d3' while downloading and see. 0% Idle cpu? -> cpu problem; lots of swapping? -> memory problem; neither? -> disk problem. Most likely you'll find the limited amount of cpu power is to blame. Either that or the hard disk. A gigabyte of memory should be more than enough, I have that in my system and download from usenet at much higher speeds than 25 mbit.
That won't help you. While download speed on itself might be higher, the overall process of downloading + unpacking will take at least as much time, if not longer. So doing this is basically useless unless you pay per minute for your connection.steve51184 wrote: yeah that's why i want it to download the files THEN par/unrar and not at the same time as this is what's using the cpu and slowing things down
Re: is there a way to optimize and/or speed up SABnzbd+?
I think he wants this because he probably uses sabnzbd+ on his desktop... not on a server or dedicated computer.jcfp wrote:That won't help you. While download speed on itself might be higher, the overall process of downloading + unpacking will take at least as much time, if not longer. So doing this is basically useless unless you pay per minute for your connection.steve51184 wrote: yeah that's why i want it to download the files THEN par/unrar and not at the same time as this is what's using the cpu and slowing things down
You can automatic parcheck and unrar/unzip once a while with AutoUnpack. but you run unix so that program won't work but there are probably unix like programs out. but if you do this suggestion, you don't have the functionality of sabnzbd+ anymore... only using the downloading part of sabnzbd+
Last edited by DeXeS on March 15th, 2008, 4:53 pm, edited 1 time in total.
Re: is there a way to optimize and/or speed up SABnzbd+?
If he's concerned about other processes slowing down, he might try 'cpulimit' on the unrar and par2 processes... and if necessary bandwidth limit sabnzbd so that eats less cpu as well. Or just use sabnzbd's scheduling option and let it have all cpu when the system would otherwise just sit idle in the middle of the night. Die Qual der Wahl
Re: is there a way to optimize and/or speed up SABnzbd+?
this is for a dedicated server with other sites on the server is it's very important to keep the load down when using this scriptDeXeS wrote:I think he wants this because he probably uses sabnzbd+ on his desktop... not on a server or dedicated computer.jcfp wrote:That won't help you. While download speed on itself might be higher, the overall process of downloading + unpacking will take at least as much time, if not longer. So doing this is basically useless unless you pay per minute for your connection.steve51184 wrote: yeah that's why i want it to download the files THEN par/unrar and not at the same time as this is what's using the cpu and slowing things down
You can automatic parcheck and unrar/unzip once a while with AutoUnpack. but you run unix so that program won't work but there are probably unix like programs out. but if you do this suggestion, you don't have the functionality of sabnzbd+ anymore... only using the downloading part of sabnzbd+
cpulimit is exactly what i need and i've installed it but i now need to know how to integrate it into the script so the par2/unrar commands work with this and not the "nice" command (or both is that's easier)jcfp wrote: If he's concerned about other processes slowing down, he might try 'cpulimit' on the unrar and par2 processes... and if necessary bandwidth limit sabnzbd so that eats less cpu as well. Or just use sabnzbd's scheduling option and let it have all cpu when the system would otherwise just sit idle in the middle of the night. Die Qual der Wahl
Re: is there a way to optimize and/or speed up SABnzbd+?
I'll take this up with the NAS specialist in the team.
Re: is there a way to optimize and/or speed up SABnzbd+?
thank you very muchshypike wrote: I'll take this up with the NAS specialist in the team.
Re: is there a way to optimize and/or speed up SABnzbd+?
been 9 days how's the progress?shypike wrote: I'll take this up with the NAS specialist in the team.
Re: is there a way to optimize and/or speed up SABnzbd+?
None, been too busy with other things.
It's on "the list", it will take some time before this is resolved. There so many other features and bugs to do.
One of team members is looking at the possibility to stop downloading during processing.
It's on "the list", it will take some time before this is resolved. There so many other features and bugs to do.
One of team members is looking at the possibility to stop downloading during processing.
Re: is there a way to optimize and/or speed up SABnzbd+?
I have been looking at cpulimit, but I don't quite know how to integrate it.
It works on an already running process, not like nice.
Also, when I apply it externally to a running SABnzbd process, SABnzbd crashes.
I'm afraid this goes beyond my Unix knowledge.
It works on an already running process, not like nice.
Also, when I apply it externally to a running SABnzbd process, SABnzbd crashes.
I'm afraid this goes beyond my Unix knowledge.
Re: is there a way to optimize and/or speed up SABnzbd+?
would it not be better to make cpulimit work with par2/unrar rather then SABnzbd?
Re: is there a way to optimize and/or speed up SABnzbd+?
I still don't know how to use it. It does not work like nice.
I wonder if I start unrar, whether SABnzbd will be able to start cpulimit afterwards.
Also older cpulimit's releases are quite buggy (judging by the releases notes) and
most standard Linux distributions have old releases.
I wonder if I start unrar, whether SABnzbd will be able to start cpulimit afterwards.
Also older cpulimit's releases are quite buggy (judging by the releases notes) and
most standard Linux distributions have old releases.
Re: is there a way to optimize and/or speed up SABnzbd+?
Should be possible, as long as sabnzbd is able to figure out what the relevant pid is. Then run cpulimit on that pid, and include the -z option so it will automatically exit if either no program is running with the given pid or after that program terminates:shypike wrote:I still don't know how to use it. It does not work like nice.
I wonder if I start unrar, whether SABnzbd will be able to start cpulimit afterwards.
Code: Select all
$ pidof ls
6569
$ cpulimit -l 5 -z -p 6569
Warning: cannot renice.
To work better you should run this program as root, or adjust RLIMIT_NICE.
For example in /etc/security/limits.conf add a line with: * - nice -10
Process 6569 detected
Process 6569 dead!
$
Last edited by jcfp on April 4th, 2008, 5:33 am, edited 1 time in total.