From owner-freebsd-questions Tue Apr 11 13:45: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cube.gelatinous.com (cube.gelatinous.com [207.82.194.150]) by hub.freebsd.org (Postfix) with SMTP id 51BEB37BADA for ; Tue, 11 Apr 2000 13:44:59 -0700 (PDT) (envelope-from aaron@gelatinous.com) Received: (qmail 23546 invoked by uid 1000); 11 Apr 2000 20:44:59 -0000 Date: Tue, 11 Apr 2000 13:44:59 -0700 From: Aaron Smith To: freebsd-questions@freebsd.org Cc: aaron-fbsd@mutex.org Subject: poor samba write performance from win98 Message-ID: <20000411134459.E89057@gelatinous.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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