Page 1 of 1

running with limited resources

Posted: August 17th, 2009, 6:17 pm
by koryakm
I am running sabnzbd 4.11 on a readynas, which has an equivalent of a 600mhz and 1GB ram. The problem i am having is that sabnzbd wants to have multiple processes run at the same time, and its killing my load avg:

load average: 2.09, 2.22, 2.20
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
7364 root      16  0 79072  31m 3808 R 57.1  3.2  0:05.11 python2.5
7363 root      19  0 79072  31m 3808 R 17.5  3.2  3:15.98 python2.5
7361 root      15  0 79072  31m 3808 S 15.9  3.2  2:47.55 python2.5
7373 root      16  0 79072  31m 3808 S  5.9  3.2  0:00.83 python2.5

sometimes it running more processes, sometimes less. This (at least that is my theory) is causing the download to intermitently stop, and the speed to jump around, so instead of the usual 1200K/s i would get, i am get 200k/s on avg.

I looked for settings to make sabnzbd play nicer on slower machines but have not found anything that have made a difference on the wiki.

Any help would be appreciated. Thanks.

Re: running with limited resources

Posted: August 18th, 2009, 3:24 am
by shypike
SABnzbd nor Python (our programming language) are optimized for modest systems.
The average load isn't very high on most systems (except when running par2 and unrar).
Did you install the yEnc module (compiled C) properly.
I assume you read this info:
http://sabnzbd.wikidot.com/highspeed-downloading

BTW: SABnzbd does not use multiple processes (except when running par2 and unrar), it uses threads.
Maybe your platform doesn't support that properly?

Re: running with limited resources

Posted: August 18th, 2009, 7:29 am
by koryakm
thanks for the response. Ill look into that, and report back what i found for others with similar problem

Re: running with limited resources

Posted: August 18th, 2009, 3:42 pm
by switch
Downloading with newsgroups is a very processor and disk intensive operation; especially when compared to other download methods. You may find your processor can not handle 1200KB/s.

As shypike says, make sure the yEnc module is installed. It is much faster than the default yEnc implementation due to being written in C.

Re: running with limited resources

Posted: August 18th, 2009, 11:12 pm
by koryakm
as promised here are my findings:

less to do with sab, more to do with readynas NV+, but maybe useful for someone else.

qEnc was installed.
turned off all plugins that i wasnt using.
turned off the readynas remote, and that seemed to do the trick, my load avg is not much better, but download speeds seems to have leveled off at around 800 k/s which i can live with for a dedicated usenet box.