To SSL or not to SSL

Get help, report and discuss bugs.
Post Reply
YoYoost
Posts: 4
Joined: 15 Jan 2014, 11:12

To SSL or not to SSL

Post by YoYoost » 16 Sep 2015, 11:54

Hi,

I am running NZBGet on a Raspberry Pi 2 model B so all the CPU tweaks I can get are welcome. So I followed the wiki https://github.com/nzbget/nzbget/wiki/Performance-tips but it isnt clear if 'no SSL' is faster dan SSL with for example 'RC4-MD5' ? I searched the internet and this forum but I cannot find the answer.

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

Re: To SSL or not to SSL

Post by hugbug » 16 Sep 2015, 13:32

YoYoost wrote: it isnt clear if 'no SSL' is faster dan SSL with for example 'RC4-MD5' ?
SSL is always extra work. Whether it's slower or not depends on CPU usage: if the speed is limited by CPU then "no SSL" will be faster, otherwise it will be the same speed but less CPU load.

Since you have the device - do few tests and tell us the results. We are curious too.

YoYoost
Posts: 4
Joined: 15 Jan 2014, 11:12

Re: To SSL or not to SSL

Post by YoYoost » 18 Sep 2015, 08:52

Thank you for your reply, I figured as much but the wiki isn't very clear about this. I will test and report back.

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

Re: To SSL or not to SSL

Post by hugbug » 18 Sep 2015, 08:54

YoYoost wrote:the wiki isn't very clear about this
I believe it is:
Activating the encrypted communication with news server (option ServerX.Encryption) makes a huge impact on performance.

YoYoost
Posts: 4
Joined: 15 Jan 2014, 11:12

Re: To SSL or not to SSL

Post by YoYoost » 18 Sep 2015, 20:29

English isn't my first language but imho you can interpret statment that as a positive (impact on performance). I see what you mean though.

edit:
I'm not trying to be negative. I figured SSL has a negative impact, I wanted to know for sure. I will test different settings and report back.
Props to you by the way for being such an active and involved dev!

YoYoost
Posts: 4
Joined: 15 Jan 2014, 11:12

Re: To SSL or not to SSL

Post by YoYoost » 04 Oct 2015, 21:34

I tried fiddling with different settings. Without SSL the RPI2 model B can download up to 5MB/s, with 'RC4-MD5' it maxes out on 3-3,5MB/s.

moddigi1
Posts: 39
Joined: 14 Apr 2013, 11:44

Re: To SSL or not to SSL

Post by moddigi1 » 05 Oct 2015, 16:41

My Pi 2 achieves full line speed (5.5MB/sec) with RC4-MD5 enabled.

You should probably alter ArticleCache (mine is 300MB) and WriteBuffer (mine is 4096k) if you haven't already -these made a big difference for me

jackiass2
Posts: 42
Joined: 19 Nov 2013, 12:07

Re: To SSL or not to SSL

Post by jackiass2 » 09 Oct 2015, 15:43

I'm on the same setup. Do you have the InterDIr set to the same drive as the DestDir?

Post Reply

Who is online

Users browsing this forum: No registered users and 49 guests