Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 1998 10:19:51 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Eddie Irvine <eirvine@tpgi.com.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ed0 device: Gruesome performance with TCP (more info)
Message-ID:  <Pine.BSF.3.95.980418101636.11937A-100000@current1.whistle.com>
In-Reply-To: <19980418183327.L1090@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The way that appletalk works, 2 machines will never produce collisions..
here's how it works..

1 --->  (send me 8K of data)  ----> 2

1 <----- (8k of data)    <-------   2

1 --->  (send me 8k more of data)-> 2


etc....

TCP on the other hand has a sliding window
protocol,
meaning that both sides can send at one time..

so collissions are possible..
for what it's worth, NFS would have worked ok, just like appletalk. (UDP)

julian

On Sat, 18 Apr 1998, Greg Lehey wrote:

> On Sat, 18 April 1998 at 18:31:30 +1000, Eddie Irvine wrote:
> >
> >>> 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.
> >
> >
> > Thanks for the input. O.K. - some more info . . .
> >
> > I have "bought the book" on Samba, and tried the TCP_NODELAY
> > option, among other socket options in, and they seem to make no
> > difference.
> >
> > Come to think of it, I've never tried it WITHOUT the
> > TCP_NODELAY socket option - I'll
> > give that a go when I'm at work next.
> 
> Hmm.  I don't think that will do it.  I suppose it's worth a try,
> though.
> 
> > The thing is, with this ISA ed0 card, ftp (from Macs and W95) and
> > samba (from W95 only) is very, very slow.
> > But Netatalk from Macs, and Appletalk from W95 (using COPS
> > driver) is OK.
> >
> > With the same config, using a PCI ed1 card as main interface in
> > rc.conf, everything is just dandy: Netatalk about 20% faster. Ftp
> > back up to half a meg a second.
> >
> > So the problem with ed0 is not just samba but seems to be TCP
> > packets in general. And this collision light going rythmically all the
> > time when only two machines on the net are working.
> >
> > Appletalk fine. TCP packets not. Wierd, isn't it? I'm beginning to think
> > it must be a hardware problem.
> 
> Yes, it's beginning to look like it.  Of course, you can get
> collisions from only two machines if they keep trying to talk at
> once.  But it does look like Julian might be right.
> 
> 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
> 


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?Pine.BSF.3.95.980418101636.11937A-100000>