Date: Sat, 18 Dec 1999 05:37:49 +1100 From: death <death@southcom.com.au> To: freebsd-questions@FreeBSD.ORG Subject: Samba 2.0.6 & broken TCP_NODELAY option Message-ID: <4.2.2.19991218053300.00b08320@mail.southcom.com.au>
next in thread | raw e-mail | index | archive | help
Hi,
I'm using FreeBSD 3.4-RC with Samba 2.0.6 compiled from the ports (ports
have been cvsupped at the same time as /src)
The smb.conf entry:
socket options = TCP_NODELAY
Doesn't work. Transfers to the samba server are dog slow at 200KB/s with or
without the option. Transfers from the server are fine either way.
Doing the following instantly fixes the speed problem:
sysctl -w net.inet.tcp.delayed_ack=0
BTW, i noticed some odd things in my smb.log:
[1999/12/18 04:53:01, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[1999/12/18 04:53:01, 0] lib/util_sock.c:set_socket_options(151)
Failed to set socket option TCP_NODELAY (Error Bad file descriptor)
[1999/12/18 04:53:41, 1] smbd/server.c:main(643)
smbd version 2.0.6 started.
Copyright Andrew Tridgell 1992-1998
[1999/12/18 04:53:41, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 10000 open files, 2078 are available.
[1999/12/18 04:53:41, 0] smbd/server.c:main(702)
standard input is not a socket, assuming -D option
Is this desired? Is there a better way to fix samba to get better
performance? Am i doing something wrong?
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.19991218053300.00b08320>
