Results 1 to 3 of 3

Thread: SAMBA - Low transfer speed

  1. #1
    Join Date
    Jul 2008
    Location
    United Kingdom
    Posts
    1,146

    Default SAMBA - Low transfer speed

    I'm getting very low transfer speeds with Samba, around 1.4MB/s when copying over files under Vista.

    Navigating goes just fine and responds quite fast. Not sure what my transfer speed is via NFS as I've Vista Business and NFS support only seems to be available to Enterprise/Ultimate.

    It has to be a lot faster though, as I wrote an application that creates thumbnails and where it takes around half a second under linux/nfs it takes up to 7 seconds or so under Vista/Samba.

    The network should be quite fast as I've a gigabit router, cable and port. Any thing I can change to speed things up a bit?

  2. #2
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: SAMBA - Low transfer speed

    Here is an extract from the Debian smb.conf:
    Code:
    # Most people will find that this option gives better performance.
    # See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
    # for details
    # You may want to add the following on a Linux system:
    #         SO_RCVBUF=8192 SO_SNDBUF=8192
    #   socket options = TCP_NODELAY
    I don't really know whether the two recommended lines:
    SO_RCVBUF=8192 SO_SNDBUF=8192
    and
    socket options = TCP_NODELAY
    are any benefit, but there it is FWIW.

    In our openSUSE filesystem, the page they reference is at:
    /usr/share/doc/packages/samba/htmldocs/Samba3-HOWTO/speed.html
    It's an interesting read.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  3. #3
    PV NNTP User

    Default Re: SAMBA - Low transfer speed

    On Mon September 7 2009 01:56 pm, swerdna wrote:

    >
    > Here is an extract from the Debian smb.conf:
    >
    > Code:
    > --------------------
    > # Most people will find that this option gives better performance.
    > # See smb.conf(5)

    and /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/speed.html
    > # for details
    > # You may want to add the following on a Linux system:
    > # SO_RCVBUF=8192 SO_SNDBUF=8192
    > # socket options = TCP_NODELAY
    > --------------------
    >
    > I don't really know whether the two recommended lines:
    > SO_RCVBUF=8192 SO_SNDBUF=8192
    > and
    > socket options = TCP_NODELAY
    > are any benefit, but there it is FWIW.
    >
    >

    Axeia & Swerdna;

    Newer kernels are generally much better at setting the buffer sizes, thus the
    SO_rcvbuf and SO_sndbuf socket options are not recommended. Tcp_nodelay is
    considered worth while setting. I suppose it does no harm to experiment, but
    don't expect miracles.
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

Posting Permissions

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