On Thu, 17 Nov 2011 13:27:49 -0600,
(E-Mail Removed)d (Moe Trin) wrote:
>On Wed, 16 Nov 2011, in the Usenet newsgroup alt.internet.wireless, in article
><(E-Mail Removed)>, Jeff Liebermann wrote:
>
>]]] Jeff Liebermann <(E-Mail Removed)> wrote:
>
>>>>>> C:\>tracert 192.168.100.1
>>>>>> Tracing route to 192.168.100.1 over a maximum of 30 hops
>>>>>> 1 1 ms <1 ms <1 ms 192.168.1.1
>>>>>> 2 3 ms 2 ms 2 ms 192.168.100.1
>>>>>> Trace complete.
>
>>>>>Note that the gateway router is not on the route, that the response
>>>>>from the cable modem is quick, and that it does not include any
>>>>>additional delays I would expect if the packets were going the long
>>>>>way via the ISP. It's identical to what I got when I setup a static
>>>>>route to the modem. Something else is going on, but I don't know
>>>>>what.
>
>Jeff, just how far away do you expect the IPS's responder to be? You
>may recall something called a "radar mile" which is 12.359 usec/nm or
>6.673 usec/km out and back. Even if you include the cable propagation
>factor, the distance delay is lost in the noise. The main factor in
>the delay is in the operating system, traversing the network stack.
>The operating system or routing application is doing a lot of other
>things and can't respond ``instantly'' to an ICMP echo request. When
>the packet arrives, the CPU has to stop watching the computer pr0n-show
>it's watching, look at the source and destination addresses, look at
>the TTL in the IP header, make the "appropriate" routing decision and
>either forward the packet or create the appropriate reply packet, look
>at it's routing table, and finally shove the packet out the door. All
>this takes time. Or do you think that 192.168.1.1 is 1 msec = 1000
>usec = 1000/12.36 = 81 nautical miles / 150 km away from this source.
>(I'm ignoring the time it takes the originating computer to get the
>packet from the 'tracert' application out onto the wire, and the reply
>from the wire back up to the application.)
>
>>I would also expect to see the default gateway IP in the traceroute
>>path. It would be similar to what I saw with my DSL modem as in:
>
>> C:\>tracert 192.168.0.1
>> Tracing route to 192.168.0.1 over a maximum of 30 hops
>> 1 1 ms <1 ms <1 ms DD-WRT [192.168.1.1]
>> 2 15 ms 16 ms 16 ms dsl-63-249-85-gateway.static.cruzio.com
>> 3 16 ms 14 ms 15 ms 192.168.0.1
>> Trace complete.
>
>>That's not quite standard behavior, methinks. Some else is happening,
>>but I don't know what. Maybe sniffing will help.
>
>So the gateway is 1200 miles away (well, maybe 840 miles through wet
>string)? Most of that delay is the network stack. As to why hop 2
>appears between hop 1 and 3 here and not above, that's a function of
>the O/S and routing application. Did the gateway decrement the TTL
>above? The "Discussion" section of RFC1122 section 3.2.1.7 says it
>should happen (based on RFC1812 section 5.3.1), but is that happening?
>Maybe, maybe not. You might get a hint by looking at the arriving TTL
>on "this" box, but the only way to find out for sure is to put sniffers
>either side of the gateway. The fact that you're going from a RFC1918
>address to a routable one and back to RFC1918 may also delay things.
>
> Old guy
I would expect the latency for traceroute to anywhere to be a minimum
of the latency between the local DSL modem and the delays introduced
by the Byzantine path the packet follows through the ISP's hardware. I
have yet to see it even close to the theoretical propagation delay.
For DSL, it has to go through the RT (remote terminal) concentrator,
get converted and compressed into whatever fiber or copper protocol is
used to get to the DSLAM. At DSLAM, it goes to the network edge
Redback router, which eventually hits the ISP's gateway router. In my
case, I think it's from Ben Lomond to San Francisco via ATM and from
San Francisco to Pentaluma (sonic.net) via ATM. From SF to Santa Cruz
on probably ATM where it hits the Cruzio gateway router. I have an
Efficient 5260 DSL modem, which can do an ATM ping. Right now, I'm
showing 14 msec latency on a 3Mbit/sec DSL line. As I recall, the ATM
ping shows about 4 msec, most of which is ATM encoding/decoding. The
rest is IP overhead, which you so nicely described (thanks).
My guess(tm) is much of the observed latency is tied up in the gateway
router trying to do some manner of intelligent filtering and
prioritization (QoS or MPLS QoS). It also takes some time to assemble
ATM packets into IP packets and back again. I recall reading a
detailed breakdown on where the delays are hiding, but need to get
otto here immediately so I separate my customers from their money.
More later (if I survive).
--
Jeff Liebermann
(E-Mail Removed)
150 Felker St #D
http://www.LearnByDestroying.com
Santa Cruz CA 95060
http://802.11junk.com
Skype: JeffLiebermann AE6KS 831-336-2558