From owner-freebsd-questions Tue Apr 11 13:50:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from satan.freebsdsystems.com (24.69.168.6.on.wave.home.com [24.69.168.6]) by hub.freebsd.org (Postfix) with ESMTP id 3A7AF37BADA for ; Tue, 11 Apr 2000 13:50:21 -0700 (PDT) (envelope-from lnb@satan.freebsdsystems.com) Received: (from lnb@localhost) by satan.freebsdsystems.com (8.9.3/8.9.3) id QAA17973; Tue, 11 Apr 2000 16:52:35 -0400 (EDT) (envelope-from lnb) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000411134459.E89057@gelatinous.com> Date: Tue, 11 Apr 2000 16:52:35 -0400 (EDT) Organization: FreeBSD Systems Inc. From: Lanny Baron To: Aaron Smith Subject: RE: poor samba write performance from win98 Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, A suggestion; Send this mail to samba-technical@samba.org They will be able to help you there as the core samba team is on that list. -lnb Official Canadian Mirror for Samba On 11-Apr-00 Aaron Smith wrote: > 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 Lanny Baron, Master FreeBSD Administrator ---------------------------------- Date: 11-Apr-00 Time: 16:52:35 My mother loved children -- she would have given anything if I had been one. -- Groucho Marx ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message