examples/networking/misc/lwiperf: add application#22286
Open
basilfx wants to merge 7 commits into
Open
Conversation
8b82639 to
12e674f
Compare
crasbe
reviewed
May 12, 2026
ed2a543 to
9ddc7ae
Compare
This is a lwIP app that provides an iPerf2 compatible client and server. It can be useful for benchmarking an ethernet driver.
This is an application that encapsulates lwIP's built-in iPerf client/server. It provides a shell to connect to a server, or to host a server.
9ddc7ae to
f2a435f
Compare
f2a435f to
7d6ec33
Compare
Member
Author
|
Gave this another review myself:
|
1e76108 to
b747126
Compare
Member
Author
This was referenced May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Contribution description
This is lwIP's built-in iPerf2 'app', provided as an example application for RIOT-OS. I came across this functionality, researching possibilities to test (to be PR'd) ethernet drivers.
I am aware of
benchmark_udp. Given that the code for the built-in iPerf2 'app' is already distributed with lwIP, I think this is a nice addition to test TCP throughput, and have another utility to stress test an ethernet driver.Testing procedure
This can be easily tested on
native.On the host, start an iPerf server (
-Vis for IPv6):Run the client on the node, connecting to the host:
The node will connect to the server and print a report afterwards:
The host output will look as follows:
Issues/PRs references
None
Declaration of AI-Tools / LLMs usage:
AI-Tools / LLMs that were used are: