Results 1 to 6 of 6

Thread: NFS only reaches 2.3 mb/s anyone know how to speed it up?

  1. #1
    Join Date
    May 2007
    Location
    Northern Ireland
    Beans
    494
    Distro
    Ubuntu 12.10 Quantal Quetzal

    NFS only reaches 2.3 mb/s anyone know how to speed it up?

    Hi,

    so I have 2 computers, both running ubuntu 12.04.


    On 1 I have set up an nfs share, and the other mounts this share.

    the computer acting as the nfs server is wired to my router via gigabit ethernet.

    The client is on wireless.

    however NFS only seems to reach 2.3 mb/s..

    where as sshfs (mounted through nautilus) often reaches 5 mb/s..

    anyone any ideas?

    I tried tweaking the rsize and wsise, however it didnt make much of a difference..

    export variables are as follows:

    Code:
    (rw,fsid=0,crossmnt,nohide,insecure,no_root_squash,no_subtree_check,no_wdelay,sync)
    and

    Code:
    (rw,crossmnt,nohide,insecure,no_root_squash,no_subtree_check,no_wdelay,sync)
    Last edited by androssofer; August 29th, 2012 at 03:34 PM.
    "Those who make peaceful protest impossible make violent revolution inevitable"

  2. #2
    Join Date
    May 2007
    Location
    Northern Ireland
    Beans
    494
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: NFS only reaches 2.3 mb/s anyone know how to speed it up?

    bumpy bump
    "Those who make peaceful protest impossible make violent revolution inevitable"

  3. #3
    Join Date
    Mar 2006
    Location
    The Internet
    Beans
    1,817
    Distro
    Ubuntu

    Re: NFS only reaches 2.3 mb/s anyone know how to speed it up?

    Typically NFS is much faster than ssh / sshfs. Are both machines running the stock Ubuntu kernel?

  4. #4
    Join Date
    May 2007
    Location
    Northern Ireland
    Beans
    494
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: NFS only reaches 2.3 mb/s anyone know how to speed it up?

    yeah both plain old Ubuntu desktop 12.04.

    I thought it might have been because the files where on a fat32 partition (external HD, usb 3), so moved a few to the Ubuntu ext4 partition and got the same speed...

    network card issue perhaps?

    The MTU on the router is set at 1500, as thats the largest its supports.. so maybe dropped packets due to fragmentation?
    "Those who make peaceful protest impossible make violent revolution inevitable"

  5. #5
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: NFS only reaches 2.3 mb/s anyone know how to speed it up?

    Try adding "rsize=32768,wsize=32768" to the options in the NFS entry in the client's fstab. Also "async" is typically much faster than "sync". On stable networks, the potential loss of data is pretty small.
    If you ask for help, do not abandon your request. Please have the courtesy to check for responses and thank the people who helped you.

    Blog · Linode System Administration Guides · Android Apps for Ubuntu Users

  6. #6
    Join Date
    May 2007
    Location
    Northern Ireland
    Beans
    494
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: NFS only reaches 2.3 mb/s anyone know how to speed it up?

    Quote Originally Posted by SeijiSensei View Post
    Try adding "rsize=32768,wsize=32768" to the options in the NFS entry in the client's fstab. Also "async" is typically much faster than "sync". On stable networks, the potential loss of data is pretty small.
    the async seems to have brought it up to about 5mb/s

    was expecting more, but its enough for HD video .
    "Those who make peaceful protest impossible make violent revolution inevitable"

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
  •