I am having the same issues with nfs mounts.  IOZone tests would fail on
anything over 10Mb.  I recompiled nfs-common and it seams to have fixed
the issue for me.  Maybe this will help isolate the issue for everyone
else.  This was tested on my Lucid server.  Please don't laugh at my nfs
server performance.  I know it stinks.

Here's how I compiled nfs-utils:
r...@dev-0:~# apt-get install build-essential fakeroot dpkg-dev -y
r...@dev-0:~# mkdir build
r...@dev-0:~# cd build
r...@dev-0:~/build# apt-get source nfs-common
r...@dev-0:~/build# apt-get build-dep nfs-common -y
r...@dev-0:~/build# dpkg-source -x nfs-utils_1.2.0-4ubuntu4.dsc 
r...@dev-0:~/build# cd nfs-utils-1.2.0/
r...@dev-0:~/build/nfs-utils-1.2.0# dpkg-buildpackage -rfakeroot -b
r...@dev-0:~/build/nfs-utils-1.2.0# dpkg -i 
../nfs-common_1.2.0-4ubuntu4_amd64.deb

My Kernel:
Linux mup-4 2.6.32-26-server #47-Ubuntu SMP Wed Nov 17 17:05:29 UTC 2010 x86_64 
GNU/Linux

My IOZone test:
r...@dev-0:~# iozone -i0 -r4k -s1G -e -t1 -F /mnt/slow/vol16/test
        Iozone: Performance Test of File I/O
                Version $Revision: 3.308 $
                Compiled for 64 bit mode.
                Build: linux 

        Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                     Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                     Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                     Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                     Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy,
                     Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root.

        Run began: Fri Dec  3 15:20:33 2010

        Record Size 4 KB
        File size set to 1048576 KB
        Include fsync in write timing
        Command line used: iozone -i0 -r4k -s1G -e -t1 -F /mnt/slow/vol16/test
        Output is in Kbytes/sec
        Time Resolution = 0.000001 seconds.
        Processor cache size set to 1024 Kbytes.
        Processor cache line size set to 32 bytes.
        File stride size set to 17 * record size.
        Throughput test with 1 process
        Each process writes a 1048576 Kbyte file in 4 Kbyte records

        Children see throughput for  1 initial writers  =    2341.93 KB/sec
        Parent sees throughput for  1 initial writers   =    2341.93 KB/sec
        Min throughput per process                      =    2341.93 KB/sec 
        Max throughput per process                      =    2341.93 KB/sec
        Avg throughput per process                      =    2341.93 KB/sec
        Min xfer                                        = 1048576.00 KB

        Children see throughput for  1 rewriters        =    3055.24 KB/sec
        Parent sees throughput for  1 rewriters         =    3055.22 KB/sec
        Min throughput per process                      =    3055.24 KB/sec 
        Max throughput per process                      =    3055.24 KB/sec
        Avg throughput per process                      =    3055.24 KB/sec
        Min xfer                                        = 1048576.00 KB


iozone test complete.

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

Title:
  System lock-up when receiving large files (big data amount) from NFS server

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

Reply via email to