Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jan 2000 02:33:38 +1100
From:      james <death@southcom.com.au>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Samba slowness
Message-ID:  <4.2.2.20000105022422.00daa3e0@mail.southcom.com.au>

next in thread | raw e-mail | index | archive | help

Hi,

I'm still having trouble with getting Samba to transfer files above 300KB/s.

As i've seen in the docs and have had suggested to me, i've tried every 
combination of options in:

    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=131072 
SO_RCVBUF=131072

as i can but it doesn't speed it up.

The _only_ thing which seems to work is doing:

sysctl -w net.inet.tcp.delayed_ack=0

which shows an immediate speed increase (say, if i typed it during a large 
file transfer) upto 4MB/s. I don't want to do this because it slows 
everything else down (like ftp). I'm guessing it's the same as the 
TCP_NODELAY option but it defaults to all sockets when set with sysctl.

Is there anything that can be wrong with my setup - or is Samba (or the 
port) broken? I'll provide any settings/config/output etc for anything if 
you need it.

Cheers





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.2.20000105022422.00daa3e0>