Find out how far away the server is from just Pinging it?

  • Thread starter Thread starter biferi
  • Start date Start date
  • Tags Tags
    Server
AI Thread Summary
The discussion focuses on understanding the Ping command and its implications for determining server distance. Ping results showed low round-trip times (30-31 ms) for packets sent to Google, indicating a fast response. However, the actual distance to the server cannot be accurately calculated due to various factors, such as network nodes and server processing times. While an ideal scenario suggests a server could be approximately 4500 km away based on a 30 ms ping, real-world conditions complicate this estimation. Additional tools like Tracert can provide insights into the routing paths and delays experienced during the ping process.
biferi
Messages
191
Reaction score
0
I am just playing with the Ping command and would like some help understanding it.

I used Ping on Google and 4 Packets of 32 Bytes of Data went out and came back.
And the TTL for eatch Packet was like this

TTL = 30 ms
TTL = 31 ms
TTL = 30 ms
TTL = 29 ms

Now I know that this is how long each Packet took to go and come back.
And it should stay under 50 ms. and anything over something is wrong.

But how do ppeople findout how far away the server is from just Pinging it?

I know 1,000 ms = 1 SEC. so if my Pakets took 31 ms to get to and come back from google does this mean the server is how many MIN. away it is?
 
Computer science news on Phys.org
I doubt there is any strict correlation between the ping number and the distance to the server. It will depend on how many nodes the signal goes through to get there and back and how fast they are.

Also, "should stay under 50ms" is a decent rule of thumb, BUT ... there are many sites that are run off of shared servers, sometimes heavily shared servers, that will rarely give you better than, say, 100ms response time, so it is NOT just a matter of the signal getting there and back, there is also the processing time of the server and that can be slowed down by its load, having nothing to do with the rest of the signal transmission time.
 
Thanks for getting back to me.

But I do want to know google gave me a TTL of 30ms 31ms 3ms 29ms they are all very very low.

so this tells me they all came back fast and had no prablems.

Is there any way to ajust the Size of each Packet from 32 Bytes to whatever you want?
 
Yeah, you'd have to make some crazy assumptions to get an idea of how far away the server is. Just for fun though, let's assume that the line is ideal and the signal travels at the speed of light, and that the server is perfect with no interuptions and doesn't have to go through clusters etc. So from 30ms we can get that the server you have pinged is about 4500 km away, which is 1/9 of the Earth's circumference or like from one side of the U.S to the other. Being an engineer, I would call this a conservative estimate :) or the maximum case. Completely pointless, but interesting.

Btw, 30ms is damm good, from Australia we get 100ms from most servers not in our country.
 
Last edited:
Have a look at the Tracert cmd, it may help you understand where the ping is actually coming from, the time it takes to hop over all the other connections to google or any server in general and then back again. this is why it is generally impossible to determine how far a server is from your current location, not to mention all networks do not just run in straight lines in terms of distance. you could also look into routing as well as its quite interesting where you get pings from depending on switch configuration and what route your computer takes to collect the information.
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Back
Top