All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Re: about the performance of netfilter
@ 2002-07-24 14:38 zhengchuanbo
  0 siblings, 0 replies; only message in thread
From: zhengchuanbo @ 2002-07-24 14:38 UTC (permalink / raw)
  To: Bill Rugolsky Jr.; +Cc: linux-kernel@vger.kernel.org

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-24 14:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-24 14:38 Re: about the performance of netfilter zhengchuanbo

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.