Re: [PATCH 7/7] dynamic calculation of event message size for ctnetlin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pablo Neira Ayuso wrote:
[PATCH] dynamic calculation of event message size for ctnetlink

This patch adds dynamic message size calculation for ctnetlink. This
reduces CPU consumption since the overhead in the message trimming
is removed.

Thanks for the patch.

Just did some performance tests. On average it saves 5% CPU usage at ~1600pps (UDP packets, 1000B payload, random source ports) on my router (IXP4XX, 266Mhz).

With the unclean patch the performance gain was slightly higher. I have posted it was 10%, but as far as I remember it was actually a bit less then that. The remaining difference can be explained by the length calculation overhead and measuring inaccuracy.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux