For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Cennso Test Tools 1.8.0 - TPLoad

TPLoad in Cennso Test Tools (CTT) version 1.8.0 provides the following features and bug fixes:

  • Enhanced metrics and state reporting
  • Introduction of the is_global flag in traffic rate management
  • TPLoad CLI: Flag rename and rearrangement
  • TPLoad Helm chart update: transition to StatefulSets
  • TPLoad Support Helm chart fixes

Features

Enhanced metrics and state reporting

TPLoad 1.8.0 introduces a significant update to tpload-core, offering a new set of metrics that enhance the visibility and monitoring of test metrics. The new metrics are as follows:

  • tp_core_test_state - Indicates the current state of the test. The possible states are: Idle, SetUp, Running, and TearDown.
  • tp_core_test_info - Provides general information about the currently running test
  • tp_core_test_forwarding_rate_packets - Displays the packet forwarding rate of the current test
  • tp_core_test_concurrent_sessions - Shows the number of concurrent sessions in the test
  • tp_core_test_session_setup_rate - Indicates the session setup rate for the test

The Grafana Dashboard included in the tpload-support chart is now updated to reflect the new metrics. The dashboard provides a more comprehensive view of the test performance and state, aiding in more effective monitoring and analysis.

Introduction of the is_global flag in traffic rate management

A new version of TPLoad introduces the is_global flag, which significantly altering how traffic rates are managed across sessions. Previously, the overall traffic rate was proportional to the number of active sessions. See the sample scenario:

  • Defined traffic rate: 1 million packets per second (1 mpps)
  • Active sessions: 50% of total sessions
  • Resulting traffic rate: Reduced to 500 thousand packets per second (500 kpps), correlating with the number of active sessions

Now, the is_global flag, when set to true, maintains a consistent traffic rate, regardless of the number of active sessions. With the is_global flag enabled, the test setup ensures that the predefined traffic rate is constant:

  • Defined traffic rate: 1 million packets per second (1 mpps)
  • Active sessions: The number of active sessions no longer impacts the overall traffic rate.
  • Resulting traffic rate: Remains at 1 mpps, irrespective of the active session count

To activate this behaviour, set the is_global flag to true in the test configuration. When the flag is false or not set, the system reverts to the previous session-based traffic rate management.

TPLoad CLI: Flag rename and rearrangement

TPLoad version 1.8.0 introduces updates to the command-line interface (CLI), featuring changes in argument names and defaults. These modifications align TPLoad's default values and argument names with the Service Level Objective (SLO) definitions for Cennso projects.

The following CLI commands were upated:

  • tpload-cli start:

    • Executes the PGW test for validating SLOs
    • This command is now more targeted towards SLO validation.
  • tpload-cli benchmark:

    • Facilitates more efficient and automatic calculation of parameters
    • The arguments have been rearranged for better parameter calculation and reuse.

For detailed flag information, use the CLI help command: tpload-cli <subcommand> -h. For more insights, refer to the Benchmarking section in the documentation.

TPLoad Helm chart update: transition to StatefulSets

In the latest update of the TPLoad Helm chart, there has been a significant shift in the deployment strategy. The components tpload-core, tpload-gen-left, and tpload-gen-right have transitioned from being deployed as Kubernetes Deployments to StatefulSets.

The implications of the change are as follows:

  • StatefulSets are now used for deploying tpload-core, tpload-gen-left, and tpload-gen-right.
  • This change offers better support for stateful applications and provides stable, unique network identifiers.

Fixes

TPLoad Support Helm chart updates in CTT 1.8.0

CTT 1.8.0 introduces a series of fixes and enhancements to the TPLoad Support Helm chart, improving the functionality and user customization options:

  • Customisable destination folder in Grafana: Users now can set the destination folder name in Grafana. This feature enhances organisational flexibility and dashboard management.

  • Customisable Grafana dashboard names: The update allows for setting custom names for the installed Grafana dashboards. This customisation aids an easier identification and navigation of dashboards.

  • Function update for traffic panels: In the traffic panels, the rate function has been changed to irate. This change offers a more immediate and accurate representation of the rate of change in traffic data, improving the monitoring and analysis capabilities.