trafgen: add option to not adjust system socket mem during testrun
commit76486ece10c6dbada8d78bbe50aa8254d3496a47
authorJesper Dangaard Brouer <brouer@redhat.com>
Thu, 21 Aug 2014 14:39:14 +0000 (21 16:39 +0200)
committerJesper Dangaard Brouer <brouer@redhat.com>
Thu, 21 Aug 2014 14:39:36 +0000 (21 16:39 +0200)
tree51db5740d5914e29980b90b095bd9785024aa27d
parent9e031cbba84383c1948abdfe141cd7ecc1ab37f9
trafgen: add option to not adjust system socket mem during testrun

The default behavior of trafgen is to boost the systems default
socket memory limits during a testrun.  This behaviour does not
always result in improved performance, because this will stress
the kernels SLAB allocators unnecessary.

Introducing an option "--no-sock-mem" that instruct trafgen
to not perform any socket memory adjustments.

Fixes: #130
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
trafgen.8
trafgen.c