Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make iperf2 report retransmissions #1239

Closed
mfeit-internet2 opened this issue Jan 4, 2022 · 1 comment
Closed

Make iperf2 report retransmissions #1239

mfeit-internet2 opened this issue Jan 4, 2022 · 1 comment
Assignees

Comments

@mfeit-internet2
Copy link
Member

mfeit-internet2 commented Jan 4, 2022

Originally reported in #1236:

(0) pscheduler doesn't report retransmits and current window when used with iperf2. Yet, this could be easily retrieved the output of iperf. Ofc, iperf would have to be passed the option -e for enhanced output

This will need a close look because of differences in how different versions of iperf2 report data.

Using -e gets this:

/usr/bin/iperf -p 5001 -c localhost -t 5 -m -fb -e
------------------------------------------------------------
Client connecting to localhost, TCP port 5001 with pid 11813
Write buffer size: 131072 Byte
TCP window size: 4194304 Byte (default)
------------------------------------------------------------
[  3] local 127.0.0.1 port 44296 connected with 127.0.0.1 port 5001 (ct=0.17 ms)
[ ID] Interval        Transfer    Bandwidth       Write/Err  Rtry     Cwnd/RTT        NetPwr
[  3] 0.00-5.00 sec  15961817088 Bytes  25537890933 bits/sec  121779/0          0       -1K/98 us  32573840.48
getsockopt TCP_MAXSEG failed: Bad file descriptor
[  3] MSS and MTU size unknown (TCP_MAXSEG not supported by OS?)

Note that -y C, which outputs in CSV format, doesn't appear to show the extra data.

@mfeit-internet2
Copy link
Member Author

This was covered by #394.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant