Results 1 to 2 of 2

Thread: NFS - slow write speed

  1. #1
    Join Date
    Sep 2008
    Location
    Ohio
    Beans
    963
    Distro
    Ubuntu 10.04 Lucid Lynx

    NFS - slow write speed

    I just tried NFS for the first time after reading that it's considerably faster than SSHFS, which I currently use, but I'm experiencing slow write speeds and problems while copying files in nautilus.


    Server (swaim) - Debian Lenny:
    Quote Originally Posted by /etc/exports
    /data system76-pc(rw,sync,no_subtree_check)

    Client (system76-pc) - Ubuntu 10.04
    Code:
    mount -t nfs swaim.local:/data Desktop/nfsmount

    A 1.2 GB file over NFS:

    Write:
    Code:
    dd if=Desktop/new\ downloads/Pioneer.One.S01E01.720p.x264-VODO/Pioneer.One.S01E01.720p.x264-VODO.mkv of=Desktop/nfsmount/pioneer-test.mkv
    2289665+1 records in
    2289665+1 records out
    1172308607 bytes (1.2 GB) copied, 212.575 s, 5.5 MB/s
    Read:
    Code:
    dd if=Desktop/nfsmount/pioneer-test.mkv of=Desktop/pioneer-test.mkv
    2289665+1 records in
    2289665+1 records out
    1172308607 bytes (1.2 GB) copied, 115.838 s, 10.1 MB/s

    Next I copied the same file in Nautilus:
    sshfs write: 3:51 (~4.84 MB/s)
    sshfs read: 3:42 (~5.04 MB/s)
    nfs write: 3:46 (~4.85 MB/s) (File Operations dialog (and nautilus) froze during the transfer, but it finished eventually)
    nfs read: 2:28 (~7.55 MB/s)


    Are these reasonable speeds? I was excited after seeing these benchmarks, but I'm not seeing impressive results other than read speed.

  2. #2
    Join Date
    Sep 2008
    Location
    Ohio
    Beans
    963
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: NFS - slow write speed

    bump

    Also, when copying files (client->server) in Nautilus, I get extremely heavy RAM usage on the client (copying 11 GB in 22 files with Firefox and Nautilus open). free -m shows 31 M free out of 3930. The transfer started very fast (~25 MB/s) then dropped down to ~3-5 MB/s with intermittent freezing.

    Edit: Same thing using cp -r. I had to kill the transfer because everything else was freezing up.
    Last edited by marshmallow1304; July 12th, 2010 at 05:05 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •