Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 1998 12:14:55 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Julian Elischer <julian@whistle.com>
Cc:        Eddie Irvine <eirvine@tpgi.com.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ed0 device: Gruesome performance with TCP
Message-ID:  <19980418121455.V1090@freebie.lemis.com>
In-Reply-To: <35380D28.3F54BC7E@whistle.com>; from Julian Elischer on Fri, Apr 17, 1998 at 07:17:12PM -0700
References:  <01bd6a5b$b83214e0$a51a1acb@gretchen> <19980418113115.T1090@freebie.lemis.com> <35380D28.3F54BC7E@whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980418121455.V1090>