Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have some servers in France and in Hong Kong. Ping is quick to google.com, < 10ms in france, and < 30ms in HK.

But ping between these servers is greater than 250ms. This is very slow and very unconfortable, even when I'm on ssh.

Does anyone known any tips to reduce ping between remote locations (VPN, tunnel over a priority port...) ?

share|improve this question
6  
The reason the pings to google.com are low from both servers is because Google has multiple datacenters and servers all over the world, and each of your servers is actually pinging the google.com server closest to themselves. –  KJ-SRS Nov 29 '11 at 17:39
2  
One caution here, do not take ping as an absolute indicator as to how fast things are running between two sites. What I have seen is that ping processing is not necessarily treated as a priority situation and thus your numbers might be actually overestimating the time. –  mdpc Nov 29 '11 at 17:42
2  
traceroute from one to the other. Add that in to the question, and it might be that the traffic between them is going via the US instead of via India. Then we can see what the problem is. –  Aaron Nov 29 '11 at 17:56

2 Answers 2

Aside from increasing the speed of light?

Google isn't a good measure of network speed. The response times that you're seeing indicate clearly that you're hitting Google servers in the same country (or at least on the same continent) from both locations.

Routing to the other side of the world isn't a simple affair - start with a traceroute between the locations and see where the delay is occurring. If a specific router or path is introducing unnecessary delay, your provider may be able to avoid it.

share|improve this answer
    
However when I phone over a VOIP server from HK to France, there is no latency. So I suppose there are priority ports or protocols. –  Xorax Nov 29 '11 at 17:51
9  
This statement defies logic. There is latency, by definition. It's on the order of probably 100ms, if not more (depending on how it actually gets there Now, there might be noticeable latency, but that is a completely different subject. –  Aaron Nov 29 '11 at 17:55
1  
Speed of light round trip time between Paris and Hong Kong is about 70 milliseconds. –  Russell Borogove Nov 29 '11 at 18:48
5  
Ye cannae change the laws o' physics! (When you try bad things happen. You really don't want a bunch of upset physicists on your doorstep.) –  voretaq7 Nov 29 '11 at 19:27
    
The laws of physics be a harsh mistress. –  Shane Madden Nov 29 '11 at 19:34

You'll have to request one of your service provider to route your traffic to given destination at a shortest path. This way latency can be reduced.

i.e France 1.1.1.1 and HK 2.2.2.2 . request your HK service provider to route 1.1.1.1 at shortest path or vise versa at France service provider.

share|improve this answer
    
thank you, I'll try it. –  Xorax Nov 29 '11 at 17:45
5  
This isn't a bad answer, in practice, but just telling them "make it better" isn't generally helpful - they usually do try to make things better and generally pick the best route available. –  Aaron Nov 29 '11 at 18:01
    
This is a correct answer! Though not helpful for an end user. –  mailq Nov 30 '11 at 0:51

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.