Re: how to improve the throughput of linux network

Jason Lunz (lunz@reflexsecurity.com)
Wed, 17 Jul 2002 12:29:55 -0400


In gmane.linux.kernel, you wrote:
> i got the patch for NAPI,and patched it on linux2.4.18. it worked. the
> throughput of 128bytes frame improve from 60% to more than 90%. it
> seems that it has no influnce to frames bigger than 256.
>
> but there is still some problem. when i tested the throught of 64bytes
> frame,some error occured. in the begining it works well. but after
> several times of try the linux router can not receive any packets at
> all.(i found that by run ifconfig when the smartbits is testing). for
> the other frames it worked very well.
>
> so what's wrong with my test? is there some problem with the patch?

Quite possibly. Are you still using the eepro100 NAPI driver? I doubt
that it's gotten wide testing.

The patch at http://gtf.org/lunz/linux/net/ comes from here:
ftp://robur.slu.se/pub/Linux/net-development/NAPI/eepro100/eepro100-napi-020619.tar.gz

The NAPI conversion was done by fxzhang@ict.ac.cn (see the README); you
may want to ask him about problems you're having.

-- 
Jason Lunz			Reflex Security
lunz@reflexsecurity.com		http://www.reflexsecurity.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/