Linux Netfilter discussions
 help / color / mirror / Atom feed
* Performance issues when enabling netfilter configuration
@ 2011-01-27 12:28 Raviv
  0 siblings, 0 replies; only message in thread
From: Raviv @ 2011-01-27 12:28 UTC (permalink / raw)
  To: netfilter

Hi,

I'm developing a bridge application (Ethernet <--> wireless) for both AP 
and Station.
I would like to keep a single kernel image for both AP and station. 
However the netfilter capabilities (conntrack) are only required at the 
Station.
I have configured the required netfilter capabilities to be loaded as 
modules. still there are some basic configurations i can't set as 
modules but only as built-ins.
So even-though i don't really need the netfilter in the AP these basic 
configuration exists and causes performance issue for network traffic 
(15% desegregation).
After a brief debug session i found out that when running the system 
without netfilter the packet (travailing : Eth-->Bridge-->Wireless) is 
passed with the same skb (all the way), while when netfilter is on the 
packet has a different skb while in Eth driver then the skb in the 
wireless driver. I suspect the skb switch/copy has happened in the 
bridge code.

1. Is there a way to maintain a single kernel image without hurting the 
performance so bad?
2. Why is the packet copied from one skb to another?

Regards,
Raviv

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

only message in thread, other threads:[~2011-01-27 12:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-27 12:28 Performance issues when enabling netfilter configuration Raviv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox