From: Thomas Heinz <creatix@hipac.org>
To: Patrick Schaaf <bof@bof.de>
Cc: Harald Welte <laforge@netfilter.org>,
netfilter-devel@lists.netfilter.org
Subject: Re: Table duplication on smp machine
Date: Mon, 31 Mar 2003 15:34:21 +0200 [thread overview]
Message-ID: <3E8843DD.8060501@hipac.org> (raw)
In-Reply-To: 20030331125610.GC1098@oknodo.bof.de
Hi Patrick
You wrote:
> There are other, generic APIs for allocation of per-cpu data. In a new
> world, the rare match/target module with such a requirement, could use
> that API.
Ok but with the current scheme I don't see any reason why a match/target
would want to write to per-cpu data. Is there any practical application
for this?
> But there is another, less common, incentive to have per-cpu copies
> of all the data structures: non-uniform-memory-architecture machines.
> An example (hopefully) not far from widespread adoption, would be the
> new AMD Hammer SMP architecture. On such an architecture, there is
> a performance benefit even from CPU (or node) local copies of even
> readonly data, because of the reduced local memory latency. In the
> Hammer example, there would be one copy of the ruleset in each
> single Hammer's locally attached DRAM.
>
> Not so common today, but I always thought that the existing separation
> in the current iptables code was good preparation for that future.
Very interesting. I guess one has to use a special API to address the
per cpu memory so that the current implementation wouldn't work out
of the box. Right?
Regards,
Thomas
next prev parent reply other threads:[~2003-03-31 13:34 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
2003-03-31 12:56 ` Patrick Schaaf
2003-03-31 13:34 ` Thomas Heinz [this message]
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=3E8843DD.8060501@hipac.org \
--to=creatix@hipac.org \
--cc=bof@bof.de \
--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.