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

Thanks for the new extended stats, more questions #27

Open
moeller0 opened this issue Jun 18, 2022 · 0 comments
Open

Thanks for the new extended stats, more questions #27

moeller0 opened this issue Jun 18, 2022 · 0 comments

Comments

@moeller0
Copy link

user@ubuntu:~/CODE/goresponsiveness$ time ./networkQuality --config mensura.cdn-apple.com --port 443 --path /api/v1/gm/config --extended-stats
06-18-2022 16:02:42 UTC Go Responsiveness to mensura.cdn-apple.com:443...
Download:  89.838 Mbps ( 11.230 MBps), using 12 parallel connections.
Upload:    26.655 Mbps (  3.332 MBps), using 12 parallel connections.
Total measurements: 15
RPM:  2613
Extended Statistics:
        Maximum Path MTU: 1492
        Maximum Send MSS: 1208
        Maximum Recv MSS: 1208
        Total Retransmissions: 9
        Total Reorderings: 36
        Average RTT: 66428.75


real    0m5.516s
user    0m1.329s
sys     0m1.479s

Question: Average RTT: 66428.75 what unit is that in? Looking at the RPM value I expect an RTT in the range of 60000/2613 = 22.9621125144 ms, so is Average RTT in µs? Maybe the units could be added like:

        Maximum Path MTU [B]: 1492
        Maximum Send MSS [B]: 1208
        Maximum Recv MSS [B]: 1208
        Total Retransmissions: 9
        Total Reorderings: 36
        Average RTT [µs]: 66428.75

or

        Maximum Path MTU: 1492 B
        Maximum Send MSS: 1208 B
        Maximum Recv MSS: 1208 B
        Total Retransmissions: 9
        Total Reorderings: 36
        Average RTT: 66428.75 µs

BTW the macos extended stats are also nice!:

Extended Statistics:
	Maximum Segment Size: 1208
	Total Bytes Retransmitted: 4480
	Retransmission Ratio: 1.87%
	Total Bytes Reordered: 40966755
	Average RTT: 73.08333333333333

Again adding the units would be helpful. Also I guess these come from the OS, but IMHO transmission and reordering as event counts as on Linux seems much easier to interpret (but might maybe want the total packet count as reference as well, but that might be going into the weeds).

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

No branches or pull requests

1 participant