SABnzbd too slow

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.
iio7
Newbie
Newbie
Posts: 7
Joined: June 11th, 2020, 7:30 pm

SABnzbd too slow

Post by iio7 »

Hi,

I'm running SABnzbd on a box on a 1 Gbit wired connection and with NZBGet I get download speeds at about 90 MB/s, with SABnzbd I get at the very max. 21.4 MB/s on the very same box.

This is unbearably slow!

I have followed the guide on "highspeed-downloading" (cannot post link, but it's on this forum) to the letter. It claims that on a Intel Celeron J4105 (4GB RAM) and a 700/700 Mbps fiber line, SABnzbd can achieve a sustained 80 MB/s. I am running Sabnzbd on Celeron J1900 with also 4GB RAM.

User avatar
sander
Release Testers
Release Testers
Posts: 7129
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd too slow

Post by sander »

https://sabnzbd.org/wiki/advanced/highspeed-downloading says "On a 2017 Intel Celeron J4105 (4GB RAM, System Performance (Pystone) 95.000), built-in SSD and a 700/700 Mbps fiber line, SABnzbd can achieve a sustained 80 MB/s, thus linespeed."

So: In SABnzbd's upper right corner, click on the wrench symbol ("Status and interface options"), then click on first tab Status, and there click on the refresh arrow ... what Pystone score does your 2013 Celeron J1900 give you?

Hydranet
Newbie
Newbie
Posts: 20
Joined: March 10th, 2012, 6:07 pm

Re: SABnzbd too slow

Post by Hydranet »

Must be something on your side causing it because I have a 500bmit internet connection and download at speeds bewtween 55 MB/s and 60MB/s

iio7
Newbie
Newbie
Posts: 7
Joined: June 11th, 2020, 7:30 pm

Re: SABnzbd too slow

Post by iio7 »

Thank you very much for your help.

I am getting the following:

Code: Select all

System performance (Pystone)
44426 Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz
Download folder speed
32.6 MB/s
Complete folder speed
33.4 MB/s
I will try to install SABnzbd on one of my more powerful machines to see if the problem persists. However, when I run top on the Celeron box SABnzbd doesn't consume too much PCU, only about 134% during download, so it should be much better.

Also did a test download with the 1GB file (wanted to attach a screenshot, but apparently as a new user I cannot link or attach :) ), I still get about 20.8 MB/s.

User avatar
sander
Release Testers
Release Testers
Posts: 7129
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd too slow

Post by sander »

OK, so:
half the cpu power
your disks are not fast: 33 MB/s. I guess HDD (not SSD). Correct? I must say I'm surprised NZBget can achieve 90 MB/s on that
"only about 134%" that might mean 1 of your 4 cores is fully used. SAB is built with Python, which can only use core for the main task.

BTW: which version of SAB are you using, on which OS?

cphmichael
Newbie
Newbie
Posts: 9
Joined: May 29th, 2020, 7:48 am

Re: SABnzbd too slow

Post by cphmichael »

My computer is an old IBM x3650 M4 with a NVME SSD running unRAID:

System performance (Pystone) 89426 Intel(R) Xeon(R) CPU E5-2470 0 @ 2.30GHz
Download folder speed: 557.7 MB/s (/downloads/tmp)
Complete folder speed: 549.7 MB/s (/downloads/completed)
Internet Bandwidth: 91.5 MB/s (732 Mbps)

iio7
Newbie
Newbie
Posts: 7
Joined: June 11th, 2020, 7:30 pm

Re: SABnzbd too slow

Post by iio7 »

sander wrote:
June 13th, 2020, 1:36 am
OK, so:
half the cpu power
your disks are not fast: 33 MB/s. I guess HDD (not SSD). Correct? I must say I'm surprised NZBget can achieve 90 MB/s on that
"only about 134%" that might mean 1 of your 4 cores is fully used. SAB is built with Python, which can only use core for the main task.

BTW: which version of SAB are you using, on which OS?
Yes, it's HDD, but I can get 90 MB/s with NZBget and about 95 MB/s just doing "wget" something.

SABnzbd version: 2.3.9 running on Arch Linux.

Yes, the 134% just shows that my CPU isn't "over taxed".

iio7
Newbie
Newbie
Posts: 7
Joined: June 11th, 2020, 7:30 pm

Re: SABnzbd too slow

Post by iio7 »

