All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Heinz <creatix@hipac.org>
To: Harald Welte <laforge@netfilter.org>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Table duplication on smp machine
Date: Mon, 31 Mar 2003 14:50:58 +0200	[thread overview]
Message-ID: <3E8839B2.6080607@hipac.org> (raw)
In-Reply-To: 20030331123326.GO7718@sunbeam.de.gnumonks.org

Hi Harald

You wrote:
> then you start having cacheline ping-pong problems when match/target
> private data is written to (like in the limit match, ...)

Hm, I don't understand. The limit match performs the write operations
on the same private data block for all cpu's so the cacheline ping-pong
occurs in the current scheme too [in addition to the locking overhead].

Of course this would be true if a match/target uses its per-cpu
data block to store information but I cannot imagine a scenario
where this makes sense or whatsoever.

> apart from that, ther is no reason why we shouldn't do what you are
> proposing.  In fact, this is exactly what my initial pkttables/iptables2
> design does ;)

Ok :)


Thomas

  reply	other threads:[~2003-03-31 12:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-31 10:52 Table duplication on smp machine Thomas Heinz
2003-03-31 11:07 ` Harald Welte
2003-03-31 12:06   ` Thomas Heinz
2003-03-31 12:33     ` Harald Welte
2003-03-31 12:50       ` Thomas Heinz [this message]
2003-03-31 12:56       ` Patrick Schaaf
2003-03-31 13:34         ` Thomas Heinz
2003-03-31 13:45           ` Patrick Schaaf
2003-03-31 13:51             ` Patrick Schaaf
2003-03-31 14:06             ` Thomas Heinz

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=3E8839B2.6080607@hipac.org \
    --to=creatix@hipac.org \
    --cc=laforge@netfilter.org \
    --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.