Date: Tue, 11 Apr 2000 13:44:59 -0700 From: Aaron Smith <aaron-fbsd@mutex.org> To: freebsd-questions@freebsd.org Cc: aaron-fbsd@mutex.org Subject: poor samba write performance from win98 Message-ID: <20000411134459.E89057@gelatinous.com>
next in thread | raw e-mail | index | archive | help
hello, i've seen this problem come up many times in the archives, and i've tried lots of different options without success. i am using a win98 box to write to a freebsd 4.0 samba 2.0.6 share. i have tried all kinds of socket options, bigger send/recv windows, strict sync is off. this is a 100baseTX full-duplex (switched) four-node LAN. ftp write: about 4-5 megabytes/sec samba read: around 4 megabytes/sec samba write from explorer shell: about 500k/sec save from netscape of local file to share: about 1.2 megabytes/sec none of these have been rigorous measurements, but it's clear to me that something's wrong. copying a 30meg file should not take a minute and a half on switched fast ether. i have tried with/without the NODELAY and LOWDELAY stuff, set my buffers up to values ranging from 8192 to 131072 (262144 fails with a no buffer space available message) and generally tweaked until i turned blue. i've done tcpdumps and i'm getting mostly full packets (1460 data bytes) and i didn't notice anything wrong in the traces. the poor explorer shell performance would point to strict sync, but it's off. if anybody has any ideas, please let me know. my current (culled) smb.conf follows. aaron -- [global] log file = /var/log/samba.log max log size = 128 security = user socket options = IPTOS_LOWDELAY TCP_NODELAY \ SO_RCVBUF=131072 SO_SNDBUF=131072 strict sync = no local master = no dns proxy = no [share] comment = Shared Files path = /share read only = no public = yes 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?20000411134459.E89057>