From owner-freebsd-questions Mon Nov 15 2:56:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ricardis.ricardis.tudelft.nl (ricardis.ricardis.tudelft.nl [130.161.58.2]) by hub.freebsd.org (Postfix) with SMTP id 5C41715028 for ; Mon, 15 Nov 1999 02:56:45 -0800 (PST) (envelope-from rik@ricardis.tudelft.nl) Received: (qmail 79785 invoked by uid 1001); 15 Nov 1999 10:56:43 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 15 Nov 1999 10:56:43 -0000 Date: Mon, 15 Nov 1999 11:56:43 +0100 (CET) From: Rik van Mierlo To: Edirol Cc: freebsd-questions@FreeBSD.ORG, Marty Cawthon Subject: Re: SAMBA / 3.3-Stable / transfer delay In-Reply-To: <004801bf2d38$dbbedb40$0300a8c0@anime.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 Nov 1999, Edirol wrote: > I'm using 3.3-RELEASE with Samba 2.05 (installed from ports) and I notice > that there's a ~5sec delay in opening a file on the FBSD server from a > Win98SE machine sometimes. My transfer speeds aren't affected however. > > I haven't tried Samba 2.06 yet though. > > - Will > > ----- Original Message ----- > From: Marty Cawthon > To: > Cc: > Sent: Thursday, November 11, 1999 4:21 PM > Subject: SAMBA / 3.3-Stable / transfer delay > > > > I am experiencing a "one-way delay" in file transfers from Microsoft > Clients > > (Windows 95 and Windows NT) to Samba. > > > > FreeBSD 3.3-Stable as of Oct 8 1999 > > samba 2.0.5 installed from the ports collection > > smb.conf includes this line: > > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SENDBUF=16384 > SO_RCVBUF=16384 > > (originally it had just 'TCP_NODELAY' > > but I added the others per suggestions found in on-line resources) > > > > Network is a 10/100 Mbps Bay Switch with all below running 100 Mbps > > ------------------------------------------------------------------------- > > Client Send 1MB to SAMBA Receive 1MB from SAMBA > > copy e:\test\file u:\ copy u:\file e:\test > > ------------------------ ---------------------- ---------------------- > > Microsoft Windows 95 15 seconds Instantaneous > > Microsoft Windows NT4 15 seconds Instantaneous > > IBM OS/2 + TCP/IP 4.1 Instantaneous Instantaneous > > ------------------------------------------------------------------------- > > (IBM OS/2 TCP/IP 4.1 is an optional IBM TCP/IP stack for OS/2 > > which IBM describes as a "BSD 4.3 stack") > > > > I had mentioned this at FreeBSDCon, and several people had suggestions, > > most mentioned the "TCP_NODELAY" option. > > > > I still see this delay. > > Do others run 3.3-Stable and Samba also see this type of delay? > > Are there other suggestions for solving this trouble? > > > > Marty Cawthon > > ChipChat > > The "one-way delay" turns out to be a two-way-delay. I experienced the same problems, but when I used smbclient to connect to a Windows NT4 box instead of the other way around, the put command was about 4 times slower than the get command. So it seems to me that putting a file is slower than getting a file. I don't know whether this is possible (isn't get the same as put?) but I hope this gives you another idea as to where to look for the problem. -Rik van Mierlo -rik@ricardis.tudelft.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message