I have a NFS server hooked up to a client over a wireless network (n-router, b/g-client). I have terribly slow transfer rates of around 1.00
to 1.50 MB/s
. I cannot seem to figure out how to improve this.
I have played around with rsize/wsize
but it doesn't seem to make a difference.
My exports
on the server is the following:
cat /etc/exports
<SERVER-DIR> *(rw,async,no_subtree_check)
On the client side I see this:
cat /proc/mounts
<SERVER-IP>:<SERVER-DIR> <CLIENT-DIR> nfs4 rw,relatime,vers=4.0,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=<CLIENT-IP>,local_lock=none,addr=<SERVER-IP> 0 0
Shouldn't be able to achieve up to 6-times higher transfer rates?
For comparison: Wired (100Mb/s):
dd if=/dev/zero of=test bs=1M count=128
134217728 bytes (134 MB) copied, 18.5636 s, 7.2 MB/s
Wireless:
dd if=/dev/zero of=test bs=1M count=128
134217728 bytes (134 MB) copied, 99.4493 s, 1.3 MB/s
ping
returns in about 0.75ms.