Re: Regression: kernel 4.14 an later very slow with many ipsec tunnels

From: Florian Westphal
Date: Thu Sep 13 2018 - 09:58:55 EST


Wolfgang Walter <linux@xxxxxxx> wrote:
> thanks to the fix from Steffen Klassert I could now run 4.14.69 + his patch
> and 4.18.7 + his patch without oopsing immediately.
>
> But I found that those kernels perform very bad. They perform so bad that they
> are unusable for our router with about 3000 ipsec tunnels (tunnel mode network
> <-> network).

Can you do a 'perf record -a -g sleep 5' with 4.18 and provide 'perf
report' result?

It would be good to see where those cycles are spent.