>On Tue, 2002-07-16 at 03:13, zhengchuanbo wrote:
>>
>> we use linux as our router. i just tested the performance of the router with smartbits, and i found that the throughput of 64byte
>> i looked for some solution,and found some article mentioned the NAPI. it changed the driver to polling mode,so that the interrupt is no too much. but i could not find drivers for our router.(eepro100 card). has the polling mode driver been used in linux?
>Try this url:
>
>ftp://robur.slu.se/pub/Linux/net-development/NAPI/
>
>Also check out 2.5 kernels - they alreacdy have NAPI, there's is at
>least some documentation under linux/Documentation/
>
>Could you put some numbers online after your tests ?
>I already have this page, I don't have a Smartbits, though :-):
>
>http://www.filip.sneppe.yucom.be/linux/netfilter/performance/benchmarks.htm
>
>Regards,
>Filip
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?
regards,
chuanbo zheng
-
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/
This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:23 EST