× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Readynas 104 - Slow transfer speeds

daelomin
Aspirant

Readynas 104 - Slow transfer speeds

Dear all,

 

I recently lost all my data to corruption of the array of my RN104. I've since then recreated an entirely new NAS based on NASware 4.0 TB drives in RAID5.

 

I have also thoroughly searched for improvements in transfer speeds : my ISP box provides 1Gbit so I've connected both my PC through a  10m CAT5E RJ45 cable and the NAS through a  3m CAT6 RJ45 cable to the box.

 

Now upon searching in the forum, I discovered a previous thread where it was advised to use NASTester for testing perf, as well as iperf3.

 

Here is the NASTester log:

 

NAS performance tester 1.7 http://www.808.dk/?nastester
Running warmup...
Running a 400MB file write on X: 5 times...
Iteration 1: 35,63 MB/sec
Iteration 2: 36,08 MB/sec
Iteration 3: 35,42 MB/sec
Iteration 4: 34,20 MB/sec
Iteration 5: 35,71 MB/sec
-----------------------------
Average (W): 35,41 MB/sec
-----------------------------
Running a 400MB file read on X: 5 times...
Iteration 1: 64,35 MB/sec
Iteration 2: 63,48 MB/sec
Iteration 3: 62,23 MB/sec
Iteration 4: 62,55 MB/sec
Iteration 5: 65,32 MB/sec
-----------------------------
Average (R): 63,59 MB/sec
-----------------------------

 

 

and here is the iperf3 from the nas to the PC:

 


root@miniNAS:~# iperf3 -c 192.168.1.30
Connecting to host 192.168.1.30, port 5201
[ 4] local 192.168.1.10 port 43260 connected to 192.168.1.30 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.01 sec 112 MBytes 928 Mbits/sec 0 215 KBytes
[ 4] 1.01-2.00 sec 111 MBytes 937 Mbits/sec 0 215 KBytes
[ 4] 2.00-3.00 sec 110 MBytes 927 Mbits/sec 0 215 KBytes
[ 4] 3.00-4.00 sec 112 MBytes 936 Mbits/sec 0 215 KBytes
[ 4] 4.00-5.00 sec 110 MBytes 922 Mbits/sec 0 215 KBytes
[ 4] 5.00-6.00 sec 112 MBytes 936 Mbits/sec 0 215 KBytes
[ 4] 6.00-7.00 sec 111 MBytes 935 Mbits/sec 0 215 KBytes
[ 4] 7.00-8.01 sec 112 MBytes 932 Mbits/sec 0 215 KBytes
[ 4] 8.01-9.00 sec 111 MBytes 936 Mbits/sec 0 215 KBytes
[ 4] 9.00-10.00 sec 111 MBytes 932 Mbits/sec 0 215 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 1.09 GBytes 932 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 1.08 GBytes 932 Mbits/sec receiver

iperf Done.

 

Clearly the iperf3 seems to give a correct 1Gbit speed, while the NASTester shows asymetric read & write speeds .. While I'm above a 100Mbits, it's not really the 90-100MB/s I'd like to see.

 

Any clue on what to look at for solving this?

 

Thanks

 

Message 1 of 14
daelomin
Aspirant

Re: Readynas 104 - Slow transfer speeds

Incidently, I have tried several things:

 

- use another cat5E cable and do all the permutations : CAT 6  +  first cat 5E, 2 cat5E, second cat5E+ cat 6

Nothing goes above 36MB/s in write..

 

-I tried using the lowest firewalls settings on the ISP box : no improvement

 

- I tried using the exact same MTU on PC & NAS : 1500 (PC was at 1504 on LAN, and 1500 on WAN). No improvement.

 

=> I'm running out of ideas....

Message 2 of 14
Retired_Member
Not applicable

Re: Readynas 104 - Slow transfer speeds

I think your numbers are not too bad. The RN104 is weak because of its cpu and ram. I have an RN104 and an RN204. While the 104 is doing 45 to 50 the 204 is doing 85 to 90 MB/sec (write speed) under exactly the same conditions infrastructurewise.

If you like you could go through a collection of hints how to improve statbility and performance of RN104 following this link:

https://community.netgear.com/t5/Idea-Exchange-for-ReadyNAS/Improving-performance-and-stability-of-R...

Message 3 of 14
daelomin
Aspirant

Re: Readynas 104 - Slow transfer speeds

NAS performance tester 1.7 http://www.808.dk/?nastester
Running warmup...
Running a 400MB file write on P: twice...
Iteration 1: 35,03 MB/sec
Iteration 2: 34,67 MB/sec
-----------------------------
Average (W): 34,85 MB/sec
-----------------------------
Running a 400MB file read on P: twice...
Iteration 1: 60,84 MB/sec
Iteration 2: 61,45 MB/sec
-----------------------------
Average (R): 61,15 MB/sec
-----------------------------

 

I've just tried to do bonding on both adresses & to set it to adaptive load balancing. Changes nothing in terms of speed... I'm afraid the slow CPU is indeed the culprit... I am wondering if I should scrap it and try a RAID10 maybe? Would that give me much performance that the NAS can actually handle? 

 

I havent started filling it, so there is still time.

 

 

Message 4 of 14
daelomin
Aspirant

Re: Readynas 104 - Slow transfer speeds

I have decided to scratch the RAID5 array and try a RAID10, see if that gives me more performance.

 

