From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,51b3d7c76a100e72 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,51b3d7c76a100e72 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-03-07 07:51:04 PST Xref: gmd.de comp.unix.osf.osf1:2440 comp.unix.osf.misc:1049 Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!ihnp4.ucsd.edu!sdd.hp.com!decwrl!pa.dec.com!nntpd.lkg.dec.com!alingo.zk3.dec.com!werme From: werme@alingo.uucp (Eric Werme USSG) Newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc Subject: Re: Huge collision count on alpha osf/1 Date: 7 Mar 94 15:51:04 GMT Organization: Digital Equipment Corporation Message-ID: References: <2l0s66$o21@thebes.cc.waikato.ac.nz> Reply-To: werme@zk3.dec.com NNTP-Posting-Host: alingo.zk3.dec.com 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.