-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Feature] Median RTT #165
Comments
Hi Rohan, thanks a lot for the recommendation! I thought about it too, but didn't add it to the basic summary, because to calculate the median, we will have to store all the ping results, which will make the memory keep growing, so it will impact cases such as long running continuous ping. So, currently, in basic summary and logs, we don't store any ping results but only measure running statistics, unless we explicitly enables advanced graphs such as latency scatter. To avoid the outliers, I added And I am wondering - how about we add a new command line opt for it? Say, --show-median with --smd as short alias. |
Here is an example of latency bucket. Hope it helps!
|
On Sun, Sep 11, 2022 at 11:37:56PM -0700, Riff wrote:
So I am wondering - how about we add a new command line opt for it? Say, --show-median with --smd as short alias.
If we have a CLI flag to store all data, that could also be useful for percentiles and histograms. But the first priority should probably be parity with existing "ping" utilities. I'd be fine with the extra option.
…--
Seirdy (https://seirdy.one)
|
Hi Rohan, have you tried the also, although i do agree it might be nice to have, but i don't think it is anything close to "parity to existing ping utilities" or anything urgent. I have tried 4 different most frequently used pings on both linux and windows, but none of them provides median as part of result summaries. please feel free to check the details below. And if you are somehow blocked by this, please feel free to give the -b parameter a try. it is flexible and can provides much better insight on the latency distributions :) ping on windows:
psping on windows:
ping on linux:
hping:
|
Standard ping utilities typically report median RTTs as well as averages. This is a simple way to report a real representative time that isn't an outlier. Having this feature in rnp would be really helpful.
The text was updated successfully, but these errors were encountered: