Tim Beale via samba-technical
2018-05-16 05:39:19 UTC
Hi,
The attach patch adds a new option to the traffic_replay tool that
allows you to seed the random number generator.
When you use a model-file to generate traffic, by default the tool
creates random variation in the packets that it actually generates.
However, this makes it hard to measure changes in samba performance over
time, i.e. differences could be just due to random variation in the
types/number of packets sent, rather than due to the Samba code getting
better/worse. Using the --random-seed option means an identical set of
packets gets produced across several different test runs.
Review appreciated.
Thanks,
Tim
The attach patch adds a new option to the traffic_replay tool that
allows you to seed the random number generator.
When you use a model-file to generate traffic, by default the tool
creates random variation in the packets that it actually generates.
However, this makes it hard to measure changes in samba performance over
time, i.e. differences could be just due to random variation in the
types/number of packets sent, rather than due to the Samba code getting
better/worse. Using the --random-seed option means an identical set of
packets gets produced across several different test runs.
Review appreciated.
Thanks,
Tim