From owner-freebsd-questions Fri Apr 17 19:45:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA14406 for freebsd-questions-outgoing; Fri, 17 Apr 1998 19:45:22 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from freebie.lemis.com (freebie.lemis.com [139.130.136.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA14322 for ; Sat, 18 Apr 1998 02:45:12 GMT (envelope-from grog@lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id MAA06280; Sat, 18 Apr 1998 12:14:55 +0930 (CST) (envelope-from grog) Message-ID: <19980418121455.V1090@freebie.lemis.com> Date: Sat, 18 Apr 1998 12:14:55 +0930 From: Greg Lehey To: Julian Elischer Cc: Eddie Irvine , freebsd-questions@FreeBSD.ORG Subject: Re: ed0 device: Gruesome performance with TCP References: <01bd6a5b$b83214e0$a51a1acb@gretchen> <19980418113115.T1090@freebie.lemis.com> <35380D28.3F54BC7E@whistle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <35380D28.3F54BC7E@whistle.com>; from Julian Elischer on Fri, Apr 17, 1998 at 07:17:12PM -0700 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 17 April 1998 at 19:17:12 -0700, Julian Elischer wrote: >>> Any pointers as to where I should start troubleshooting? >>> I due to all the collisions that occur I'm beginning to think >>> it is a shonky card. >> >> Microsoft creates a new TCP connection for every packet. Microsoft's >> IP software seems to be able to handle this overload relatively well, >> since it's monolithic, but samba requires several context switches, >> which makes it much slower. You should have the socket option >> TCP_NODELAY set in your configuration file. See page 493 of "The >> Complete FreeBSD", second edition. > > You're terribly confused :-) No, just ill-informed if you're correct. I don't use Microsoft, but people I trust have told they do it this way, and you're the first person who's told me that they don't. > they do NOT create "a new TCP connection for every packet" > They have the capacity to restart a session at any time, but > they do not do so normally. > > sounds to me as if his enet card is stuffed.. Then you would expect it to hit other things as well. This is the behaviour that has been described to me. Admittedly, there is no reason to expect collisions in these circumstances. > There may be some tunable options that will make samba run > better on freeBSD as well but I can't help there.. Eddie, why don't you try it? I'm not guaranteeing anything, but it would give us an idea as to whether that's the problem. Greg -- See complete headers for address and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message