From: werme@alingo.uucp (Eric Werme USSG)
Subject: Re: Huge collision count on alpha osf/1
Date: 7 Mar 94 15:51:04 GMT [thread overview]
Message-ID: <werme.763055464@alingo.zk3.dec.com> (raw)
In-Reply-To: 2l0s66$o21@thebes.cc.waikato.ac.nz
I've been waiting for other folks to take up the discussion, but
I'll take a stab at things.
hamish@thebes.cc.waikato.ac.nz (Hamish Marson) writes:
>We have several alpha osf/1 machines here on campus, and as soon as I put
>one up live, the complaints started rolling in about its NFS performance
>while serving PCNFS machines.
A lot of PC ethernet cards can't receive back-to-back packets, i.e. those
with the minimum 9.6 usec delay between packets. All alpha boxes are
quite willing to generate them. (For a fragmented IP message, I recall
seeing a little longer delay after the first fragment.) This can play
dreadful havoc with NFS.
> After satisfying myself that the alpha
>concerned (A 3000/600 using thickwire/AUI connection) was idling along
>at only 5% or less utilisation, and very little IO, I looked at the
>network statistics with netstat -i 2, and lo and behold, the sucker is
>getting collisions by the bucketful.
A high collision rate doesn't bother me. It bothers a lot of my peers, but
I don't worry about them much any more. First, the Ethernet spec *requires*
that if a node has something to send but the wire is busy, it *must* send it
9.6 usec after the wire is free. Therefore, expect a collision. Even
after a collision, the back off rules are such that one node will get the
wire, and for NFS fragments, the backoff will expire well before the
fragment that wins the collision is done. So expect another collision.
Oh - I forgot - after the first collision, there's a 50% chance of another
collision by virtue of the back off rules.
N.B. - a lot of the collisions above *don't* get counted in the ethernet
statistics, they show up as multiple collisions.
The other reason they don't bother me much is that they take very little
wire time. If you hook up an oscilloscope to a busy Enet segment, the
collisions show up as negative spikes. They only last tens of usecs,
whereas a full packet is more than a msec.
>Oh. BTW. The same file to/from a mips box (The ones we are upgrading
>from :) gets almost 0 collisions with a comparable (But not equal) packet
>rate.
A lot of boxes that can't put out back to back packets have very few
collisions due to unequal delays before either node can get something on the
wire.
The whole rationale for requiring collisions is to inform the senders that
there are others who want the wire. There's a flaw in the system where
one node putting out a long stream of minimum separation packets can
"capture" the wire, virtually blocking out other senders, but that's not
what's happening here.
There's a lot of railing at slow PC network cards over on
comp.protocols.tcp-ip. Nothing at the moment, though.
--
Eric (Ric) Werme | werme@zk3.dec.com
Digital Equipment Corp. | This space intentionally left blank.
prev parent reply other threads:[~1994-03-07 15:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-03-02 2:03 Huge collision count on alpha osf/1 Hamish Marson
1994-03-04 16:39 ` Simon Rosenthal
1994-03-07 15:51 ` Eric Werme USSG [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox