From: Daniel Borkmann Date: Tue, 29 Jan 2013 15:44:24 +0000 (+0100) Subject: docs: mention txhashes in trafgen X-Git-Url: https://repo.or.cz/w/netsniff-ng.git/commitdiff_plain/ff44b0bbc2bd804c975f477dbc0f9d34d5a870cb docs: mention txhashes in trafgen Signed-off-by: Daniel Borkmann --- diff --git a/Documentation/Performance b/Documentation/Performance index f04134ae..e51411ae 100644 --- a/Documentation/Performance +++ b/Documentation/Performance @@ -261,18 +261,11 @@ Don't use counters or byte randomization in trafgen configuration file, since it slows down the packet generation process. Static packet bytes are the fastest to go with. -.-=> For large packets, compile the toolkit with MMX/SSE memcpy +.-=> Generate packets with different txhashes in trafgen `-------------------------------------------------------------------------- -If you have a higher portion of large packets rather than small ones, you -could compile the toolkit with an MMX/SSE optimized memcpy, which is available -in src/opt_memcpy.c for x86/x86_64 architectures. Have a look at the toolkit's -install instructions for compiling. - -<=== Further things worth experimenting regarding performance ====> - -- netsniff-ng/trafgen on Ethernet team devices - (http://lingrok.org/xref/linux-linus/drivers/net/team/) -- netsniff-ng/trafgen on virtual tunnel devices +For 10Gbit/s multiqueue NICs, it might be good to generate packets that result +in different txhashes, thus multiple queues are used in the transmission path +(and therefore high likely also multiple CPUs). Sources: ~~~~~~~~