nzbget 14.1: sometimes very low download speed on raspberry

Get help, report and discuss bugs.
buggy13
Posts: 34
Joined: 07 Sep 2014, 12:20

nzbget 14.1: sometimes very low download speed on raspberry

Post by buggy13 » 11 Feb 2015, 14:48

hi,

i used raspbian with an older version of nzbget (i think v11 or v12) and it worked very good. last week the sd card crashed an di had no backup ( :roll: ) i made a fresh install of raspbian and nzbget v14 (repo: http://mikeodriscoll.ca/raspberrypi/nzb ... rrypi.html). i installed nzbget with apt-get, all is working. but sometimes (maybe after running some hours) i have very low download speed, sometimes ca. 50 kbps sometimes 5-10 kbps. sometimes after some hours or minutes i have full speed again. i can't find any regularity. i had this problem on raspbian and rasbmc on 2 different pi's. i changed the flash drive, the usenet provider and tried several nzb files - all the same. i have full speed all the time with sabnzbdplus on the pi and with alt.binz on my windows machine.

is there any known problem in nzbget v14?

buggy13

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: nzbget 14.1: sometimes very low download speed on raspbe

Post by hugbug » 11 Feb 2015, 15:03

buggy13 wrote:is there any known problem in nzbget v14?
No.

When it has slow speeds what's in the log? May be you downloading deleted posts. What is the CPU load (when the speed is slow)?

buggy13
Posts: 34
Joined: 07 Sep 2014, 12:20

Re: nzbget 14.1: sometimes very low download speed on raspbe

Post by buggy13 » 11 Feb 2015, 15:47

May be you downloading deleted posts
No. It is not a problem with the downloads. all downloads running as fast as possible on other machines.

i don't know the cpu usage. offen i see the slow speed when i connect to nzbget via an android app when i'm not at home.

to solve the problem i must log the download speed and the cpu usage for some hours. any idea how to do that?

piload
Posts: 7
Joined: 09 Feb 2015, 18:38

Re: nzbget 14.1: sometimes very low download speed on raspbe

Post by piload » 12 Feb 2015, 17:22

I don't know how to do that, but I'd just log on the Pi when the download is slow and type "top".

buggy13
Posts: 34
Joined: 07 Sep 2014, 12:20

Re: nzbget 14.1: sometimes very low download speed on raspbe

Post by buggy13 » 13 Feb 2015, 15:41

i have the problem at the moment, after i installed pyload and some of its deps. after reboot i have the problem. in messages i can read "Cancelling hanging download ..." and in "top" i can see that the cpu usage of python is very high (more than 50% for some moments).

after some minutes nzbget starts downloading with full speed and in top i can see that the cpu usage of python is under 1% - its ,ore than 30% for some moments, but not for a long time.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: nzbget 14.1: sometimes very low download speed on raspbe

Post by hugbug » 13 Feb 2015, 15:48

NZBGet isn't written in python. This indicates that there are other active processes which produce high load (CouchPotato, SickBeard, etc.). Since CPU is a shared resource this has an effect on NZBGet download speed.


piload
Posts: 7
Joined: 09 Feb 2015, 18:38

Re: nzbget 14.1: sometimes very low download speed on raspbe

Post by piload » 16 Feb 2015, 10:10

I'm not sure if 32 KB write buffer is a good value. I think it would be better if they explained why they chose that value. 50 MB Article cache reduced my CPU load by roughly 5% compared to the default value.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: nzbget 14.1: sometimes very low download speed on raspbe

Post by hugbug » 16 Feb 2015, 10:27

piload wrote:I'm not sure if 32 KB write buffer is a good value. I think it would be better if they explained why they chose that value. 50 MB Article cache reduced my CPU load by roughly 5% compared to the default value.
32 KB seems to be a bit low. I would set it to 128-512 depending of how much memory you have available.
The total amount of memory used for write buffers of all threads can be calculated as

Code: Select all

number-of-connections-on-level-0 * WriteBuffer
Allocating few MB (total for all buffers) should not be a problem even on RPi with 512MB RAM.

Generally larger buffers mean less disk activity which is important for RPi since it has bad IO-interfaces.
piload wrote:50 MB Article cache reduced my CPU load by roughly 5% compared to the default value.
What's the default value, is it "0"?

piload
Posts: 7
Joined: 09 Feb 2015, 18:38

Re: nzbget 14.1: sometimes very low download speed on raspbe

Post by piload » 16 Feb 2015, 12:01

Yes, I think it was zero.

Talking about zeroes , what does "on-level-0" mean?

Post Reply

Who is online

Users browsing this forum: No registered users and 51 guests