diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2014-08-21 16:39:14 +0200 |
---|---|---|
committer | Jesper Dangaard Brouer <brouer@redhat.com> | 2014-08-21 16:39:36 +0200 |
commit | 76486ece10c6dbada8d78bbe50aa8254d3496a47 (patch) | |
tree | 51db5740d5914e29980b90b095bd9785024aa27d /trafgen.8 | |
parent | 9e031cbba84383c1948abdfe141cd7ecc1ab37f9 (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.8 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |