What can I do to optimize NFS copy speed on a 1GBit home network? [closed]

You're getting beaten by the overhead. You want to look into jumbo frames and also expand your nfs read/write data size. There's lots of guides to NFS performance tuning on the 'net, like this one that doesn't look too out of date.

Also realize that you're never going to be able to do better than disk speed, so make sure that's not a bottleneck.


You should defiantly look into jumbo frames. Even cheap 5 port GbE hubs can do it these days, however you have to enable jumbo frames on both ends of the connection. To enable jumbo frames, do this

ifconfig eth0 mtu 9000

Here are the mount options that I use when automounting home directories from our filer

rw,intr,soft,nfsvers=3.tcp,nolock,noatime,rsize=32768,wsize=32768

Please update the question and let us know if this improves the situation


Jumbo frames can certainly help, but don't expect it to magically give you 100% increase in throughput. Check out my post here in another question that discusses a way to test network throughput without bringing disk i/o into the picture. This will give you a baseline to see if there are perhaps other factors not related to the network.

If you do plan on enabling Jumbo Frames, as some here have suggested, please be aware of some limitations and requirements.

  • All devices along the path must support and have jumbo frames enabled. This includes:
    • Both the sending and receiving nic
    • Both switch ports the devices are connected to
    • All L2 switch ports along the path from sender to receiver (switch-to-switch connections)
    • All L3 interfaces along the path, if applicable
  • Make absolutely sure that all devices in the same vlan support and are configured for jumbo frames.

Reason for the second bullet: Consider two PCs setup in the same vlan, one configured for 9000 byte frames, and the other for 1500 byte frames. The PC1, configured for standard frames, will be able to send packets successfully to PC2. However, the reply that PC2 send will all be 9000 byte frames. Since PC1 is configured for standard frames, it will be unable to process the jumbo frames, and they will be dropped. To fix this issue, you'll need to insert an L3 device (router) between the two PCs so they are able to communicate.


Bottleneck can be your network or your hard drives. First of all check which are, then optimize.