I am struggling with some painfully slow performance with an NFS mount of my QNAP server. My download speed from the server is about 1.5 megabytes/second and listing the contents of a directory of 1000 items takes about 60 seconds. I am a networking and linux newbie so I'm looking for some insight on how I can troubleshoot this problem. Hopefully someone has seen a similar problem before.
I'm working with a QNAP Ts-212 server, the client is a ThinkPad T440p laptop running Linux mint 18.1 Cinnamon, and the router is a Netgear R6300v2. I mounted the server using automount rather than fstab.
Thanks for any help you can provide.
Slow NFS Performance (TS-212 Server/Linux Mint Client)
-
- New here
- Posts: 5
- Joined: Tue Sep 18, 2012 11:15 pm
- dolbyman
- Guru
- Posts: 35275
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
wired or wireless connectiin?
-
- New here
- Posts: 5
- Joined: Tue Sep 18, 2012 11:15 pm
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
The client is wireless. I have the TS212 wired to the router though.
- dolbyman
- Guru
- Posts: 35275
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
try the speed with a wired client ..so you know it is not the wifi
-
- New here
- Posts: 5
- Joined: Tue Sep 18, 2012 11:15 pm
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
You were definitely right. After I hardwired everything, speeds went up to 60-65 megabytes per second. So what could restrict the NFS and other networking protocols over wifi that doesn't seem impact my Internet connectivity as well?
Thank you so much for your help! Feels good to make some headway after running in circles for hours.
Thank you so much for your help! Feels good to make some headway after running in circles for hours.
- dolbyman
- Guru
- Posts: 35275
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
is the wifi transfer speed better, when a single large file is moved ?
check if there is qos activated on the router (some qos have static speed limits)
check if there is qos activated on the router (some qos have static speed limits)
-
- New here
- Posts: 5
- Joined: Tue Sep 18, 2012 11:15 pm
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
There doesn't appear to be a noticeable difference between transferring one large file or many small files. I also reviewed the QoS settings on my router and they allow you to prioritize certain activities over others (like FTP vs NFS) but don't allow static limits. I did assign NFS a "High Priority" but there was no impact on performance.dolbyman wrote:is the wifi transfer speed better, when a single large file is moved ?
check if there is qos activated on the router (some qos have static speed limits)
- schumaku
- Guru
- Posts: 43578
- Joined: Mon Jan 21, 2008 4:41 pm
- Location: Kloten (Zurich), Switzerland -- Skype: schumaku
- Contact:
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
Of course not. A consumer router with QoS handling on the GbE switched ports Or do you mount NFS over the router public IP address and using NAT loopback?drake0 wrote:There doesn't appear to be a noticeable difference between transferring one large file or many small files. I also reviewed the QoS settings on my router and they allow you to prioritize certain activities over others (like FTP vs NFS) but don't allow static limits. I did assign NFS a "High Priority" but there was no impact on performance.
Start with a wired GbE network connection. WiFi performs great in marketing numbers only.
- dolbyman
- Guru
- Posts: 35275
- Joined: Sat Feb 12, 2011 2:11 am
- Location: Vancouver BC , Canada
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
Not between the switched ports, but between wired and wireless clients, some manufacturers have network boosts that promise guaranteed DLNA bandwidths etc. .. many of them are closed source by the radio chip manufacturers (Qualcom,Quantenna,etc.) so what (and if ) they do .. is a mysteryschumaku wrote: A consumer router with QoS handling on the GbE switched ports
-
- New here
- Posts: 5
- Joined: Tue Sep 18, 2012 11:15 pm
Re: Slow NFS Performance (TS-212 Server/Linux Mint Client)
Not that I know of. I just set it up with a static ip on my network and I don't think its accessible via a public ip.schumaku wrote: Or do you mount NFS over the router public IP address and using NAT loopback?
I already have the server connected via Gbit ethernet but hardwiring the client isn't feasible because I don't have an ethernet port near my desk. I also like to sit on my couch browsing on my laptop while its also acting as a server for media that I am watching on TV so being untethered is preferable. I understand that I will never get close to the marketing 300mbit numbers but I feel like 80 - 100 transfer rates should be a reasonable expectation and this would also make it more than usable on a daily basis.schumaku wrote:Start with a wired GbE network connection. WiFi performs great in marketing numbers only.
Here is another interesting development. The slowdown seems to impact more than just my NFS transfer rates. When I start from a fresh reboot I get usable internet speeds of about 30mbit. Once the automount starts and I start browsing files on my server though, everything slows down to between 1 and 5 mbits per second (this includes internet). If I restart the network-manager service my internet speed goes back to less than 5. I have repeated the process multiple times to verify.