All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Pablo Neira Ayuso <pablo@netfilter.org>,
	Patrick McHardy <kaber@trash.net>,
	netfilter-devel@vger.kernel.org, netdev <netdev@vger.kernel.org>,
	Florian Westphal <fw@strlen.de>
Subject: Re: [PATCH nf-next] netfilter: xt_hashlimit: perform garbage collection from process context
Date: Thu, 24 Jul 2014 10:27:44 +0200	[thread overview]
Message-ID: <20140724082744.GA18404@breakpoint.cc> (raw)
In-Reply-To: <1406176610.3363.29.camel@edumazet-glaptop2.roam.corp.google.com>

Eric Dumazet <eric.dumazet@gmail.com> wrote:
> From: Eric Dumazet <edumazet@google.com>
> 
> xt_hashlimit cannot be used with large hash tables, because garbage
> collector is run from a timer. If table is really big, its possible
> to hold cpu for more than 500 msec, which is unacceptable.
> 
> Switch to a work queue, and use proper scheduling points to remove
> latencies spikes.
> 
> Later, we also could switch to a smoother garbage collection done
> at lookup time, one bucket at a time...
> 
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Reviewed-by: Florian Westphal <fw@strlen.de>

Thanks Eric!

  reply	other threads:[~2014-07-24  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24  4:36 [PATCH nf-next] netfilter: xt_hashlimit: perform garbage collection from process context Eric Dumazet
2014-07-24  8:27 ` Florian Westphal [this message]
2014-07-24 11:08   ` Pablo Neira Ayuso

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=20140724082744.GA18404@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=eric.dumazet@gmail.com \
    --cc=kaber@trash.net \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@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.