So I finally had the time to test SABnzbd on an i5 which also runs NZBget at 90 MB/s. And on this box I get about 83 MB/s with SABnzbd. So it seems like the Celeron box, for some reason, doesn't handle SABnzbd very well. So far I haven't been able to determine why. I would have expected it to be the slower CPU, but since it is just using about 134% that isn't it. And since NZBget gets 90 MB/s on the Celeron box it cannot be the harddrive or anything like that.

Both the Celeron and i5 are running the same version of Arch Linux and SABnzbd.

User avatar
sander
Release Testers
Release Testers
Posts: 7129
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd too slow

Post by sander »

iio7 wrote:
June 19th, 2020, 9:18 am
So I finally had the time to test SABnzbd on an i5 which also runs NZBget at 90 MB/s. And on this box I get about 83 MB/s with SABnzbd. So it seems like the Celeron box, for some reason, doesn't handle SABnzbd very well. So far I haven't been able to determine why. I would have expected it to be the slower CPU, but since it is just using about 134% that isn't it. And since NZBget gets 90 MB/s on the Celeron box it cannot be the harddrive or anything like that.

Both the Celeron and i5 are running the same version of Arch Linux and SABnzbd.
Good info.

The 134% CPU load ... AFAIK python is single-core. So ... the core on which SAB is running ... is that core at 100% ?

User avatar
safihre
Administrator
Administrator
Posts: 3880
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: SABnzbd too slow

Post by safihre »

SABnzbd can be multi-core because SABYenc offloads some work to the other cores :)
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate

User avatar
sander
Release Testers
Release Testers
Posts: 7129
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd too slow

Post by sander »

Oh, yes, and unrar will also run on a separate core:

Code: Select all

$ ps -o pid,ppid,pgid,comm,cpuid,%cpu,%mem  -u $USER | grep -i sabnzbd
 255686  255680  255686 SABnzbd.py          2  8.9  3.5

Code: Select all

$ ps -o pid,ppid,pgid,comm,cpuid,%cpu,%mem  -u $USER | grep -i 255686
 255686  255680  255686 SABnzbd.py          2  8.9  3.6
 269447  255686  255686 unrar               1  5.0  0.0
So SAB is running on CPUID 2, and unrar is running on CPUID 1.

I don't know if you can see sabyenc running / CPU usage. So far I can only see the sabyenc library is loaded by SABnzbd:

Code: Select all

$ sudo awk '/\.so/{print $6}' /proc/255686/maps | sort -u | grep -i sabyenc
/home/sander/.local/lib/python3.8/site-packages/sabyenc3.cpython-38-x86_64-linux-gnu.so
and

Code: Select all

$ pmap 255686 | grep sabyenc
00007f6a31d6f000     12K r-x-- sabyenc3.cpython-38-x86_64-linux-gnu.so
00007f6a31d72000   2044K ----- sabyenc3.cpython-38-x86_64-linux-gnu.so
00007f6a31f71000      4K rw--- sabyenc3.cpython-38-x86_64-linux-gnu.so

iio7
Newbie
Newbie
Posts: 7
Joined: June 11th, 2020, 7:30 pm

Re: SABnzbd too slow

Post by iio7 »

I haven't been able to determine why SABnzbd is so slow on this box, but it will not go beyond about the 20 MB/s no matter what I do.

User avatar
marthaneilson
Newbie
Newbie
Posts: 1
Joined: July 9th, 2020, 10:21 am
Location: USA

Re: SABnzbd too slow

Post by marthaneilson »

I have a 500bmit web association and download at speeds bewtween 55 MB/s and 60MB/s. military alphabet chart
Last edited by marthaneilson on August 4th, 2020, 9:13 am, edited 1 time in total.
marthNeil7

iio7
Newbie
Newbie
Posts: 7
Joined: June 11th, 2020, 7:30 pm

Re: SABnzbd too slow

Post by iio7 »

My problem has to be related to the box I use, something about this particular Celeron machine that just doesn't "fit well" with SABnzbd. I get 90 MB/s with NZBget and all other download related applications as well.

Ahrhome
Newbie
Newbie
Posts: 13
Joined: July 16th, 2020, 8:02 am

Re: SABnzbd too slow

Post by Ahrhome »

You guys have to understand megabits and megabytes.One megabyte is equal to eight megabits.So if your download 60MB/s it is 480 Mbps.

Post Reply