1. Home >
  2. Apps >
  3. Groups >

Is There Anyway To Decrease The Ping ?

Question asked by Abhishek Rawal in #Coffee Room on Jul 4, 2013
Abhishek Rawal
Abhishek Rawal 路 Jul 4, 2013
Rank A2 - PRO
I am always having ping of around 100+ & that value increases to 200 or 250 + during peak hours ( morning 9 to evening 5), then again lowers to around 150.

In my old connection, i used to get <80 ms during early morning, 2 AM to 8 AM. but not in this case. ugh 😡

Here's my current stats :
[​IMG]

Any possible way to decrease the ping, like as if any tweaks that can really help me reach beyond 70 or 60 ? Posted in: #Coffee Room
Kaustubh Katdare
Kaustubh Katdare 路 Jul 4, 2013
Rank A1 - PRO
I think the only thing you can change is the DNS server. I'd think Mumbai server should give you better response and the delay would just be temporary; you may try DNS server located at Delhi.

I'm not sure if using Google DNS or OpenDNS would work in this case. I'll tag durga and kidakaka.
Ashraf HZ
Ashraf HZ 路 Jul 4, 2013
Rank A2 - PRO
Changing DNS has no affect in pings, only in hostname resolution.

What is your network setup like? Are you using Wifi?

Try to run the traceroute command to a popular site (e.g google) and identify which of the hops is contributing to the latency.
Kaustubh Katdare
Kaustubh Katdare 路 Jul 4, 2013
Rank A1 - PRO
...ash : I thought the DNS would be considered one of the hops. 馃槰
Ashraf HZ
Ashraf HZ 路 Jul 4, 2013
Rank A2 - PRO
Kaustubh Katdare
...ash : I thought the DNS would be considered one of the hops. 馃槰
Well, changing the DNS may help host name resolving quicker, but once you obtain the IP, your data packets do not go through DNS. It goes through a series of hops (routers, switches, datacenters, etc)

Lets say I ping crazyengineers from my office:
C:\Documents and Settings\ash>ping crazyengineers.com
 
Pinging crazyengineers.com [69.167.135.69] with 32 bytes of data:
 
Reply from 69.167.135.69: bytes=32 time=312ms TTL=43
Reply from 69.167.135.69: bytes=32 time=308ms TTL=43
Reply from 69.167.135.69: bytes=32 time=706ms TTL=43
Reply from 69.167.135.69: bytes=32 time=308ms TTL=43
 
Ping statistics for 69.167.135.69:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 308ms, Maximum = 706ms, Average = 408ms
 
I see that I have an average latency of 408ms. To see which part of the hop is contributing to this latency, I perform a traceroute to CE:
C:\Documents and Settings\ash>tracert crazyengineers.com
 
Tracing route to crazyengineers.com [69.167.135.69]
over a maximum of 30 hops:
 
  1    75 ms    99 ms  173 ms  10.33.128.9
  2    87 ms  147 ms    79 ms  10.33.134.11
  3    77 ms    91 ms  105 ms  10.10.24.172
  4  108 ms    79 ms    97 ms  10.10.24.11
  5    93 ms    97 ms    83 ms  10.33.136.3
  6    88 ms    89 ms    91 ms  123.136.101.178
  7  105 ms    89 ms  109 ms  203.117.23.121
  8  125 ms  127 ms    99 ms  203.118.7.14
  9  209 ms    91 ms  119 ms  anutsi11.starhub.net.sg [203.118.3.163]
10  292 ms  379 ms  355 ms  te0-7-0-9.ccr21.sjc04.atlas.cogentco.com [38.104
.140.249]
11  304 ms  321 ms  305 ms  be2018.mpd22.sfo01.atlas.cogentco.com [154.54.28
.81]
12  308 ms  437 ms  327 ms  te0-4-0-3.mpd22.mci01.atlas.cogentco.com [154.54
.45.85]
13  342 ms  725 ms  347 ms  te0-7-0-4.ccr22.ord01.atlas.cogentco.com [154.54
.30.102]
14  411 ms  351 ms  341 ms  te0-1-0-4.ccr22.ord03.atlas.cogentco.com [66.28.
4.78]
15  356 ms  339 ms  523 ms  te2-1.mag01.ord03.atlas.cogentco.com [154.54.40.
174]
16  572 ms  331 ms  335 ms  te2-2.ccr01.ord12.atlas.cogentco.com [154.54.86.
166]
17  359 ms  325 ms  323 ms  cogent-chi.liquidweb.com [38.104.103.166]
18  331 ms  341 ms  319 ms  lw-border1.rtr.liquidweb.com [209.59.157.1]
19  418 ms  357 ms  343 ms  lw-core4-te91.rtr.liquidweb.com [209.59.157.206]
 
20  358 ms  343 ms  341 ms  lw-dc3-dist8-po5.rtr.liquidweb.com [69.167.128.1
33]
21  419 ms  303 ms  347 ms  main.crazyengineers.com [69.167.135.69]
 
Trace complete.
 
We see a big jump in latency at hop # 10 (cogent communications route), which after a quick search turns out to be at one of the interconnects at Singapore. I suspect there is some peering issue between the ISP Starhub (singapore) and Cogent.
Abhishek Rawal
Abhishek Rawal 路 Jul 4, 2013
Rank A2 - PRO
ash How to traceroute in Linux ?
Which command to use ?
Ashraf HZ
Ashraf HZ 路 Jul 4, 2013
Rank A2 - PRO
Abhishek Rawal
ash How to traceroute in Linux ?
Which command to use ?
Just type traceroute [insert website], e.g

traceroute google.com
Abhishek Rawal
Abhishek Rawal 路 Jul 4, 2013
Rank A2 - PRO
ash
Just type traceroute [insert website], e.g

traceroute google.com
Packages need to install for that.
Thanks anyways. I can trace it now. 馃榾
Kaustubh Katdare
Kaustubh Katdare 路 Jul 4, 2013
Rank A1 - PRO
Abhishek Rawal : See! Windows just works! 馃槈
Abhishek Rawal
Abhishek Rawal 路 Jul 4, 2013
Rank A2 - PRO
Kaustubh Katdare
Abhishek Rawal : See! Windows just works! 馃槈
Not again! 馃憖

PS : The packages were just of few KBs.
durga ch
durga ch 路 Jul 5, 2013
Rank A2 - PRO
ash ! that was spot on!! 馃榿 ( I love reading your posts 馃榿)
so did you figure out what hop exactly is causing latency?
incase the latency is say in the first hop , assuming the first hop is your wifi connection, then you might want to check local machine performance , but if the latency is beyond your network , or beyond your ISP, I dont think there is much what we can do about..
Ashraf HZ
Ashraf HZ 路 Jul 6, 2013
Rank A2 - PRO
Abhishek Rawal
Not again! 馃憖

PS : The packages were just of few KBs.
Bro, what was the result of the trace? Did you identify where your latency lie?

Also, what type of connection do you have? ADSL? Do you use Wifi?
Anil Jain
Anil Jain 路 Jul 6, 2013
Rank A2 - PRO
Kaustubh Katdare
Abhishek Rawal : See! Windows just works! 馃槈
How does it work in OSX?
You'll probably need to download a traceroute program such as WhatRoute. Right? 馃榿

-CB

You must log-in or sign-up to reply to this post.

Click to Log-In or Sign-Up