netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Changli Gao <xiaosuo@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Anand Raj Manickam <anandrm@gmail.com>,
	Patrick McHardy <kaber@trash.net>,
	netfilter-devel@vger.kernel.org
Subject: Re: Any Performance benchmark on a Million conntracks
Date: Fri, 21 May 2010 11:06:36 +0800	[thread overview]
Message-ID: <AANLkTilq025-870v_6hmTC82C_Ob2JA7tMSUDFfGgH1O@mail.gmail.com> (raw)
In-Reply-To: <1274409281.4977.3.camel@edumazet-laptop>

On Fri, May 21, 2010 at 10:34 AM, Eric Dumazet <eric.dumazet@gmail.com> wrote:
> Le vendredi 21 mai 2010 à 07:43 +0800, Changli Gao a écrit :
>>
>> and we have to do insertion and deletion in serial with rbtree, so
>> rbtree doesn't scales as well as hash tables for parallel processing,
>> if there are many insertions and deletions operations.
>>
>>
>
> Before saying such things, you should read the source code Changli,
> because you only propagate wrong information.
>
> conntrack uses a single lock, so inserts and deletes _are_ serialized,
> _even_ with hash table.
>

Sorry. I should add "Off Topic", as I said that for common cases, not
for conntracking.

-- 
Regards,
Changli Gao(xiaosuo@gmail.com)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-05-21  3:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 12:51 Any Performance benchmark on a Million conntracks Anand Raj Manickam
2010-05-20 13:04 ` Eric Dumazet
2010-05-20 14:03   ` Patrick McHardy
2010-05-20 17:13     ` Anand Raj Manickam
2010-05-20 17:44       ` Eric Dumazet
2010-05-20 23:43         ` Changli Gao
2010-05-21  2:34           ` Eric Dumazet
2010-05-21  3:06             ` Changli Gao [this message]
2010-05-21 14:05 ` Simon Lodal

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=AANLkTilq025-870v_6hmTC82C_Ob2JA7tMSUDFfGgH1O@mail.gmail.com \
    --to=xiaosuo@gmail.com \
    --cc=anandrm@gmail.com \
    --cc=eric.dumazet@gmail.com \
    --cc=kaber@trash.net \
    --cc=netfilter-devel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).