From owner-freebsd-net Mon Oct 25 9:55:46 1999 Delivered-To: freebsd-net@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id DEED4151DB for ; Mon, 25 Oct 1999 09:55:44 -0700 (PDT) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id KAA03209; Mon, 25 Oct 1999 10:16:23 -0700 (PDT) Date: Mon, 25 Oct 1999 10:16:22 -0700 (PDT) From: Alfred Perlstein To: Tony Jago Cc: Julian Elischer , freebsd-net@FreeBSD.ORG Subject: Re: Very Poor Samba -> Win9x performance [more] In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 25 Oct 1999, Tony Jago wrote: > > Further to my problem with slow smbclient "put"'s. > > 1. FreeBSD 3.[23] machine -> Win98 slow (9k per second). > 2. Solaris machine -> Win98 fast (500+k per second). > 3. FreeBSD 2.2.7 machine -> Win98 fast (500+k per second). > > Just incase I was doing something insane, I installed a brand new > 3.3-RELEASE machine running the GENERIC kernel, installed samba from the > ports and did a smbclient "put" - still very slow performance. This is > very repeatable, I have tryed this on 3 different hardware platforms on > different networks and different network cards, they all do exactly the > same thing. > > Tweeking with the samba config file makes no difference, this must be > something way beyond that. We are talking 9k a second, not much more then > a modem out of 100M ethernet cards on switched networks! These machine > can ftp at rates closer to 5 megabytes a second and above. > > smbclient \\\\win98box\\test -N -c "put 1mfile" > > Could some reading this that has samba installed on a FreeBSD 3.3 machine > please try this just so that I know that I am not going insane? After compiling the port please go into the work/samba*/lib dir, check the file "util_sock.c", make sure that around a line that looks like this: #endif /* WITH_SSL */ that below it there are 2 lines: #undef MSG_WAITALL #define MSG_WAITALL 0 (and please don't cross-post) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message