html: some further minor tweaks on the index page
[netsniff-ng.git] / Documentation / Performance
blobcfdca87c8805c6637df7adedc5f16796c2883f72
1 By the way, some notes on zero-copy ... You might want to have NAPI drivers [1]
2 enabled in your kernel to reduce interrupt load and for high-speed (= relative
3 to the CPU speed) PCAP dumping and replay, a fast SSD isn't too bad either,
4 and make sure to use netsniff-ngs scatter/gather or mmap I/O options. Next to
5 this, (and this refers to packet generation as well), a 10-Gbit/s-Ethernet
6 NIC, an appropriate amount of RAM and a fast CPU is recommended. Furthermore,
7 you should bind the netsniff-ng tools to a specific CPU via commandline option
8 (i.e. --bind-cpu 0). Some further recommendations can be found in [2] [4]. Also,
9 Eric Dumazets BPF Just-in-Time compiler can speed up the critical path [3].
11 [1] http://www.linuxfoundation.org/collaborate/workgroups/networking/napi
12 [2] http://datatag.web.cern.ch/datatag/howto/tcp.html
13 [3] http://thread.gmane.org/gmane.linux.network/191115
14     Kernel build option:
15       CONFIG_HAVE_BPF_JIT=y
16       CONFIG_BPF_JIT=y
17 [4] http://bit.ly/3XbBrM