Re: CPU usage for IPSec in Linux 2.6.38 |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: "Naveen B N (nbn)" <nbn@xxxxxxxxx>
Date: Wed, 11 Jan 2012 08:20:12 +0530
> Did anybody try creating IPSec Tunnels > 6000 in Linux
> And faced the same problem below.
The problem is that you must situate your rules according to
certain rules otherwise performance will suffer greatly.
You must:
1) Predominantly use fully specified, non-wildcard, rules.
These go into a special hash table which approaches complexity
O(1).
2) If you absolutely must have wildcarded rules, only have an
extremely small number of them.
These go onto a linked list which is O(N).
There is no reasonable reason to have thousands of wildcarded
rules.
Thousands of fully specified non-wildcard rules are reasonable,
and what we optimize the IPSEC datastructures for.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion]
[Ethernet Bridging]
[Linux Wireless Networking]
[Linux Bluetooth Networking]
[Linux Networking Users]
[VLAN]
[Git]
[IETF Annouce]
[Linux Assembly]
[Security]
[Bugtraq]
[Photo]
[Singles Social Networking]
[Yosemite Information]
[MIPS Linux]
[ARM Linux Kernel]
[ARM Linux]
[Linux Virtualization]
[Linux Security]
[Linux IDE]
[Linux RAID]
[Linux SCSI]
[Free Dating]