From: zhengchuanbo <zhengcb@netpower.com.cn>
To: "Bill Rugolsky Jr." <brugolsky@yahoo.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Re: about the performance of netfilter
Date: Wed, 24 Jul 2002 22:38:24 +0800 [thread overview]
Message-ID: <200207242241526.SM00796@zhengcb> (raw)
i applied the NAPI patch. this did improved the performance. but i wonder if it is stable because it's new to me.
i used tc to apply the trffic control. that's a little complicated. and i have not tried policy routing. anyway that's a good idea adn i'll try latter.
i still wish there could be some way to simplify netfilter and improve the perform.
zhengchuanbo
zhengcb@netpower.com.cn
>On Wed, Jul 24, 2002 at 09:24:56PM +0800, zhengchuanbo wrote:
>> we use a linux router. i just tested the performance of the router. when the kernel is build without netfilter support,the throughput of 64bytes frame is about 45%. when i build the kernel with netfilter (only the ip_filter module),the throughput dropped to 24%, without any rules.
>> so is there some way to improve the performance? i just want some simple packet filter. is netfilter no so good on the performance compare to ipchains due to the improved functionality?
>> please cc. thanks.
>
>If (1) your needs are simple, and (2) netfilter can't handle the throughput,
>then you can consider using the traffic control and policy routing features
>of the kernel in conbination with the u32 classifier.
>
>this requires extremely low-level bit manipulation (perhaps tcng provides
>a better interface?), but can probably hit very high throughput numbers for
>simple filtering tasks.
>
>Also, are you using the NAPI patches? If not, get them and apply them.
>[search the last month of lkml for "napi".]
>
>regards,
>
> bill rugolsky
reply other threads:[~2002-07-24 14:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200207242241526.SM00796@zhengcb \
--to=zhengcb@netpower.com.cn \
--cc=brugolsky@yahoo.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.