netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* High (200+) XFRM interface count performance problem (throughput)
@ 2021-02-23 13:33 Vinš Karel
  2021-02-24  8:14 ` Eyal Birger
  0 siblings, 1 reply; 4+ messages in thread
From: Vinš Karel @ 2021-02-23 13:33 UTC (permalink / raw)
  To: 'netdev@vger.kernel.org'

Hello,

I would like to ask you for help or advise.

I'm testing setup with higher number of XFRM interfaces and I'm facing throughput degradation with a growing number of created XFRM interfaces - not concurrent tunnels established but only XFRM interfaces created - even in DOWN state.
Issue is only unidirectional - from "client" to "vpn hub". Throughput for traffic from hub to client is not affected.

XFRM interface created with:
for i in {1..500}; do link add ipsec$i type xfrm dev ens224 if_id $i  ; done

I'm testing with iperf3 with 1 client connected - from client to hub:
2 interfaces - 1.36 Gbps
100 interfaces - 1.35 Gbps
200 interfaces - 1.19 Gbps
300 interfaces - 0.98 Gbps
500 interfaces - 0.71 Gbps

Throughput from hub to client is around 1.4 Gbps in all cases.

1 CPU core is 100%

Linux v-hub 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Thank you.

Regards
Karel Vins

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-25 16:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-23 13:33 High (200+) XFRM interface count performance problem (throughput) Vinš Karel
2021-02-24  8:14 ` Eyal Birger
2021-02-24 11:02   ` [External] " Vinš Karel
2021-02-25 16:28     ` Vinš Karel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).