* V3.0 E-Net Collisions with ftp
@ 1995-01-03 16:13 Gary Newman
1995-01-04 2:29 ` cherkus
0 siblings, 1 reply; 3+ messages in thread
From: Gary Newman @ 1995-01-03 16:13 UTC (permalink / raw)
We have found that the ethernet collision problem we've had with OSF
V3.0 can be simply caused by using ftp to copy a large file from one
machine to another.
Try this between two Alphastation 400/233 machines:
%ftp other_v3_machine
>bin
>get bigfile
1251572 bytes received in 2.8 seconds (4.4e+02 Kbytes/s)
>quit
%netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
tu0 1500 DLI none 327636 1 130422 73 71651
note that about 50% of the packets have collisions and that the data
rate is about half of what we got with OSF V2.1 on the 2000/300
machines (150 Mhz Alphas).
We've applied the "tu" patches to no avail. We've also directly wired
the two machines to take the E-NET hub out of the picture... same problem.
Anyone else have this problem?
--
Gary Newman gnewman@xmx.com
XMX Corp. voice: (508) 670-8444
46 Manning Road Fax: (508) 670-8448
Billerica, MA 01821
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: V3.0 E-Net Collisions with ftp
1995-01-03 16:13 V3.0 E-Net Collisions with ftp Gary Newman
@ 1995-01-04 2:29 ` cherkus
1995-01-05 20:00 ` Gary Newman
0 siblings, 1 reply; 3+ messages in thread
From: cherkus @ 1995-01-04 2:29 UTC (permalink / raw)
Cc: gnewman
Gary Newman wrote in article <D1u7qn.5L8@world.std.com> :
>
>We have found that the ethernet collision problem we've had with OSF
>V3.0 can be simply caused by using ftp to copy a large file from one
>machine to another.
>
>Try this between two Alphastation 400/233 machines:
>
>%ftp other_v3_machine
>>bin
>>get bigfile
>1251572 bytes received in 2.8 seconds (4.4e+02 Kbytes/s)
>>quit
>%netstat -i
>Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
>tu0 1500 DLI none 327636 1 130422 73 71651
>
>note that about 50% of the packets have collisions and that the data
>rate is about half of what we got with OSF V2.1 on the 2000/300
>machines (150 Mhz Alphas).
You are making a reasonable yet inaccurate assumption that the counters
are maintained the same way on both machines, but they are not because
the interfaces use two different chips and the chips used in the tu0
interface are more accurate than the ones used in the 2000/300 (ln0?)
interface.
The AMD LANCE ethernet chip, used in the 2000/300 and also used for
many years in DEC and many other vendor's equipment, tells the kernel
one of the following things happened after a frame is transmitted:
- no collisions occurred
- exactly one collision occurred
- two or more collisions occurred
The Ethernet standard says that up to 15 collisions can occur before
the transmission is aborted, so the LANCE does not communicate the
full story back to the kernel.
The kernel increments the netstat collision counter once when exactly
one collision occurred, and by two when two or more collisions
occurred. This is inaccurate, but it's the best the kernel could do.
It's not just inaccurate, it's always optimistic. This is why you
think you are getting 'excessive' collisions - you've been lied to
by the AMD LANCE in the past.
The older DEC SGEC chip (ne0) and the newer DEC TGEC chip (te0, tu0)
can tell the kernel exactly how many collisions occurred, and this is
what netstat reports. The AMD LANCE used in TurboChannel and ISA
systems is fading into the sunset...
You can identify which chip is being used by the message that appears
at boot time, or by the interface name (ln0 is AMD LANCE, most of the
others are tu0).
If you feel more comfortable with the 'classic' statistic, you can run
the command
# netstat -I tu0 -is
and look for 'single colllision' and 'multiple collision', then add the
'single collision' count to two times the 'multiple collision' count to
get the 'classic' statistic.
Or, perish the thought, perhaps we need an ANSI/POSIX standard for
netstat, brought to you by the same fine people that insist that 'df'
report its output in units of 512 byte blocks, and the same fine folks
that decided that they needed to break 'more' so the rest of us would
know that they were doing their jobs.
Gee, I should quit posting late at night :-)
--
Dave Cherkus ----- UniMaster, Inc. ----- Contract Software Development
Specialties: UNIX TCP/IP X OSF/1 AlphaAXP AIX RS/6000 Performance ISDN
Email: cherkus@UniMaster.COM Tel: (603) 888-8308 Fax: (603) 888-8308
if (cpu.type == PENTIUM && cpu.step < 8) { panic("Intel Inside!"); }
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: V3.0 E-Net Collisions with ftp
1995-01-04 2:29 ` cherkus
@ 1995-01-05 20:00 ` Gary Newman
0 siblings, 0 replies; 3+ messages in thread
From: Gary Newman @ 1995-01-05 20:00 UTC (permalink / raw)
cherkus@fastball.unimaster.com wrote:
: >note that about 50% of the packets have collisions and that the data
: >rate is about half of what we got with OSF V2.1 on the 2000/300
: >machines (150 Mhz Alphas).
: You are making a reasonable yet inaccurate assumption that the counters
: are maintained the same way on both machines, but they are not because
: the interfaces use two different chips and the chips used in the tu0
: interface are more accurate than the ones used in the 2000/300 (ln0?)
: interface.
: [snip]
What's the difference as long as a large percentage of the E-Net
bandwidth is getting lost due to these collisions? The statistics
are just one of the symptoms. A more important one is the lost bandwidth.
--
Gary Newman gnewman@xmx.com
XMX Corp. voice: (508) 670-8444
46 Manning Road Fax: (508) 670-8448
Billerica, MA 01821
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-01-05 20:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-03 16:13 V3.0 E-Net Collisions with ftp Gary Newman
1995-01-04 2:29 ` cherkus
1995-01-05 20:00 ` Gary Newman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox