Skip to content

Conversation

avasilevskii
Copy link

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

This PR adds a configuration option to specify fixed generation rate for TCP/UDP_RR tests for uperf load driver. This should improve latency measurement precision and reproducibility.

Related Tickets & Documents

  • Related Issue #
  • Closes #

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

  • Please describe the System Under Test.
  • Please provide detailed steps to perform tests related to this code change.
  • How were the fix/results from this change verified? Please provide relevant screenshots or results.

@rsevilla87 rsevilla87 self-requested a review September 29, 2025 13:29
@rsevilla87 rsevilla87 added the enhancement New feature or request label Sep 29, 2025
@rsevilla87 rsevilla87 requested a review from jtaleric September 29, 2025 13:30
<flowop type="connect" options="remotehost=%s protocol=%s port=%d"/>
</transaction>
<transaction duration="%d">
<transaction duration="%d" rate="%d">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if rate is not set in the config?, I guess is a no-op,

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are absolutely right! I've added handling for unset rate.

@jtaleric
Copy link
Member

/lgtm

@avasilevskii avasilevskii marked this pull request as draft September 29, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants