netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] don't copy the whole table to all the other CPUs
@ 2010-11-17 14:54 Changli Gao
  2010-11-17 14:56 ` Patrick McHardy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Changli Gao @ 2010-11-17 14:54 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Netfilter Developer Mailing List

When reviewing the iptables code, I find there is one exact copy of
table on every possible CPU for parallel processing. However, only
counters are private, and the others are the same. It is a wast of
memory. I know the current implementation maybe good for NUMA, but I
don't think NUMA is common, and I doubt its benefit. I'll try to
convert the code use one shared table, but private counters.

Any comment?

-- 
Regards,
Changli Gao(xiaosuo@gmail.com)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-11-17 18:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17 14:54 [RFC] don't copy the whole table to all the other CPUs Changli Gao
2010-11-17 14:56 ` Patrick McHardy
2010-11-17 14:57 ` Eric Dumazet
2010-11-17 18:03 ` Rick Jones

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).