I have been struggling at work with the same problem for the last few months, 
and accidentally stumbled on a fix that seems to work under Ubuntu 12.04 
(3.5.0-32-generic 64-bit kernel) :
 
1. On clients set rsize=8192,wsize=8192 in /etc/fstab (Smaller values of 
rsize,wsize will also work, but reduce throughput).

Previously with rsize=wsize=32K, any 2 clients writing large files to
our server (with 1 Gbit NICs for clients and 2x1Gbit NICs for the
server) would freeze : all clients would appear to hang on accessing the
NFS server, but the hang would eventually resolve itself (after several
hours of writes at around 100k/sec on the server grinding away
continuously with jbd2, or within minutes if one of the 2 clients with
the large writes temporarily had its ethernet turned off and then back
on after the other client's write had completed).

Now 4 clients can write to the server at 53 MB/sec saturating the server
bandwidth at 210 MB/sec and the network and server remain responsive
from other interactive clients.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/879334

Title:
  nfsd from nfs-kernel-server very slow and system load from 25%-100%
  from nfsd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/879334/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to