squeeze,
Thank you for your link, which gives me more information about the latency to different places.
In the following context, VPN client is referred to PPTP VPN client. I do believe other types of VPN protocols have the same issue too.
Figures 1-3 show the graphical results without and with VPN. Listings 1-3 show the corresponding numerical results without and with VPN. If we compare the results shown in Figures 2 and 3, both of them were with VPN. Figure 2 (hAP ac^2 with VPN) shows poor performance in "pingtest". However Figure 3 (CCR1009 with VPN) shows very good results in latency test.
As I have described the ping test problems after VPN not only happens on hAP ac^2 but also stable version of RB951G as well. This is not a general configuration problem but internal software coding BUGs for VPN client on some CPUs. I found this problem when I purchased a CCR1009 router but did not realise the cause of problem coming from the different RouterOS on different CPUs.
CCR1009 and X86 RouterOS with VPN client do not have large latency problems.
hAP ac^2 (v6.43rc5) and RB951 (v6.40.6) with VPN client do have large latency problems.
MikroTik Engineering Team should help us to resolve this large latency problem if router has a VPN connection to somewhere (does not need to across different country but within the same as office) since the problems are easily replicated without too much difficulties by anyone and anywhere.
Figure 1: pingtest graphical result, hAP ac^2 without VPN
Figure 2: pingtest graphical result, hAP ac^2 with VPN
Figure 3: pingtest graphical result, CCR1009 ac^2 with VPN
Listing 1: pingtest numerical result, hAP ac^2 without VPN
Location IP Min +PDV
NSW, AUS 54.153.204.70 9999 +0ms
SC, Brazil 200.237.196.90 426 +8.3ms
SP, Brazil 18.231.185.113 362 +11.7ms
Manitoba, Canada 192.219.0.94 256 +12.8ms
ON, Canada 206.248.155.54 250 +10.5ms
QC, Canada 173.243.192.222 266 +14.8ms
AMS, Netherlands 5.153.60.125 274 +11.5ms
Germany, EU 95.172.92.166 264 +13ms
Ireland, EU 54.154.207.39 228 +12.1ms
London, UK 88.80.191.58 298 +197.8ms
NL, EU 104.155.37.25 330 +241.6ms
Zurich, EU 83.150.0.50 286 +14.3ms
Tokyo, Japan 54.65.9.39 92 +9.1ms
Singapore 52.221.199.170 9999 +0ms
Taiwan 104.155.201.41 96 +13.2ms
CA, USA 64.140.161.58 192 +11.5ms
CO, USA 72.5.102.138 9999 +0ms
DC, USA 65.79.226.210 260 +10.9ms
DE, USA 162.151.17.198 260 +11.1ms
FL, USA 99.24.18.30 288 +100.2ms
GA, USA 104.153.104.126 244 +9.3ms
IA, USA 104.197.0.102 9999 +0ms
IL, USA 162.248.92.123 248 +20.9ms
IN, USA 99.24.18.74 242 +14.1ms
KY, USA 199.193.180.23 288 +482.1ms
LA, USA 162.248.93.162 190 +11.9ms
MI, USA 68.85.49.234 256 +11.7ms
MN, USA 64.90.65.50 248 +13.7ms
MO, USA 99.24.18.50 240 +13.3ms
NC, USA 99.24.18.90 268 +81.3ms
NY, USA 162.248.95.144 256 +13.4ms
OH, USA 99.24.18.58 240 +11.6ms
#
Listing 2: pingtest numerical result, hAP ac^2 with VPN
hap ac2 With VPN to Country B VPN server
Location IP Min +PDV
NSW, AUS 54.153.204.70 9999 +0ms
SC, Brazil 200.237.196.90 450 +10438.1ms
SP, Brazil 18.231.185.113 2836 +17738.5ms
Manitoba, Canada 192.219.0.94 1084 +5804.9ms
ON, Canada 206.248.155.54 838 +19765.8ms
QC, Canada 173.243.192.222 456 +5168.7ms
AMS, Netherlands 5.153.60.125 1476 +6015.9ms
Germany, EU 95.172.92.166 2236 +9581.8ms
Ireland, EU 54.154.207.39 324 +21305.4ms
London, UK 88.80.191.58 604 +8324.6ms
NL, EU 104.155.37.25 3996 +1945.1ms
Zurich, EU 83.150.0.50 836 +11882.1ms
Tokyo, Japan 54.65.9.39 9999 +23985.6ms
Singapore 52.221.199.170 9999 +0ms
Taiwan 104.155.201.41 1068 +18538.4ms
CA, USA 64.140.161.58 272 +11370ms
CO, USA 72.5.102.138 1576 +10291.3ms
DC, USA 65.79.226.210 468 +6765.1ms
DE, USA 162.151.17.198 296 +2214.5ms
FL, USA 99.24.18.30 388 +2367.4ms
GA, USA 104.153.104.126 468 +12642.4ms
IA, USA 104.197.0.102 9999 +0ms
IL, USA 162.248.92.123 1974 +10927.9ms
IN, USA 99.24.18.74 326 +1078ms
KY, USA 199.193.180.23 1830 +481.2ms
LA, USA 162.248.93.162 860 +5792.2ms
MI, USA 68.85.49.234 288 +8570.4ms
MN, USA 64.90.65.50 486 +6174.7ms
MO, USA 99.24.18.50 300 +2578.6ms
NC, USA 99.24.18.90 330 +3027.9ms
NY, USA 162.248.95.144 2270 +20077ms
OH, USA 99.24.18.58 512 +363.5ms
#
Listing 3: pingtest numerical result, CCR1009 with VPN
Location IP Min +PDV
NSW, AUS 54.153.204.70 9999 +0ms
SC, Brazil 200.237.196.90 442 +56.2ms
SP, Brazil 18.231.185.113 392 +45.8ms
Manitoba, Canada 192.219.0.94 226 +70.8ms
ON, Canada 206.248.155.54 274 +70.2ms
QC, Canada 173.243.192.222 278 +73.3ms
AMS, Netherlands 5.153.60.125 278 +150ms
Germany, EU 95.172.92.166 264 +89.8ms
Ireland, EU 54.154.207.39 314 +67.8ms
London, UK 88.80.191.58 262 +85.1ms
NL, EU 104.155.37.25 330 +35.6ms
Zurich, EU 83.150.0.50 334 +70.9ms
Tokyo, Japan 54.65.9.39 110 +50.6ms
Singapore 52.221.199.170 9999 +0ms
Taiwan 104.155.201.41 68 +41.6ms
CA, USA 64.140.161.58 212 +35.7ms
CO, USA 72.5.102.138 242 +52.4ms
DC, USA 65.79.226.210 280 +56.7ms
DE, USA 162.151.17.198 272 +54ms
FL, USA 99.24.18.30 286 +54.7ms
GA, USA 104.153.104.126 282 +55.5ms
IA, USA 104.197.0.102 9999 +0ms
IL, USA 162.248.92.123 254 +42.3ms
IN, USA 99.24.18.74 264 +50.5ms
KY, USA 199.193.180.23 262 +45.4ms
LA, USA 162.248.93.162 206 +58ms
MI, USA 68.85.49.234 266 +38.5ms
MN, USA 64.90.65.50 244 +61.7ms
MO, USA 99.24.18.50 266 +51.3ms
NC, USA 99.24.18.90 296 +40.2ms
NY, USA 162.248.95.144 298 +63.1ms
OH, USA 99.24.18.58 262 +36.1ms