Incorrect or missing information? High speed Downloading
If you are blessed with a fast connection (50MB/s and over) and are not getting the full speeds you require, you can try the following:
- Use a wired network connection, not wireless. Test your speed via fast.com . Divide that result from fast.com by 10 (8.05 to be more exact) to get the speed in MB/s
- Make sure
sabyencis installed by checking the first page of the Config. If you used the installers on Windows, macOS or a repository/pre-built package, this will be present. This will speed up decoding as it will use C code instead of python code. More information here.
- Set the Article Cache Limit in Config->General. This will keep articles in memory and not write them to disk (which is slower). Depending on how much RAM you can spare, two good values are
500M(the M denotes megabytes and is required) or
1G(1GB). If you download a lot of rar files that are 200MB or larger then use the latter value. The cache will only be used when nessecary, cache usages above 400MB are rare.
- Check if logging is set to only
Errors/Warningin the Status window. Especially the
+Debugsetting writes very frequently tiny bits of data to the disk. This increases CPU load for the writing and occupies the disk.
- For larger queues it can be beneficial to enable
Only get articles for top of the queuein Config->Switches, as iterating through the queue to get the next article takes substantial amount of CPU power for large queues.
- Investigate your connection count in Config->Servers. It may seem counter-intuitive, since more connections should be faster than fewer connections, but if you use the 50+ connections some hosts give you the overhead from constantly opening and closing connections can slow you down. So start at the max allowed connections and slowly lower your count until you max out your speed. Or do it the other way round: start with 5 connections, measure the speed, and raise to 7, measure again, 9, measure again, etc. Normally 10 connections are enough.
- If you use SSL to connect to your newsserver, try changing the SSL Ciphers. This will sightly lower encryption strength but can greatly increase download speeds.
If none of the above methods make a difference, have a look at how much CPU is being used while downloading, if it is at 100% it is likely your processor is too slow to maintain high enough speeds. In the Status window ( ) you can run a PyStone CPU performance test. ARM based systems (NASes for example) will show much lower number (below 25000), and will have a lower maximum download speed than PCs with a current Intel/AMD CPU with a CPU Pystone available performance of 40000 or higher.
Another limit could be your disk write speed, in the Status window ( ) you can do a write test by clicking the icon. This is the speed at which SABnzbd can write to your folders, if it is lower than expected you should check your hardware and software settings.
Additional settings for high-speed downloading
If your focus is on pure high-speed downloading itself, you should let SABnzbd focus on downloading only (and not any simultaneous processing), and the following settings will help (in order of importance):
- Both Incomplete and Complete should be on a SSD/M.2/NVMe. SABnzbd should report the speed of Incomplete and Complete above 150 MB/s. Slower disks like HDD and NAS have a very negative impact on downloading speed: a slower disk means slower downloads.
- Turn on "Pause Downloading During Post-Processing". SABnbd will first download, and after downloading it will start processing
- Turn off DirectUnpack. SABnbd will take care of it after downloading
- Turn off Unwanted Extensions and Encrypted Downloads
- For testing only: set the download to Download, so no Repair, no Unpack at all
Results with different setups with 1GB and 10GB downloads;
- On a 2017 Intel Celeron J4105 (4GB RAM, System Performance (Pystone) 95000) and a 700/700 Mbps fiber line, SABnzbd can achieve a sustained 80 MB/s, thus linespeed.
- On an ARM box (51MB RAM, System Performance (Pystone) 8000), SABnzbd can achieve a sustained 20 MB/s. The low-speed CPU and/or disk are the bottleneck. So, checking: SABnzbd reports 25 MB/s on Incomplete and Complete, so that is the bottleneck.