Re: multi bpf filter will impact performance?

Eric Dumazet
2010-12-01T08:42:53Z

Le mercredi 01 décembre 2010 à 16:15 +0800, Changli Gao a écrit :
> On Wed, Dec 1, 2010 at 4:09 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
> >
> > A dream would be to have a native compiler, and not interpret pseudo
> > code...
> >
>
> FYI: FreeBSD's BPF implementation have JIT compilers in kernel on both
> i386 and amd64.
>

IMHO, a better pcap optimizer would be the first step.

If you take a look at their generated code, its not a real win over the
code we currently have.

Really.