diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-29 00:44:33 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 01:17:39 -0800 |
commit | 3291b9db567e1ec38362024049cbd02987b1e277 (patch) | |
tree | 8de6878abfed5a16974747c54c4e1420327b86ab /virt/kvm/irq_comm.c | |
parent | 9b963e5d0e01461099a40117b05480f24b63381f (diff) | |
download | linux-3291b9db567e1ec38362024049cbd02987b1e277.tar.bz2 |
pktgen: NUMA aware
pktgen threads are bound to given CPU, we can allocate memory for
these threads in a NUMA aware way.
After a pktgen session on two threads, we can check flows memory was
allocated on right node, instead of a not related one.
# grep pktgen_thread_write /proc/vmallocinfo
0xffffc90007204000-0xffffc90007385000 1576960 pktgen_thread_write+0x3a4/0x6b0 [pktgen] pages=384 vmalloc N0=384
0xffffc90007386000-0xffffc90007507000 1576960 pktgen_thread_write+0x3a4/0x6b0 [pktgen] pages=384 vmalloc N1=384
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt/kvm/irq_comm.c')
0 files changed, 0 insertions, 0 deletions