[strongSwan-dev] StrongSwan 5.6.3, Netlink performance issue as responder.
Vinay G. Pullela
vpullela at parallelwireless.com
Tue Dec 4 17:39:07 CET 2018
Thanks for the explanation.
My server side TS is always set to 0.0.0.0/0, and the Client TS is an address assigned from the pool by the server (Responder) and which is always it is /32 (example : 192.168.10.10/32).
So can I set the ipv4.lbits=0 and ipv4.rbits=32?
Thanks & Regards,
From: Tobias Brunner <tobias at strongswan.org>
Sent: Tuesday, December 04, 2018 10:34 AM
To: Vinay G. Pullela <vpullela at parallelwireless.com>; dev at lists.strongswan.org
Subject: Re: [strongSwan-dev] StrongSwan 5.6.3, Netlink performance issue as responder.
> Are you talking about the below parameters
> Is the Limit 8 for the policy table set in kernel?
> What are the best values for the Hash to get to at least 100K tunnels
It doesn't depend on the number of SAs, but the negotiated traffic selectors and what parts of the addresses you want the kernel to hash.
It will do so if the network prefixes configured in a policy's selector
(src/dst) are *both* equal or larger than the respective thresholds.
So with the IPv4 example you gave, only policies that have a local net mask (src for OUT policies, dst for IN/FWD policies) between /16 and /32
*and* a remote net mask of exactly /32 will be hashed. All others are stored in the overflow list.
> And other kernel buffer parameters needs to be set from below list?
I don't think so.
More information about the Dev