The same happens to public IPv4 and IPv6 addresses but also to localhost:
Any idea why the delay is different when I ping ::1 and when 127.0.0.1 ?
It happens to two different "AMD Ryzen 9 5950X" servers. Other servers with different hardware have similar results for ::1 and 127.0.0.1
Code:
ping -c 10 ::1
PING6(56=40+8+8 bytes) ::1 --> ::1
16 bytes from ::1, icmp_seq=0 hlim=64 time=0.037 ms
16 bytes from ::1, icmp_seq=1 hlim=64 time=0.023 ms
16 bytes from ::1, icmp_seq=2 hlim=64 time=0.028 ms
16 bytes from ::1, icmp_seq=3 hlim=64 time=0.035 ms
16 bytes from ::1, icmp_seq=4 hlim=64 time=0.032 ms
16 bytes from ::1, icmp_seq=5 hlim=64 time=0.033 ms
16 bytes from ::1, icmp_seq=6 hlim=64 time=0.032 ms
16 bytes from ::1, icmp_seq=7 hlim=64 time=0.032 ms
16 bytes from ::1, icmp_seq=8 hlim=64 time=0.032 ms
16 bytes from ::1, icmp_seq=9 hlim=64 time=0.033 ms
--- ::1 ping6 statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.023/0.032/0.037/0.004 ms
Code:
ping -c 10 127.0.0.1
PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.049 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.274 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.208 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.283 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.305 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.264 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.286 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.420 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.289 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.028 ms
--- 127.0.0.1 ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.028/0.241/0.420/0.113 ms
Any idea why the delay is different when I ping ::1 and when 127.0.0.1 ?
It happens to two different "AMD Ryzen 9 5950X" servers. Other servers with different hardware have similar results for ::1 and 127.0.0.1