* Re: Re: how to improve the throughput of linux network
@ 2002-07-16 1:23 zhengchuanbo
0 siblings, 0 replies; 2+ messages in thread
From: zhengchuanbo @ 2002-07-16 1:23 UTC (permalink / raw)
To: Mark Hahn; +Cc: linux-kernel@vger.kernel.org
>> we use linux as our router. i just tested the performance of the router with smartbits, and i found that the throughput of 64byte frame is only 25%, about 35kpps.
>> someone mentioned that the throughput of 64byte frame could reach 70kpps.so i wish i could improve the performance of our router,but i don't know how to do that.
>you will probably need to provide a lot more details,
>such as what the host CPU is, whether you've done any
>kernel profiling, which kernel you're using, etc.
the CPU is PIII800, 256M ram.
kernel 2.4.19-pre1
i just add some patches of netfilter to the kernel,such as the time patch. btw,i compiled all the netfilter options into the kernel,not as modules. will that affect the performance?
thanks.
chuanbo zheng
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re: how to improve the throughput of linux network
@ 2002-07-17 14:13 zhengchuanbo
0 siblings, 0 replies; 2+ messages in thread
From: zhengchuanbo @ 2002-07-17 14:13 UTC (permalink / raw)
To: Filip Sneppe; +Cc: linux-kernel@vger.kernel.org
>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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-17 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-16 1:23 Re: how to improve the throughput of linux network zhengchuanbo
-- strict thread matches above, loose matches on Subject: below --
2002-07-17 14:13 zhengchuanbo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox