Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I noticed that the answer to my ping is slower in one debian machine that another.

For the first one when i ping to 8.8.8.8:

 64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=29.6 ms

For the second one:

 64 bytes from 8.8.8.8: icmp_req=1 ttl=50 time=6.77 ms

It's 4 times faster. So how can i make this answer faster ? Which network parameters should i modify to get better response ?

share|improve this question
1  
Looking at the TTLs, the second machine is three hops closer to the target, so no surprise. You should use tracepath or similar to examine delays for every hop on the network path. –  Dubu May 6 at 8:59
add comment

1 Answer 1

You cannot do anything on the computer itself to make ping latency lower, because the network distance from 8.8.8.8 is different between these two computers. Most of the latency is caused by the intermediate hops between your computer and 8.8.8.8.

You can use traceroute 8.8.8.8 command to see more details on the network latency for every hop on the path to the 8.8.8.8 server.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.