[2870] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Slow ethernet/NE2000 with all 1.3 kernels (1.2 is fine)

daemon@ATHENA.MIT.EDU (SkiBum)
Sat May 11 16:43:45 1996

Date: 	Thu, 9 May 1996 11:56:33 -0300 (ADT)
From: SkiBum <p7gz@unb.ca>
To: Jamie Lokier <jamie@rebellion.co.uk>
cc: Paul Gortmaker <gpg109@rsphy1.anu.edu.au>, linux-kernel@vger.rutgers.edu,
        linux-net@vger.rutgers.edu
In-Reply-To: <m0uGv01-000Lq3C@phascolarctid.rebellion.co.uk>

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>



home help back first fref pref prev next nref lref last post