I am a software developer and I sometimes want to work from home but to write code over on a VPN is just tortuously slow. I have tried several different things to try and make it more reasonable. On VNC I try and tweak it so that it is as light as possible. I tried X11 forwarding and I have tried just using a pure terminal. None of these are something I can stand for more than a few minutes.
Rather than just be a complainer I thought I would take some measurements with traceroute in both directions to see how bad it really was. Now I have the numbers but I am not sure if they are bad enough to warrant some action from the IT professionals in our company or whether they will just see me as the complainer (ie. nobody else complains about this). So here are the numbers.
Tracing from my client machine back to my server:
$ tracert myserver Tracing route to myserver.myco.com [126.96.36.199] over a maximum of 30 hops: 1 663 ms 685 ms 404 ms 188.8.131.52 2 456 ms 295 ms 265 ms 184.108.40.206 3 421 ms 409 ms 423 ms 220.127.116.11 4 395 ms 411 ms 412 ms 18.104.22.168 5 433 ms 409 ms 438 ms 22.214.171.124 6 652 ms 404 ms 354 ms myserver.myco.com [126.96.36.199] Trace complete.
So the median is 404 ms and no dropped packets but it seems like all the latency occures right away with the first hop median of 663 ms... hmmm...
Tracing from my server machine back to my client:
> traceroute 188.8.131.52 traceroute to 184.108.40.206 (220.127.116.11), 30 hops max, 46 byte packets 1 18.104.22.168 (22.214.171.124) 0.274 ms 0.185 ms 0.185 ms 2 126.96.36.199 (188.8.131.52) 14.497 ms 14.437 ms 15.937 ms 3 184.108.40.206 (220.127.116.11) 24.215 ms 24.863 ms 24.213 ms 4 18.104.22.168 (22.214.171.124) 85.694 ms 87.208 ms 83.187 ms 5 126.96.36.199 (188.8.131.52) 85.937 ms * 89.498 ms
So the max latency in this direction is 89.5 ms with one packet dropped but the progression from each stop seems more reasonable a it starts out small at the first hop and increases through each hop.
So is this something that I should ask to have fixed or is this typical beviour for a VPN into a corporate network?
So I was able to reduce the time in half (roughly). I noticed when I was pinging around that it seems like they route all traffic through NY and then send it back here which seems to take roughly 200ms each leg. So I decided to play them at there own game and I started a VNC session on the servers in NY thus eliminating one leg of the trip. It is still not perfect but it is tolerable. It would be really nice if they just let us access our servers here directly then the latency would be reduced by half again and would be really snappy... Anyway, learned some networking stuff tonight!