Replace iPerf with Netperf in Container-Based Approach
Description
We need to replace our iPerf/iPerf3 usage with Netperf in the containerized workflow. This includes adding a new Docker image for Netperf, adjusting the Makefile to run Netperf-based tests, and updating container-installer.sh so it can install or pull the Netperf container.
Tasks
-
Add a Docker Image for Netperf
- Create a Dockerfile (similar to our
fioorstress-ngDockerfiles) that installs Netperf on Alpine. - Ensure the container can act as both Netperf server (
netserver) and client (netperf).
- Create a Dockerfile (similar to our
-
Update
container-installer.sh- Remove any references to iPerf/iPerf3.
- Add logic to build or pull the Netperf container.
- Verify that Netperf is recognized as part of the container-based toolset.
-
Refactor the Makefile (inside
containerization/)- Remove iPerf references and targets.
- Create new Netperf targets for server/client.
- Integrate Netperf thresholds (500 Mb/s, 1000 Mb/s, 2000 Mb/s) or other parameters to match our testing methodology.
-
Revise the “Container-Based Approach” Section
- Update documentation to reflect that Netperf, not iPerf, is now used for network throughput tests in containers.
- Highlight how to run the Netperf server container vs. Netperf client container.