Right now the array is rebuilding so I guess the slow CPU is struggling.

 

I get this: 

NAS performance tester 1.7 http://www.808.dk/?nastester
Running warmup...
Running a 400MB file write on V: 5 times...
Iteration 1: 38,02 MB/sec
Iteration 2: 39,76 MB/sec
Iteration 3: 40,84 MB/sec
Iteration 4: 38,24 MB/sec
Iteration 5: 41,66 MB/sec
-----------------------------
Average (W): 39,71 MB/sec
-----------------------------
Running a 400MB file read on V: 5 times...
Iteration 1: 30,75 MB/sec
Iteration 2: 32,73 MB/sec
Iteration 3: 30,24 MB/sec
Iteration 4: 22,67 MB/sec
Iteration 5: 26,37 MB/sec
-----------------------------
Average (R): 28,55 MB/sec
-----------------------------

 

Worse than the established RAID5, but I'll post again when the RAID10 is built, see if changes anything... 

 

RAID0 would be optimal I guess, but I risk too much on RAID0 ... 

 

Message 5 of 14
jak0lantash
Mentor

Re: Readynas 104 - Slow transfer speeds


@daelomin wrote:

RAID0 would be optimal I guess, but I risk too much on RAID0 ... 


I don't think you should use that. RAID5 is the best compromise imho.

 

If you want to benchmark the volume locally, you could do that as well:

dd if=/dev/zero of=/data/benchmark.bin conv=fdatasync bs=10M count=200

Change /data by the name of your volume if you don't use "data".

Message 6 of 14
daelomin
Aspirant

Re: Readynas 104 - Slow transfer speeds

root@miniNAS:/# dd if=/dev/zero of=/TEST10/benchmark.bin conv=fdatasync bs=10M count=200
200+0 records in
200+0 records out
2097152000 bytes (2.1 GB) copied, 24.1608 s, 86.8 MB/s

Thanks for the tip Jak, basically I'm getting more than double the speed locally than through the network... weird innit? Would that point towards something?

 

 

Additionally, I saw that there is a finetuning app called SMB Plus.. but no apps are showing in my NAS Admin web. Any clue why they'd be missing?

Nevermind, I figured it out by connecting in ssh & doing : apt-get update

Upon rescanning the repositories, the apps reappeared.

 

However, SMB Plus now gives me a choice between SMB 3.0 (win8) and SMB 2.1 (Win7). Since I'm using Win7, should I switch back to 2.1?

Message 7 of 14
dmacleo
Guide

Re: Readynas 104 - Slow transfer speeds

depends, you running a server 2012 or 2012R2 or higher dns server on lan?

if no server then setting for win7 best bet, if have dns server on lan then you may see oddities locking to win7 version.

I have 314 and 104 here, both run about the same speeds transferring iso files over gb lan.

 

Message 8 of 14
daelomin
Aspirant

Re: Readynas 104 - Slow transfer speeds

No I don't run any server, it's quite a basic home setup with 3 windows PCs in Win7 and one linux box.

 

I'll try the setting then.

 

I am really surprised that your RN104 runs at same speed... Could it be the drives used? or maybe the smb conf?

 

Any chance you could copy paste your smb.conf here, for me to compare?

 

Message 9 of 14
StephenB
Guru

Re: Readynas 104 - Slow transfer speeds

Your speeds look fairly typical for the RN104 to me, so I think you are limited by the processor.

 

The RN314 is faster (especially on writes).

Message 10 of 14
daelomin
Aspirant

Re: Readynas 104 - Slow transfer speeds

root@UbRaid:~# dd if=/dev/zero of=/mnt/MiniNAS/Secured/benchmark.bin conv=fdatasync bs=10M count=200
200+0 records in
200+0 records out
2097152000 bytes (2,1 GB) copied, 45,0369 s, 46,6 MB/s

from my OLD (Ubutun 12.04 LTS) box, with the NAS share mounted in cifs, I get 46MB/s, which is at least 6MB/s more than from my windows PC.

 

I have been tweaking smbconf according to : https://www.arm-blog.com/samba-finetuning-for-better-transfer-speeds/

and I did gain a few MB/s as well. 

 

I wanna take your word for it that the CPU is the ultimate cap on this, but if someone has managed to build a RN104 with SATA drives going above that, I'm most interested !

 

 

Message 11 of 14
dmacleo
Guide

Re: Readynas 104 - Slow transfer speeds

I was mistaken about speeds, when I had last done a direct copy/paste it was to a non raid drive on the 104.

presently with all 4 discs in raid 5 I run (using a 7.5gb iso test file) approx 50Mbs on the 104 and 98-112Mbs on the 314

sorry about that

 

edit:corrected figure

also this is from win 10, server 2008r2, server 2012r2, Mint 18.1 sources.. all systems (sources) are close enough to call it no difference

Message 12 of 14
jak0lantash
Mentor

Re: Readynas 104 - Slow transfer speeds

*MB/s (or MBps), not Mbs

50Mb/s would be very slow ~= 6MB/s

Message 13 of 14
dmacleo
Guide

Re: Readynas 104 - Slow transfer speeds

yeah I have severe arthritis so crap happens typing

Message 14 of 14
Top Contributors
Discussion stats
  • 13 replies
  • 9673 views
  • 2 kudos
  • 5 in conversation
Announcements