SimaticResearchActivity / FBAE

Framework for Broadcast Algorithms Evaluation
GNU Affero General Public License v3.0
0 stars 1 forks source link

Add program argument to specify warmup/cooldown phase #18

Closed simatic closed 7 months ago

simatic commented 7 months ago

For the moment, a participant measures ping time for all of the perfMessage it sends. So it may happen that the first PerfMessage messages or the last one experience different ping times, because not all of the participants are broadcasting at the same time.

To solution this problem, a program argument should be added to specify a warmup/cooldown phase:

Argument (specified by -w|--warmupCooldown) is a number between 0 and 49. It represents the percentage of total number of PerfMessage sent which should be considered as part of warmup phase. The same percentage is applied for messages of cooldown phase.

Example: If argument is 5, 5% of PerfMessage messages will be considered as part of warmup phase, and another 5% will be considered as part of cooldown phase.