From: zhengchuanbo <zhengcb@netpower.com.cn>
To: Filip Sneppe (Yucom) <filip.sneppe@yucom.be>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Re: how to improve the throughput of linux network
Date: Wed, 17 Jul 2002 22:13:34 +0800 [thread overview]
Message-ID: <200207172216104.SM00792@zhengcb> (raw)
>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
next reply other threads:[~2002-07-17 14:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-17 14:13 zhengchuanbo [this message]
2002-07-17 16:29 ` how to improve the throughput of linux network Jason Lunz
-- strict thread matches above, loose matches on Subject: below --
2002-07-16 1:23 zhengchuanbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200207172216104.SM00792@zhengcb \
--to=zhengcb@netpower.com.cn \
--cc=filip.sneppe@yucom.be \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox