-
Notifications
You must be signed in to change notification settings - Fork 116
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
confusing "Packet Loss" result #231
Comments
Hi, @NatUni, I think there are two possible reasons for N/A:
However, in the process of developing this feature, I found that some servers did not count the received udp datagrams (the tcp pipeline behaved normally). I don't know why, but this is the main reason for N/A. The situation you encountered also exists in the official speedtest... I suggest you try another server.
Do you want the line to be displayed as |
thank you for your very prompt response! you answered my question satisfactorily. it's up to you if you think it's worth modifying the user interface. an "x" seems drastic, maybe a "?" as far as im concerned, your package is good as is, so feel free to close this issue. i bring you additional information you may do with what you will: against my better judgement i tried running as root (just a hunch, knowing |
It seems that you always get N/A in a non-root environment.
// use mixed PacketLoss
mixed, err := analyzer.RunMulti(serverList.Hosts())
checkError(err)
fmt.Printf("Mixed packets lossed: %.2f%%\n", mixed.LossPercent())
fmt.Printf("Mixed packets lossed: %.2f\n", mixed.Loss())
fmt.Printf("Mixed packets lossed: %s\n", mixed)
// Output
> Mixed packets lossed: 1.40%
> Mixed packets lossed: 0.01
> Mixed packets lossed: Packet Loss: 1.40% (Sent: 2116/Dup: 0/Max: 2145) |
i get:
✓ Packet Loss: N/A
does that mean no packet loss, or "none", because, i dont know about you but, packet loss is definitely "applicable" in my life. LOL
or, does that output mean that the Packet Loss Analyzer doesn't work on my platform? (FreeBSD 13.3/amd64, Go 1.22) if that were the case then i'd hope to see some output besides "✓ Packet Loss Analyzer: Running in background (<= 30 Secs)" and its all green checkmarks down the line
The text was updated successfully, but these errors were encountered: