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?

Here is an extract from the Debian smb.conf:

# 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.

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