diff options
author | Pierrick Louin <pierrick.louin@orange.com> | 2019-08-02 15:16:33 +0200 |
---|---|---|
committer | fmenguy <francoisregis.menguy@orange.com> | 2019-10-21 15:07:39 +0200 |
commit | 97e6de93dc4de1b7724d659c213b5c09a25287d8 (patch) | |
tree | e4de7c8d38766300d38b976877936fa4350eb3c2 /nfvbench/cfg.default.yaml | |
parent | 98aac3b7ed5060d2e498d4ab545482a525339120 (diff) |
NFVBENCH-146 Add cache_size option
Change-Id: I99c1242198e40bd75cfd013c829d0d24dbafb5d9
Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'nfvbench/cfg.default.yaml')
-rwxr-xr-x | nfvbench/cfg.default.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nfvbench/cfg.default.yaml b/nfvbench/cfg.default.yaml index 01097a0..8e94eac 100755 --- a/nfvbench/cfg.default.yaml +++ b/nfvbench/cfg.default.yaml @@ -300,6 +300,16 @@ restart: false # if empty defaults to the one specified in generator_profile.cores cores: +# Add cache size in packet generation for TRex field engine (FE). +# More information for TRex performance: +# https://trex-tgn.cisco.com/trex/doc/trex_stateless.html#_tutorial_field_engine_significantly_improve_performance +# If cache_size = 0 (or empty): no cache will be used by TRex (default) +# If cache_size < 0: cache_size will be set to flow count value +cache_size: +# The cache size is actually limited by the number of 64B mbufs configured in the trex platform configuration (see Trex manual 6.2.2. Memory section configuration) +# Trex will use 1 x 64B mbuf per pre-built cached packet, assuming 1 pre-built cached packet per flow, it means for very large number of flows, the number of configured mbuf_64 will need to be set accordingly. +mbuf_64: + # mbuffer ratio to use for TRex (see TRex documentation for more details) mbuf_factor: 0.2 |