linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gigabit ethernet small-packet performance
@ 2000-11-05 15:07 Robert Morris
  2000-11-05 18:32 ` Mr. James W. Laferriere
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Robert Morris @ 2000-11-05 15:07 UTC (permalink / raw)
  To: linux-kernel

I'm building Linux-based routers and need to be able to forward as
many packets per second as possible over gigabit ethernet. It turns
out that choice of network adaptor is critical, but very little
information is available from manufacturers or on the web about
packets-per-second performance of different cards. Here's a web page
summarizing what I've learned, mostly about the Intel Pro/1000
card:

  http://www.pdos.lcs.mit.edu/~rtm/e1000/

The short version is that the Intel Pro/1000 seems to be a lot faster
than the Alteon Tigon-II or the SysKonnect card for small (60-byte)
packets. The Intel card can send or receive at least 500,000 60-byte
packets per second (about 1/3 of a gigabit/second). On the other hand,
the Intel Linux driver requires a lot of hacking to achieve that rate;
with the unmodified driver the board is about half that fast.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: gigabit ethernet small-packet performance
  2000-11-05 15:07 gigabit ethernet small-packet performance Robert Morris
@ 2000-11-05 18:32 ` Mr. James W. Laferriere
  2000-11-05 18:45 ` Gregory Maxwell
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Mr. James W. Laferriere @ 2000-11-05 18:32 UTC (permalink / raw)
  To: Robert Morris; +Cc: linux-kernel



	Hello Robert ,  

Quote:	You probably want to buy the 66-mHz version instead, model
	PWLA8490SX, often called the "Pro/1000 F Server Adapter". 

	If memory serves me , this adapter has an on board processor with
	no way to disable it nor to use it (at present) under linux .
	If I am incorrect -please- correct me .  Tia,  JimL

       +----------------------------------------------------------------+
       | James   W.   Laferriere | System  Techniques | Give me VMS     |
       | Network        Engineer | 25416      22nd So |  Give me Linux  |
       | babydr@baby-dragons.com | DesMoines WA 98198 |   only  on  AXP |
       +----------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: gigabit ethernet small-packet performance
  2000-11-05 15:07 gigabit ethernet small-packet performance Robert Morris
  2000-11-05 18:32 ` Mr. James W. Laferriere
@ 2000-11-05 18:45 ` Gregory Maxwell
  2000-11-05 21:40   ` bert hubert
  2000-11-07 19:44 ` Jes Sorensen
  2000-11-08 15:23 ` Jamie Lokier
  3 siblings, 1 reply; 7+ messages in thread
From: Gregory Maxwell @ 2000-11-05 18:45 UTC (permalink / raw)
  To: Robert Morris; +Cc: linux-kernel

On Sun, Nov 05, 2000 at 10:07:20AM -0500, Robert Morris wrote:
> I'm building Linux-based routers and need to be able to forward as
> many packets per second as possible over gigabit ethernet. It turns
[snip]

Hmm.. Kernel code written in C++..
Click is intesting. 

You people are nuts. :)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: gigabit ethernet small-packet performance
  2000-11-05 21:40   ` bert hubert
@ 2000-11-05 21:17     ` Gregory Maxwell
  0 siblings, 0 replies; 7+ messages in thread
From: Gregory Maxwell @ 2000-11-05 21:17 UTC (permalink / raw)
  To: linux-kernel

On Sun, Nov 05, 2000 at 10:40:48PM +0100, bert hubert wrote:
> On Sun, Nov 05, 2000 at 01:45:18PM -0500, Gregory Maxwell wrote:
> 
> > Hmm.. Kernel code written in C++..
> > You people are nuts. :)
> 
> Nobody benefits from having such a closed mind. While I don't wish to imply
> that C++ is 'ready' for general use in the kernel, there is a useful subset
> of C++ that might one day be.

I didn't mean it that way. I though it was interesting in light of the
earlier flame war. Esp considering they appear to be using virtual
functions.

The 'you people are nuts. :)' was meant as a positive statement. 
Don't you know? All breakthroughs come from crazy people. :)

> Oh, and please let us not launch another huge discussion about this subject.
> I just want to state that having a closed mind is not going to help us.

Their code speaks for itself. It outperforms the Linux code and is more
flexible. 

Although, I tend to see that as a case for additional optimization of the
current Linux code... C++ can be a very useful development tool with the
potential to increase modularity and simplify development. However,
run-time abstraction will always be a performance loss.

