See discussion 1520, and see neper for sample code. https://github.com/google/neper
This will be a little bit of work, as you'll need to use send/recv instead of read/write calls.
Discussed in #1520
Originally posted by rjmcmahon May 17, 2023
Hi,
I'm considering adding 200G+ support to iperf 2 and thought it might be interesting to get iperf 3 engineers' thoughts. One initial question I have is about using sendfile vs the SO_ZEROCOPY/MSG_ZEROCOPY socket/send option. Any thoughts on that?
Also, I'm wondering about BIG TCP and if there have been any experiments with v6 or possibly v4?
Bob
PS. A reddit thread on 400G