From: Holger Eitzenberger Date: Sat, 4 Feb 2006 10:13:14 +0000 (-0800) Subject: [NETFILTER]: ULOG/nfnetlink_log: Use better default value for 'nlbufsiz' X-Git-Tag: v2.6.16-rc3~146^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2db292438c20c3f13db6e5563e0ce5b449bedac;p=pandora-kernel.git [NETFILTER]: ULOG/nfnetlink_log: Use better default value for 'nlbufsiz' 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. Signed-off-by: Holger Eitzenberger Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed