NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Zurd
Jul 28, 2020Star
RN214 - Extremely slow with zip files
Hi, I have a ReadyNAS 214 and it used to be fine before but since about 6-8 months or so, it is extremely painfully slow to compress / decompress zip files. Is it normal? Why would it be so slow? Any...
StephenB
Aug 05, 2020Guru - Experienced User
Zurd wrote:
(which I think is called 802.3ad)
802.3ad is one method of bonding (also called LACP) - but that is not the method you were using. Not all switches support LACP.
Zurd wrote:
I understand what you mean by process time and global time and SMB latency, it really makes sense. The RN214 has USB ports, if it is possible to plug it as an external storage in my desktop, then it should be much faster if we bypass the network then? I'm reading the documentation but I can't see anywhere if you can do that. Can a RN214 works as an external hard drive with USB?
You have to use ethernet, there is no way to connect to your PC using USB.
You could test with NFS and see if that has less latency.
Zurd
Aug 06, 2020Star
Too bad we cannot use the RN214 with USB as an external storage, that would have been a very interesting test.
For another test like you suggested, I just disabled SMB and enabled NFS, All squash and mapped to UID and GID 100 of my user in the ReadyNAS, then I mount it: sudo mount -t nfs 192.168.13.2:/VOLUME/SHARE /media/readynas/
For Windows, a bit more complex, you need to install "Service for NFS" in Control Panel, then modify the registry with AnonymousUid and AnonymousGid with a value of zero, reboot and run in terminal: mount -o anon \\192.168.13.2\VOLUME\SHARE Z: (there's is tutorial about this, just google it)
And here's the new results:
Laptop - Windows - From mechanical HD to mechanical HD = 16s
RN214 - SSH - From NAS to NAS =14.6s
Desktop - Linux - Wired - GUI - From NAS to NAS = 37s
Desktop - Linux - Wired - Terminal - From NAS to NAS = 31.5s
Laptop - Windows - Wireless - From NAS to NAS = 31m56
Wow! What a big difference in Linux! In terminal, it's now only 215% slower compared to extracting in SSH right in the NAS.
However, it is MUCH worse in Windows! It is 3 times slower, ouch. Seems like NFS doesn't play nicely in Windows. It was better with SMB.
In any case, it is more complex to use NFS than SMB and I read on the internet it is less secure than SMB and it's kind of deprecated today. Whatever the results was, I will still use SMB.
So, since it's really an issue of network latency and/or network protocol (SMB/NFS) overhead, that means that in the future, when my network is all 10 gbps (router, switch, ethernet card, cables), then it should be faster?
- StephenBAug 06, 2020Guru - Experienced User
Zurd wrote:
So, since it's really an issue of network latency and/or network protocol (SMB/NFS) overhead, that means that in the future, when my network is all 10 gbps (router, switch, ethernet card, cables), then it should be faster?
My tests were using a 10 gbps network (though I didn't try disabling strict sync).
- ZurdAug 09, 2020Star
Interesting, I would have guess that a 10 gbps network would have made a much more noticeable difference.
It's not a big test but I just tried something new. Before, I had my desktop wired into a small unmanaged switch (Netgear GS308v2) which goes into my router then the modem and my RN214 was going into my router. Now, both desktop and RN214 goes into the switch.
Laptop - Windows - From mechanical HD to mechanical HD = 12s
RN214 - SSH - From NAS to NAS = 14.8s
Desktop - Linux - Wired - GUI - From NAS to NAS = 1m52
Desktop - Linux - Wired - Terminal - From NAS to NAS = 1m51
Laptop - Windows - Wireless - From NAS to NAS = 10m27s
Pretty much no changes, it was kind of to be expected. Interesting to note that 7z decompress a file in terminal in 1m51 and the unzip command on the same file takes 4m42.
I might have another test to do with a managed switch in the future (just for fun) but for now you could consider this resolved by removing the bond I had because I didn't had any ethernet flow control in my router, now I'll just use one ethernet cable. I still find it slow but I guess that's to be expected from a NAS :)
Thank you very much StephenB, you have been very patient and helpful!
- StephenBAug 09, 2020Guru - Experienced User
I'm glad I could help.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!