Open
Description
pro-bing v0.5.0 seems to have a severe regression relating to packet loss. Pinging a host on a home WiFi network with v0.4.1 succeeded as expected:
~/src/pro-bing ((HEAD detached at v0.4.1))$ go run cmd/ping/ping.go -t 10s 192.168.1.1
PING 192.168.1.1 (192.168.1.1):
32 bytes from 192.168.1.1: icmp_seq=0 time=4.835066ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=1 time=5.048004ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=2 time=5.108371ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=3 time=5.04682ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=4 time=5.15136ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=5 time=4.051555ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=6 time=5.45183ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=7 time=4.222143ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=8 time=4.014752ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=9 time=4.182697ms ttl=64
--- 192.168.1.1 ping statistics ---
10 packets transmitted, 10 packets received, 0 duplicates, 0% packet loss
round-trip min/avg/max/stddev = 4.014752ms/4.711261ms/5.45183ms/507.947µs
However, with v0.5.0, the packet loss is extreme:
~/src/pro-bing ((HEAD detached at v0.5.0))$ go run cmd/ping/ping.go -t 10s 192.168.1.1
PING 192.168.1.1 (192.168.1.1):
32 bytes from 192.168.1.1: icmp_seq=1 time=4.087365ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=4 time=3.835809ms ttl=64
32 bytes from 192.168.1.1: icmp_seq=7 time=4.251692ms ttl=64
--- 192.168.1.1 ping statistics ---
10 packets transmitted, 3 packets received, 0 duplicates, 70% packet loss
round-trip min/avg/max/stddev = 3.835809ms/4.058288ms/4.251692ms/171.024µs
The results are quite reproducible by switching back and forth between the versions and repeating the test. In a subsequent test with v0.5.0, 100% packet loss was observed.
Given how dramatic this change is, I think that v0.5.0 should be retracted.
Metadata
Metadata
Assignees
Labels
No labels