From: Russell Morris Date: Tue, 12 Jul 2011 18:03:11 -0500 Message-id: <1310511791899675500@...1315...> In-reply-to: <1310306284971654500@...1315...> References: <1310306284971654500@...1315...> MIME-version: 1.0 Content-type: multipart/alternative; boundary="===axigen=0946944461217943796497304460819711460222=axigen===" Subject: Re: [Openvpn-devel] [Openvpn-users] Sporadic Long Ping Times List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Daniel , openvpn-devel@lists.sourceforge.net, openvpn-users@lists.sourceforge.net This is a MIME message. You may need a MIME compliant mail user agent. --===axigen=0946944461217943796497304460819711460222=axigen=== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Let me try this again - as the pictures didn't seem to come through, and I = resubmitted with a PDF file but it was too large ... :-(. Here are links to= the pictures (thanks Samuli for your help!) =20 1) No OpenVPN - just a direct link =20 2) OpenVPN, keepalive =3D 10 120 =20 3) OpenVPN, keepalive =3D 20 120 =20 Thoughts? =20 Thanks, ... Russell On Sun, 07/10/2011 08:58 AM, Russell Morris wrote: >=20 >=20 *=20 *=20 v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} *=20 *=20 Hi, =20 My apologies in advance for the large pictures below - but I wanted to capt= ure some data to help demonstrate this issue (and so we can perhaps determi= ne what is causing it). =20 Some ping (RTT) data, between the same two machines (endpoints) - with and = without OpenVPN running. In the OpenVPN case I edited the routing table to = force the traffic over the OpenVPN link (same physical link, and no interme= diate machines ... just the two endpoints). In all cases the sample interva= l is 500 ms. Here's the data ... =20 1) No OpenVPN - just a direct link. =20=20 =20 2) OpenVPN, keepalive =3D 10 120 =20=20 =20 3) OpenVPN, keepalive =3D 20120 >=20=20 So it doesn't look like keepalive is the culprit (or at least not all of it= ). Any thoughts? =20 Thanks! =20 ... Russell =20 > On Fri, 07/08/2011 10:39 PM, Daniel wrote: >=20 Not sure if this would be the cause, but if openvpn ping is the > culprit, what would be the correct measure to take? > Increase the openvpn ping interval? > Change MTU? > Or its a bug and something should be done from the openvpn point of view? >=20 > Dan. >=20 > On 9 July 2011 10:42, Jan Just Keijser wrote: > > Russell Morris wrote: > >> Hi, > >> > >> I have been measuring data throughput and RTT on my OpenVPN link (clie= nt 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 ver= y 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 cul= prit. > > > > HTH, > > > > JJK > > > > > > -----------------------------------------------------------------------= ------- > > All of the data generated in your IT infrastructure is seriously valuab= le. > > Why? It contains a definitive record of application performance, securi= ty > > threats, fraudulent activity, and more. Splunk takes this data and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2d-c2 > > _______________________________________________ > > Openvpn-users mailing list > > Openvpn-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/openvpn-users > > >=20 >=20 >=20 > -- > Daniel ---------------------------------------------------------------------------= --- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security=20 threats, fraudulent activity, and more. Splunk takes this data and makes=20 sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 _________________________________________= ______ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users --===axigen=0946944461217943796497304460819711460222=axigen=== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Let me try this again - as the pictures didn't seem to come throu= gh, and I resubmitted with a PDF file but it was too large ... :-(. Here ar= e links to the pictures (thanks Samuli for your help!)

 

1) No= OpenVPN - just a direct link

<http://build.openvpn.net/image007.jpg>= ;

 = ;

2) OpenVPN, keepalive = =3D 10 120

= <http://build.openvpn.net/image008.jpg>

=  

= 3) OpenVPN,= keepalive =3D 20 120=

= <http://build.openvpn.net/image009.jpg>=

= =  

Thoughts?

 

Thanks,

... Russell



On Sun, 07/10/2011 08:58 AM, Russell Morris <openvp= n@...1315...> wrote:


Hi,

 = ;

My ap= ologies in advance for the large pictures below - but I wanted to capture s= ome data to help demonstrate this issue (and so we can perhaps determine wh= at is causing it).

 = ;

Some = ping (RTT) data, between the same two machines (endpoints) - with and witho= ut OpenVPN running. In the OpenVPN case I edited the routing table to force= the traffic over the OpenVPN link (same physical link, and no intermediate= machines ... just the two endpoints). In all cases the sample interval is = 500 ms. Here's the data ...

 = ;

1) No= OpenVPN - just a direct link.

 = ; = = <= /v:path>

=  

2) Op= enVPN, keepalive =3D 10 120

 = ;

=  

3) Op= enVPN, keepalive =3D 20120


&= nbsp;

So it= doesn't look like keepalive is the culprit (or= at least not all of it). Any thoughts?

 = ;

Thank= s!

 = ;

... R= ussell

 = ;


O= n Fri, 07/08/2011 10:39 PM, Daniel <ktdann@...277...> wrote:

Not sure if this w= ould be the cause, but if openvpn ping is theculprit, what would be the correct measure to take?
Increase the openvpn
ping interval?
Change MTU?
Or its a bug and something should be done from the openvpn point of view?

Dan.

On 9 July 20= 11 10:42, Jan Just Keijser <janjust@...1147...> wrote:
> Russell Mor= ris wrote:
>> Hi,
>>
>> I have been measuring da= ta 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 contin= uously (1 second interval), I may see 10 or 20 very co= nsisten 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,
> <= SPAN class=3DSpellE>esp after a lack of activity for some time. If t= he spikes happen every
> 10 to 20 seconds , however, then I suspect t= he openvpn pings are getting
> in the way= - try changing the 'ping' (or 'keepalive') opt= ions to
>  ping 20
> or
>  keepalive 20 120
> if the spikes now occur very 20 to 40 seconds then you've found the culprit.
>
&= gt; HTH,
>
> JJK
>
>
> ----------------------= --------------------------------------------------------
> All of the= data generated in your IT infrastructure is seriously valuable.
> Wh= y? It contains a definitive record of application performance, security
= > threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common se= nse.
> http://p.sf.net= /sfu/splunk-d2d-c2
> ____________________________________________= ___
> Openvpn-users mailing list
><= A href=3D"mailto:%20Openvpn-users@lists.sourceforge.net"> Openvpn-users@...1484...= ts.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>


--
Daniel
=

---------------------------------= ---------------------------------------------
All of the data generated = in your IT infrastructure is seriously valuable.
Why? It contains a defi= nitive record of application performance, security
threats, fraudulent = activity, and more. Splunk takes this data and makes
sense of it. IT se= nse. And common sense.
http://p.sf.net/sfu/splunk-d2d= -c2 _______________________________________________
Openvpn-users ma= iling list
Openvpn-users@lists.sourceforge.net
http= s://lists.sourceforge.net/lists/listinfo/openvpn-users
= --===axigen=0946944461217943796497304460819711460222=axigen===--