freebsd-nq/sys/powerpc/conf
Andrew Gallatin 542970fa2d Remove IPSEC from GENERIC due to performance issues
Having IPSEC compiled into the kernel imposes a non-trivial
performance penalty on multi-threaded workloads due to IPSEC
refcounting. In my benchmarks of multi-threaded UDP
transmit (connected sockets), I've seen a roughly 20% performance
penalty when the IPSEC option is included in the kernel (16.8Mpps
vs 13.8Mpps with 32 senders on a 14 core / 28 HTT Xeon
2697v3)). This is largely due to key_addref() incrementing and
decrementing an atomic reference count on the default
policy. This cause all CPUs to stall on the same cacheline, as it
bounces between different CPUs.

Given that relatively few users use ipsec, and that it can be
loaded as a module, it seems reasonable to ask those users to
load the ipsec module so as to avoid imposing this penalty on the
GENERIC kernel. Its my hope that this will make FreeBSD look
better in "out of the box" benchmark comparisons with other
operating systems.

Many thanks to ae for fixing auto-loading of ipsec.ko when
ifconfig tries to configure ipsec, and to cy for volunteering
to ensure the the racoon ports will load the ipsec.ko module

Reviewed by:	cem, cy, delphij, gnn, jhb, jpaetzel
Differential Revision:	https://reviews.freebsd.org/D20163
2019-05-09 22:38:15 +00:00
..
dpaa Make iflib a loadable module. 2019-01-31 19:05:56 +00:00
DEFAULTS
GENERIC Remove IPSEC from GENERIC due to performance issues 2019-05-09 22:38:15 +00:00
GENERIC64 Remove IPSEC from GENERIC due to performance issues 2019-05-09 22:38:15 +00:00
GENERIC64-NODEBUG Create GENERIC64-NODEBUG for powerpc64 2018-02-04 14:27:12 +00:00
GENERIC-NODEBUG Update several more URLs 2017-10-29 08:17:03 +00:00
GENERIC.hints
Makefile
MPC85XX tun/tap: merge and rename to tuntap 2019-05-08 02:32:11 +00:00
MPC85XXSPE tun/tap: merge and rename to tuntap 2019-05-08 02:32:11 +00:00
NOTES Move mpr/mps drivers from per-arch NOTES files into the MI notes 2019-04-13 06:30:45 +00:00
QORIQ64 tun/tap: merge and rename to tuntap 2019-05-08 02:32:11 +00:00