netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: How to improve small packet performance
@ 2003-08-08 17:38 jchapman
  0 siblings, 0 replies; 3+ messages in thread
From: jchapman @ 2003-08-08 17:38 UTC (permalink / raw)
  To: netdev

Try the latest e100 development driver from sf.net/projects/e1000. Make sure 
you compile it with NAPI enabled.

- jc

minnie wu wrote:

> Hi, all!
>      I'm working on e100/eepro100, kernel version 2.4.20. I used NAPI, but
> the 64 bit small packet dual throughout is only 28M/s. How to improve small
> packet performance further?





-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

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

* Re: How to improve small packet performance
  2003-08-14  4:23 jchapman
@ 2003-08-14  2:31 ` minnie wu
  0 siblings, 0 replies; 3+ messages in thread
From: minnie wu @ 2003-08-14  2:31 UTC (permalink / raw)
  To: jchapman; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 1163 bytes --]

   Here is the experimental setup I used:
   A traffic generator[Smartbits] is sending from one of its ports to the PC on eth0. Linux routes the packet out eth1 back to the Smartbits. /proc/sys/net/ipv4/ip_forward set to 1.
  The PC is a PIII 863MHz with 256M of RAM. And the NIC cards do not share the same irq.
  The unidirectional test:
   e100-v3.0.0dev12-napi    47k packets/sec
   eepro100-napi-020619     89k packets/sec
   
  minnie
jchapman@katalix.com wrote:I downloaded the eepro100 NAPI patch and tried it in my test setup (a
1GHz P-III configured as a 2-port bridge, 2.4.20-8 RH9 kernel). I see
e100-napi perform much better than eepro100, which is what I was 
expecting

e100-v3.0.0dev12-napi 93k packets/sec
eepro100-napi-020619 49k packets/sec

When doing a bidirectional test, the eepro100 driver locks up
completely, although it seems to survive with 128 byte packets (where
the event rate is less).

What's your test setup? How are you generating your test traffic? Do
your NIC cards share the same irq?

-jc



---------------------------------
Do You Yahoo!?
暑期大片齐聚雅虎通 网络摄像头+雅虎通调频收音机等你来拿

[-- Attachment #2: Type: text/html, Size: 1546 bytes --]

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

* Re: How to improve small packet performance
@ 2003-08-14  4:23 jchapman
  2003-08-14  2:31 ` minnie wu
  0 siblings, 1 reply; 3+ messages in thread
From: jchapman @ 2003-08-14  4:23 UTC (permalink / raw)
  To: minniewkitty; +Cc: netdev

I downloaded the eepro100 NAPI patch and tried it in my test setup (a
1GHz P-III configured as a 2-port bridge, 2.4.20-8 RH9 kernel).  I see
e100-napi perform much better than eepro100, which is what I was 
expecting.

  e100-v3.0.0dev12-napi     93k packets/sec
  eepro100-napi-020619	    49k packets/sec

When doing a bidirectional test, the eepro100 driver locks up
completely, although it seems to survive with 128 byte packets (where
the event rate is less).
  
What's your test setup? How are you generating your test traffic? Do
your NIC cards share the same irq?

-jc

minnie wu wrote:

> Hi, all!
>      I tried e100-napi, but it's performance is still worse than 
>      eepro100-napi. It seems that napi cannot meet my needs. Any ideas?
>  
> jchapman@katalix.com wrote:
>  
> > Try the latest e100 development driver from sf.net/projects/e1000. 
> > Make >sure you compile it with NAPI enabled.
> 
> minnie wu wrote:
> 
> > Hi, all!
> >      I'm working on e100/eepro100, kernel version 2.4.20. I 
> >      used NAPI, but the 64 byte small packet dual throughout
> >      is only 28M/s. How to improve small packet performance further?
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

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

end of thread, other threads:[~2003-08-14  4:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-08 17:38 How to improve small packet performance jchapman
  -- strict thread matches above, loose matches on Subject: below --
2003-08-14  4:23 jchapman
2003-08-14  2:31 ` minnie wu

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).