lkml.org 
[lkml]   [1996]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Slow ethernet/NE2000 with all 1.3 kernels (1.2 is fine)
On Tue, 7 May 1996, Jamie Lokier wrote:

> I've done some tests sending raw ethernet packets using SOCK_PACKET,
> with 1.2.13 and 1.3.81 on exactly the same machine. The software
> configuration is identical (I simply brought up different kernels).
> The program is included at the end of this message so people can see if
> the same problem exists with non-NE2000 cards.
>
> I hope SOCK_PACKET has abolutely nothing to with the TCP window. The
> ISA bus speed is the same for both kernels, as it's the same machine
> within a few minutes.
>
> New summary: 1.2.13 -> ~ 1197k/s raw data transmission rate
> 1.3.81 -> ~ 745k/s raw data transmission rate
>
> Included below are the detailed results and the program.
>
> Enjoy,
> -- Jamie Lokier
>
> Results:
>
> Linux 1.2.13:
>
> mustelid:~# ./etherspray
> Transmitted 7570000 bytes in 6.321147 seconds (1197.6k/sec).
>
> Linux 1.3.81:
>
> mustelid:~# ./etherspray
> Socket destroy delayed (r=0 w=64740)
> Transmitted 7570000 bytes in 10.091485 seconds (750.1k/sec).
>
> Linux 1.3.97 gives similar results to 1.3.81. (I tested it on
> a similar, but different machine).

I get pretty good performance on 1.3.99.

abyss ~ #./etherspray
Transmitted 7570000 bytes in 6.125325 seconds (1235.9k/sec).
abyss ~ #./etherspray
Transmitted 7570000 bytes in 6.123016 seconds (1236.3k/sec).
abyss ~ #./etherspray
Transmitted 7570000 bytes in 6.123433 seconds (1236.2k/sec).
That's on a 3-Com 3c595 running in 10MBit mode.

Brad Borgald Networks
Computing Services University of New Brunswick
Fredericton New Brunswick, Canada, Electrical Engineering
p7gz@unb.ca root@force.crt .unb.ca bborgald@hhnov1.unb.ca
Linux! Solomon, No Fear! GUS PnP, The North Face
If I wanted to be able to spell, I would have taken Arts...
#include <stddisclaim.h>



\
 
 \ /
  Last update: 2005-03-22 13:37    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean