[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101201.101809.71122121.davem@davemloft.net>
Date: Wed, 01 Dec 2010 10:18:09 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: hagen@...u.net
Cc: eric.dumazet@...il.com, xiaosuo@...il.com, wirelesser@...il.com,
netdev@...r.kernel.org
Subject: Re: multi bpf filter will impact performance?
From: Hagen Paul Pfeifer <hagen@...u.net>
Date: Wed, 01 Dec 2010 18:22:48 +0100
> On Wed, 01 Dec 2010 09:42:47 +0100, Eric Dumazet wrote:
>
>> IMHO, a better pcap optimizer would be the first step.
>
> +1
>
> Optimizing complex filter rules is step one in the process of optimizing
> the packet processing. A JIT compiler like FreeBSD provides cannot polish a
> (pcap)turd. I thought Patrick was working on a generic filter mechanism for
> netfilter!? ... ;)
Yes, and we spoke at the netfilter workshop about making that interpreter
available to socket filters and the packet classifier layer.
However, I think it's still valuable to write a few JIT compilers for
the existing BPF stuff. I considered working on a sparc64 JIT just to
see what it would look like.
If people work on the BPF optimizer and BPF JITs in parallel, we'll have
both ready at the same time. win++
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists