Community discussions

MikroTik App
 
dmfr
newbie
Topic Author
Posts: 44
Joined: Thu Oct 15, 2020 11:14 am

IPIP tunnel perf 7.1.5 vs 7.2rc7

Tue Apr 05, 2022 1:19 am

Hello,
Just noticed a severe download speed degradation between 7.1.5 and 7.2rc7 using IPIP tunnel.
Tested with RB4011 at both ends, IPIPV6 tunnel,

local router running 7.1.5 :
        tcp-download: 379Mbps local-cpu-load:51%
          tcp-upload: 334Mbps local-cpu-load:38% remote-cpu-load:57%
        udp-download: 593Mbps local-cpu-load:43% remote-cpu-load:53%
          udp-upload: 472Mbps local-cpu-load:43% remote-cpu-load:43%
local router running 7.2rc7 :
        tcp-download: 277Mbps local-cpu-load:43%
          tcp-upload: 292Mbps local-cpu-load:41% remote-cpu-load:46%
        udp-download: 238Mbps local-cpu-load:17% remote-cpu-load:32%
          udp-upload: 440Mbps local-cpu-load:60% remote-cpu-load:32%

Note : with 7.2rc7 it seems that only one core is actually used.
(not so obvious in above benchmark, but very clear with "/system/resource/monitor" on several other tests)
Besides, fastrack on/off, firewall filter/mangle rules or minimal, does not make a significant difference.
 
dmfr
newbie
Topic Author
Posts: 44
Joined: Thu Oct 15, 2020 11:14 am

Re: IPIP tunnel perf 7.1.5 vs 7.2rc7

Tue Apr 05, 2022 11:05 pm

Same with 7.2 stable.
Opened ticket SUP-78953
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11383
Joined: Thu Mar 03, 2016 10:23 pm

Re: IPIP tunnel perf 7.1.5 vs 7.2rc7

Tue Apr 05, 2022 11:50 pm

Are you testing the IPIP tunnel performance by running bandwidth test on routers which actually terminate IPIP tunnel? That's wrong, bandwidth-test is pretty CPU-intensive and is almost useless for any real-life tests. You really should test tunnel performance by running test (e.g. iperf3) using two computers connected to those routers. The way you're doing it you might actually see that bandwidth-test is slower on v7.2 than it used to be in earlier versions.
 
dmfr
newbie
Topic Author
Posts: 44
Joined: Thu Oct 15, 2020 11:14 am

Re: IPIP tunnel perf 7.1.5 vs 7.2rc7

Wed Apr 06, 2022 12:10 pm

We came accross the issue exactly because standard transfers became slower.

IPIPv6 tunnel with RB4011 at one end and linux server gateway at the other. Max download speeds :
With 7.1.5 : ~ 52 MB/s
With 7.2 : ~ 31 MB/s

Ipsec encryption or not, it does not make a difference.
Seems that downstream inner-IPIP(v6) traffic is bound to use only one CPU core, while somehow it spans on multiple cores with previous 7.1.5
Even multiple transfer threads inner IPIP tunnel , only one core is loaded and threads are sharing a maximum ~30 MB/s of bandwidth.

Who is online

Users browsing this forum: No registered users and 22 guests