lkml.org 
[lkml]   [2015]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH v2] bridge: make it possible for packets to traverse the bridge without hitting netfilter
From
From: Imre Palik <imrep.amz@gmail.com>
Date: Fri, 06 Mar 2015 11:34:29 +0100

> Removed those pieces of the packet pipeline that I don't necessarily
> need one-by-one. Then measured their effect on small packet
> performance.
>
> This was the only part that produced considerable effect.
>
> The pure speculation was about why the effect is more than 15%
> increase in packet throughput, although the code path avoided
> contains way less code than 15% of the packet pipeline. It seems,
> Felix Fietkau profiled similar changes, and found my guess well
> founded.

Yes and that's the part being left out, the "why".

That's part of what I expect in the justification.

Look, we're not doing things this way. We need to find a clean
and generic way to make the netfilter hooks as cheap as possible
when netfilter rules are not in use.


\
 
 \ /
  Last update: 2015-03-06 19:01    [W:0.070 / U:1.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site