This effort has a long history. In the past, some of the work was merged into version 2.0.13.
Due to the event-driven architecture of QNX, QNX team has extended the existing functionality for UDP transfers by implementing burst send/receive support using the sendmmsg() and recvmmsg() system calls.
This reduces per-packet overhead and can improve UDP throughput by up to 4× in some cases.
I believe this approach could also improve performance on Linux.
At the moment, this optimization is only enabled for QNX, but it could potentially be adapted for Linux builds as well.
I would like to upstream these changes to the original repository on sourceforge.net
and wanted to first ask whether this would make sense and whether such contributions might be accepted.
Thank you for your time, and I would be happy to discuss the details if there is interest.
Best regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am currently porting iperf2 to the QNX OS.
This effort has a long history. In the past, some of the work was merged into version 2.0.13.
Due to the event-driven architecture of QNX, QNX team has extended the existing functionality for UDP transfers by implementing burst send/receive support using the sendmmsg() and recvmmsg() system calls.
This reduces per-packet overhead and can improve UDP throughput by up to 4× in some cases.
I believe this approach could also improve performance on Linux.
These changes have already been merged into version 2.2.1 in the QNX ports repository:
https://github.com/qnx-ports/iperf2
Build instructions are available in a separate repository:
https://github.com/qnx-ports/build-files
Specifically here:
https://github.com/qnx-ports/build-files/blob/main/conan/recipes/iperf2/README.md
At the moment, this optimization is only enabled for QNX, but it could potentially be adapted for Linux builds as well.
I would like to upstream these changes to the original repository on sourceforge.net
and wanted to first ask whether this would make sense and whether such contributions might be accepted.
Thank you for your time, and I would be happy to discuss the details if there is interest.
Best regards