All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Holger Eitzenberger <heitzenberger@astaro.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: [PATCH] [ULOG] Use better value for 'nlbufsiz'
Date: Wed, 18 Jan 2006 18:33:24 +0100	[thread overview]
Message-ID: <43CE7BE4.7090805@trash.net> (raw)
In-Reply-To: <11376052233425-git-send-email-heitzenberger@astaro.com>

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.

  reply	other threads:[~2006-01-18 17:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-18 17:27 [ULOG] Fix memory allocation bug - take two Holger Eitzenberger
2006-01-18 17:27 ` [PATCH] [ULOG] Use better value for 'nlbufsiz' Holger Eitzenberger
2006-01-18 17:33   ` Patrick McHardy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-18 15:34 [ULOG] Use better value for nlbufsiz Holger Eitzenberger
2006-01-18 15:34 ` [PATCH] ULOG] Use better value for 'nlbufsiz' Holger Eitzenberger
2006-01-18 16:51   ` Patrick McHardy
2006-01-18 17:07     ` Holger Eitzenberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43CE7BE4.7090805@trash.net \
    --to=kaber@trash.net \
    --cc=heitzenberger@astaro.com \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.