Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Huge collision count on alpha osf/1
@ 1994-03-02  2:03 Hamish Marson
  1994-03-04 16:39 ` Simon Rosenthal
  1994-03-07 15:51 ` Eric Werme USSG
  0 siblings, 2 replies; 3+ messages in thread
From: Hamish Marson @ 1994-03-02  2:03 UTC (permalink / raw)


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. 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.

Its very peaky, but in the order of 7 collisions from 35 packets over 2 
seconds. Only rarely does it go to 0. Under load its even worse. 30%
collisions when transferring a large (~30MB) file between the alphas
(Any one, they all do it. 3000/300's as well) and another machine (VAX, 
RS6k etc). But NFS is the one where the performance is getting hit.

Note that the ethernet isn't loaded at all. We are lucky if thet segment/
subnet gets above 10%. Has anyone else seen huge collision counts like
this with alphas?

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.


--
======================================================================
|  Hamish Marson                                                     |
|  Systems Programmer              |                                 |
|  Computer Services               | INTERNET h.marson@waikato.ac.nz |
|  University of Waikato           | PHONE    +64 7 8562889 xt 8181  |
|  New Zealand                     | FAX      +64 7 8384066          |
===========Disclaimer :- Remember. You heard it here first.===========


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Huge collision count on alpha osf/1
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Rosenthal @ 1994-03-04 16:39 UTC (permalink / raw)


Hamish Marson (hamish@thebes.cc.waikato.ac.nz) wrote:
: 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. 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.

	Like this ?
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ln0   1500  DLI         none              625934     3   282301   914 77173
ln0   1500  <Link>                        625934     3   282301   914 77173
ln0   1500  130.200.240 tilapia           625934     3   282301   914 77173
ln0   1500  OSI         none              625934     3   282301   914 77173
sl0*  296   <Link>                             0     0        0     0     0
sl1*  296   <Link>                             0     0        0     0     0
lo0   1536  <Link>                          1062     0     1062     0     0
lo0   1536  loop        localhost           1062     0     1062     0     0

	I've seen this too, with several 3000/400s that we have here.
	(and look at /var/adm/messages; the ln driver writes it all in
	there).

	I wonder if it's a problem with the network interface; network
	performance from these systems does not seem impacted, (although that's
	subjective).
	 

- Simon
_______________________________________________________________________________
Simon Rosenthal:  (simon@bos.locus.com)
Locus Computing Corporation
Burlington, MA 01803


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Huge collision count on alpha osf/1
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Eric Werme USSG @ 1994-03-07 15:51 UTC (permalink / raw)


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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-03-07 15:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox