Skip to contentSkip to conversation

Sporadic Long Ping Times

Openvpn-devel Russell Morris 2 participants 2 messages Jun 29, 2011 – Jul 9, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I have been measuring data throughput and RTT on my OpenVPN link (client to server), and while data throughput has been quite consistent (in the 25-30 Mb/s range), RTT (ping) has shown a strange artifact.

If I run ping continuously (1 second interval), I may see 10 or 20 very consisten runs, at ~ 10 ms ... but then a single point at 200-250 ms. If I let it keep running this keeps happening - not with a consistent pattern, but about this rate.

Has anyone else seen a similar artifact?

Thanks,
... Russell

#1 lore raw
Quoted 8 lines · Russell Morris

Hi,

I have been measuring data throughput and RTT on my OpenVPN link (client to server), and while data throughput has been quite consistent (in the 25-30 Mb/s range), RTT (ping) has shown a strange artifact.

If I run ping continuously (1 second interval), I may see 10 or 20 very consisten runs, at ~ 10 ms ... but then a single point at 200-250 ms. If I let it keep running this keeps happening - not with a consistent pattern, but about this rate.

Has anyone else seen a similar artifact?

ping RTT times over a VPN link can vary quite a bit, as I've noticed, esp after a lack of activity for some time. If the spikes happen every 10 to 20 seconds , however, then I suspect the openvpn pings are getting in the way - try changing the 'ping' (or 'keepalive') options to
ping 20
or
keepalive 20 120
if the spikes now occur very 20 to 40 seconds then you've found the culprit.

HTH,

JJK