Hi all,
I have several NAS systems with different specs, one of them is a NetworkSpace 2 from Lacie which has a ARM 800 MHz CPU with 256 Mb. Altho that's not a powerdevil, the device functions pretty well.
I don't run the LaCie software anymore and now run Debian Squeeze on it, and installed SAB on it, however, it performs horribly.
My question is if there are any optimizations I can do to make it run better.
I have a UPC 120 Mbit connection, being able to download with 14 Mb/sec and on my desktop that's manageable, however, on the NAS it won't go higher than 3,4 Mb/sec. When running "top", i see the python process taking 100% CPU. (a simple wget reaches 14 Mb/sec on the NAS)
When the download is complete it extracts pretty faast for such a box, so that's ok by me, but seeing the Python process taking the full CPU with only 3,4 Mb/sec is not that good.
Are there any tweaks I could perform to let it run a bit faster?
Thanks in advance!
NAS Optimizations
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: NAS Optimizations
SABnzbd is very CPU and memory hungry.
It seems worse when you have particularly large NZBs,
which is something we're going to look at in the near future.
Do you have a compiled _yenc.pyd on your box (the log tells you at startup) ?
If not, there will be a heavy CPU penalty.
Other than that there isn't much else to optimize.
It seems worse when you have particularly large NZBs,
which is something we're going to look at in the near future.
Do you have a compiled _yenc.pyd on your box (the log tells you at startup) ?
If not, there will be a heavy CPU penalty.
Other than that there isn't much else to optimize.
Re: NAS Optimizations
What I see at startup is this:
Assumingly I have that installed?
Code: Select all
2011-03-16 14:56:14,376::INFO::[SABnzbd:1132] --------------------------------
2011-03-16 14:56:14,390::INFO::[SABnzbd:1133] SABnzbd.py-0.6.0Beta2 (rev=2684)
2011-03-16 14:56:14,393::INFO::[SABnzbd:1146] Platform = posix
2011-03-16 14:56:14,396::INFO::[SABnzbd:1147] Python-version = 2.6.6 (r266:84292, Dec 27 2010, 21:57:32)
[GCC 4.4.5 20100902 (prerelease)]
2011-03-16 14:56:14,399::INFO::[SABnzbd:1160] Read INI file /root/.sabnzbd/sabnzbd.ini
2011-03-16 14:56:14,785::INFO::[__init__:842] Loading data for running.sab from /root/.sabnzbd/admin/running.sab
2011-03-16 14:56:14,794::INFO::[__init__:845] /root/.sabnzbd/admin/running.sab missing, trying old cache
2011-03-16 14:56:14,798::INFO::[__init__:848] /root/.sabnzbd/cache/running.sab missing
2011-03-16 14:56:14,802::INFO::[__init__:823] Saving data for running.sab in /root/.sabnzbd/admin/running.sab
2011-03-16 14:56:14,874::INFO::[__init__:842] Loading data for bookmarks.sab from /root/.sabnzbd/admin/bookmarks.sab
2011-03-16 14:56:14,922::INFO::[__init__:842] Loading data for rss_data.sab from /root/.sabnzbd/admin/rss_data.sab
2011-03-16 14:56:14,927::INFO::[__init__:842] Loading data for totals9.sab from /root/.sabnzbd/admin/totals9.sab
2011-03-16 14:56:14,933::INFO::[postproc:89] Loading postproc queue
2011-03-16 14:56:14,937::INFO::[__init__:842] Loading data for postproc1.sab from /root/.sabnzbd/admin/postproc1.sab
2011-03-16 14:56:14,943::INFO::[__init__:842] Loading data for queue9.sab from /root/.sabnzbd/admin/queue9.sab
2011-03-16 14:56:14,955::INFO::[__init__:842] Loading data for watched_data.sab from /root/.sabnzbd/admin/watched_data.sab
2011-03-16 14:56:15,006::INFO::[downloader:193] Resuming
2011-03-16 14:56:15,009::INFO::[__init__:283] All processes started
2011-03-16 14:56:15,013::INFO::[SABnzbd:325] Web dir is /root/SABnzbd-0.6.0Beta2/interfaces/Plush
2011-03-16 14:56:15,095::INFO::[SABnzbd:1204] Starting SABnzbd.py-0.6.0Beta2
2011-03-16 14:56:15,108::INFO::[dirscanner:263] Dirscanner starting up
2011-03-16 14:56:15,113::INFO::[SABnzbd:446] _yenc module... found!
2011-03-16 14:56:15,117::INFO::[SABnzbd:454] par2 binary... found (/usr/bin/par2)
2011-03-16 14:56:15,120::INFO::[SABnzbd:462] unrar binary... found (/usr/bin/unrar)
2011-03-16 14:56:15,123::INFO::[SABnzbd:467] unzip binary... found (/usr/bin/unzip)
2011-03-16 14:56:15,127::INFO::[urlgrabber:74] URLGrabber starting up
2011-03-16 14:56:15,126::INFO::[SABnzbd:473] nice binary... found (/usr/bin/nice)
2011-03-16 14:56:15,132::INFO::[SABnzbd:477] ionice binary... found (/usr/bin/ionice)
2011-03-16 14:56:15,135::INFO::[SABnzbd:484] pyOpenSSL... NOT found - try apt-get install python-pyopenssl (SSL is optional)
2011-03-16 14:56:15,150::INFO::[SABnzbd:1308] Starting web-interface on 192.168.0.76:9090
2011-03-16 14:56:15,156::INFO::[_cplogging:55] [16/Mar/2011:14:56:15] ENGINE Bus STARTING
2011-03-16 14:56:15,192::INFO::[_cplogging:55] [16/Mar/2011:14:56:15] ENGINE Started monitor thread '_TimeoutMonitor'.
2011-03-16 14:56:15,407::INFO::[_cplogging:55] [16/Mar/2011:14:56:15] ENGINE Serving on 192.168.0.76:9090
2011-03-16 14:56:15,411::INFO::[_cplogging:55] [16/Mar/2011:14:56:15] ENGINE Bus STARTEDRe: NAS Optimizations
Yes, you have the _yenc.pyd module.
Re: NAS Optimizations
Thanks for checking, too bad there aren't any optimizations I can do for this box...

