Optimizing for slow devices?

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
iSteven
Newbie
Newbie
Posts: 5
Joined: August 2nd, 2012, 6:39 pm

Optimizing for slow devices?

Post by iSteven »

Hi forum

I recently purchased a Synology DS212+ storage box. Installing and configuring SABnzbd was a breeze, but I'm still having some performance issues. I'm only reaching about 3MB/s download speeds, which is about half the speed that I used to get on my windows-based, much more powerful laptop.

Basically, as soon as I begin a new download, my resource monitor displays 100% CPU usage. Most of which is caused by the python package provided by syno community. I guess this is creating a bottleneck effect, forcing SABnzbd to download at a slower pace.

I googled around for a few hours, but there doesn't seem to be much concrete information on this subject. Some suggested installing the C based yenc package (I believe it's called py25-yenc), which I did through ipkg. I didn't notice any immediate download speed increase though. I've also changed the maximum amount of connections down from 50 to 10, but still no dice. I connect to my usenet provider (newsdemon) using SSL encrypted connections on port 563. I don't think my server settings are the problem though, my computer doesn't have any problem downloading.

Is there anything I should be doing differently? All suggestions are welcome.
Steven

Code: Select all

Version: 0.7.1-2
OS: N/A
Install-type: linux repository (http://www.synocommunity.com)
Firewall Software: None
Are you using IPV6?: No
Is the issue reproducible?: Yes
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Help With Categories

Post by shypike »

The only extra thing you can do is set an article cache in Config->General.
Your system needs to have plenty if memory (at least 512M)
and the influence is different per system.
Set it to something like 128M.
iSteven
Newbie
Newbie
Posts: 5
Joined: August 2nd, 2012, 6:39 pm

Re: Optimizing for slow devices?

Post by iSteven »

Thanks for the suggestion.

What is the default cache size? Or does it not use a cache unless explicitly set? The web interface doesn't really show.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Optimizing for slow devices?

Post by shypike »

For Linux systems, there's no default, so empty box means: no cache.
iSteven
Newbie
Newbie
Posts: 5
Joined: August 2nd, 2012, 6:39 pm

Re: Optimizing for slow devices?

Post by iSteven »

Alright thank you. At the end of the day, none of these tweaks really seem to do anything on a synology NAS. I guess that a fast CPU is a minimum requirement before you can start fine-tuning things. :(
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Optimizing for slow devices?

Post by shypike »

I'm afraid you're right about that.
CPU usage is SABnzbd's weak spot.
bbaraniec
Full Member
Full Member
Posts: 110
Joined: July 29th, 2011, 5:43 am

Re: Optimizing for slow devices?

Post by bbaraniec »

I'm running SAB on linux box with Intel Dual Core 2,6Ghz and when I leave SAB "unleashed" CPU usage goes over 50%. My connection is 35Mbit/s and if I reduce the speed in SAB to 4096kbit/s (4MB/s) which is almost my max speed CPU usage drops to 15-20ish %. Correct me if I'm wrong but Python is not using dual cores or?
-
Kind regards
Bartek
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Optimizing for slow devices?

Post by shypike »

As far as I know, Python is single-core.
Its multi-threading architecture doesn't make the OS use multiple cores for it.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Optimizing for slow devices?

Post by jcfp »

bbaraniec wrote:I'm running SAB on linux box with Intel Dual Core 2,6Ghz and when I leave SAB "unleashed" CPU usage goes over 50%.
Depends on your source for that percentage. Some utilities in linux, such as ps and top, present cpu usage of processes as a percentage of single core performance, without division by the total number of cpu cores available. For example, on a dual core system, with a single core application maxing out one of the cores (cpuburn style), that application's cpu usage would be indicated as ~100% in such utilities although it represents only half the cpu power available.
Post Reply