diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2005-12-13 23:13:48 -0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 13:10:29 -0800 |
commit | 318360646941d6f3d4c6e4ee99107392728a4079 (patch) | |
tree | 26ab4ddc68f917dd4e8813ace504956620eba3a8 /include/asm-parisc/poll.h | |
parent | df3271f3361b61ce02da0026b4a53e63bc2720cb (diff) |
[NETFILTER] ip_tables: NUMA-aware allocation
Part of a performance problem with ip_tables is that memory allocation
is not NUMA aware, but 'only' SMP aware (ie each CPU normally touch
separate cache lines)
Even with small iptables rules, the cost of this misplacement can be
high on common workloads. Instead of using one vmalloc() area
(located in the node of the iptables process), we now allocate an area
for each possible CPU, using vmalloc_node() so that memory should be
allocated in the CPU's node if possible.
Port to arp_tables and ip6_tables by Harald Welte.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-parisc/poll.h')
0 files changed, 0 insertions, 0 deletions