Random flows: Use seeds again and increase limit. 11/27711/29
authorVratko Polak <vrpolak@cisco.com>
Wed, 13 Jan 2021 18:38:50 +0000 (19:38 +0100)
committerVratko Polak <vrpolak@cisco.com>
Mon, 18 Jan 2021 15:45:33 +0000 (15:45 +0000)
commiteedb7dff222d2590ac2cb5a5e67dc7d90317f05c
treee5de05f54c62de47cb85603dac85a4b895632a3a
parent69264aed8d43f3c4a8342dd7584f80336108c879
Random flows: Use seeds again and increase limit.

TRex does mix seeds when distributing over workers,
but it is multiplicative [0], so zero is the only bad value.

Limit restricts the cycle length of PRNG (by resetting [1] the seed).
We want the cycle as long as possible.

[0] https://github.com/cisco-system-traffic-generator/trex-core/blob/v2.73/src/stx/stl/trex_stl_stream_vm.h#L1616
[1] https://github.com/cisco-system-traffic-generator/trex-core/blob/v2.73/src/stx/stl/trex_stl_stream_vm.h#L313-L314

Change-Id: I33a29496f0853ef60d592c988f81a9d1109b5878
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd10000.py
GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd100000.py
GPL/traffic_profiles/trex/trex-stl-ethip4-ip4dst-rnd1000000.py