[PATCH] [ULOG] Use better value for 'nlbufsiz'

Patrick McHardy kaber at trash.net
Wed Jan 18 18:33:24 CET 2006


Holger Eitzenberger wrote:
> Performance tests showed that ULOG may fail on heavy loaded systems
> because of failed order-N allocations (N >= 1).
> 
> The default value of 4096 is not optimal in the sense that it actually
> allocates _two_ contigous physical pages.  Reasoning: ULOG uses
> alloc_skb(), which adds another ~300 bytes for skb_shared_info.
> 
> This patch sets the default value to NLMSG_GOODSIZE and adds some
> documentation at the top.

Applied, thanks Holger.



More information about the netfilter-devel mailing list