I was happy to see the prior flame war end with 'Let the code speak', I only
brought this up here to draw some attention to Click from a C++ in the kernel
prospective, i.e. They are using C++ in the kernel (without extensive kernel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: gigabit ethernet small-packet performance
  2000-11-05 18:45 ` Gregory Maxwell
@ 2000-11-05 21:40   ` bert hubert
  2000-11-05 21:17     ` Gregory Maxwell
  0 siblings, 1 reply; 7+ messages in thread
From: bert hubert @ 2000-11-05 21:40 UTC (permalink / raw)
  To: linux-kernel

On Sun, Nov 05, 2000 at 01:45:18PM -0500, Gregory Maxwell wrote:

> Hmm.. Kernel code written in C++..
> You people are nuts. :)

Nobody benefits from having such a closed mind. While I don't wish to imply
that C++ is 'ready' for general use in the kernel, there is a useful subset
of C++ that might one day be.

See for example http://www.caravan.net/ec2plus/

Oh, and please let us not launch another huge discussion about this subject.
I just want to state that having a closed mind is not going to help us.

Regards,

bert hubert

-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: gigabit ethernet small-packet performance
  2000-11-05 15:07 gigabit ethernet small-packet performance Robert Morris
  2000-11-05 18:32 ` Mr. James W. Laferriere
  2000-11-05 18:45 ` Gregory Maxwell
@ 2000-11-07 19:44 ` Jes Sorensen
  2000-11-08 15:23 ` Jamie Lokier
  3 siblings, 0 replies; 7+ messages in thread
From: Jes Sorensen @ 2000-11-07 19:44 UTC (permalink / raw)
  To: Robert Morris; +Cc: linux-kernel

>>>>> "Robert" == Robert Morris <rtm@amsterdam.lcs.mit.edu> writes:

Robert> The short version is that the Intel Pro/1000 seems to be a lot
Robert> faster than the Alteon Tigon-II or the SysKonnect card for
Robert> small (60-byte) packets. The Intel card can send or receive at
Robert> least 500,000 60-byte packets per second (about 1/3 of a
Robert> gigabit/second). On the other hand, the Intel Linux driver
Robert> requires a lot of hacking to achieve that rate; with the
Robert> unmodified driver the board is about half that fast.

I can't comment on the SysKonnect hardware/driver. However as far as
the Alteon card is concerned I know there are issues with latency just
as it has a relatively high overhead for processing DMA descriptors
(as much as 5 micro seconds). The latter is definately going to hurt
you if your part of the pissing contest is about 60 byte packets. For
real data it is not as much of a problem.

Jes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: gigabit ethernet small-packet performance
  2000-11-05 15:07 gigabit ethernet small-packet performance Robert Morris
                   ` (2 preceding siblings ...)
  2000-11-07 19:44 ` Jes Sorensen
@ 2000-11-08 15:23 ` Jamie Lokier
  3 siblings, 0 replies; 7+ messages in thread
From: Jamie Lokier @ 2000-11-08 15:23 UTC (permalink / raw)
  To: Robert Morris; +Cc: linux-kernel

Robert Morris wrote:
> The short version is that the Intel Pro/1000 seems to be a lot faster
> than the Alteon Tigon-II or the SysKonnect card for small (60-byte)
> packets. The Intel card can send or receive at least 500,000 60-byte
> packets per second (about 1/3 of a gigabit/second). On the other hand,
> the Intel Linux driver requires a lot of hacking to achieve that rate;
> with the unmodified driver the board is about half that fast.

Fwiw, the Alteon Tigon-II can send & receive 60-byte packets at line
rate if you assemble them on the card, but I've not tried pushing that
over the PCI bus.  As Jes said, that's the slow part.  Special firmware
to use fewer DMAs than packets (i.e. grouping small packets) might do
the trick.  The firmware kit is open source; enjoy :-)

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-11-08 15:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-05 15:07 gigabit ethernet small-packet performance Robert Morris
2000-11-05 18:32 ` Mr. James W. Laferriere
2000-11-05 18:45 ` Gregory Maxwell
2000-11-05 21:40   ` bert hubert
2000-11-05 21:17     ` Gregory Maxwell
2000-11-07 19:44 ` Jes Sorensen
2000-11-08 15:23 ` Jamie Lokier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).