summaryrefslogtreecommitdiff
path: root/trafgen.8
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2014-08-21 16:39:14 +0200
committerJesper Dangaard Brouer <brouer@redhat.com>2014-08-21 16:39:36 +0200
commit76486ece10c6dbada8d78bbe50aa8254d3496a47 (patch)
tree51db5740d5914e29980b90b095bd9785024aa27d /trafgen.8
parent9e031cbba84383c1948abdfe141cd7ecc1ab37f9 (diff)
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>
Diffstat (limited to 'trafgen.8')
-rw-r--r--trafgen.89
1 files changed, 9 insertions, 0 deletions
diff --git a/trafgen.8 b/trafgen.8
index 4a888c5..31c2f52 100644
--- a/trafgen.8
+++ b/trafgen.8
@@ -152,6 +152,15 @@ scheduling rate resp. CPU time. This is however not the default setting, since
it could lead to starvation of other processes, for example low priority kernel
threads.
.PP
+.SS -A, --no-sock-mem
+Do not change systems default socket memory setting during testrun.
+Default is to boost socket buffer memory during the test to:
+.PP
+ /proc/sys/net/core/rmem_default:4194304
+ /proc/sys/net/core/wmem_default:4194304
+ /proc/sys/net/core/rmem_max:104857600
+ /proc/sys/net/core/wmem_max:104857600
+.PP
.SS -Q, --notouch-irq
Do not reassign the NIC's IRQ CPU affinity settings.
.PP