On 05.11.2014 19:39, George Neville-Neil wrote:
Howdy,
Last night (Pacific Time) I committed a change so that GENERIC, on
HEAD has the netmap
device enabled. This is to increase the breadth of our testing of
that feature prior
to the release of FreeBSD 11.
In two weeks I will enable IPSec by default, again in preparation for 11.
Please don't.
While I love to be able to use IPSEC features on unmodified GENERIC
kernel, simply enabling
IPSEC is not the best thing to do in terms of performance.
Current IPSEC locking model is pretty complicated and is not scalable
enough.
It looks like it requires quite a lot of man-hours/testing to be
reworked to achieve good performance and I'm not sure
if making it enabled by default will help that.
Current IPv4/IPv6 stack code with some locking modifications is able to
forward 8-10MPPS on something like 2xE2660.
I'm in process of merging these modification in "proper" way to our
HEAD, progress can be seen in projects/routing.
While rmlocked radix/lle (and ifa_ref / ifa_unref, and bunch of other)
changes are not there yet, you can probably get
x2-x4 forwarding/output performance for at least IPv4 traffic (e.g.
2-3mpps depending on test conditions).
In contrast, I haven't seen IPSEC being able to process more than
200kpps for any kind of workload.
What we've discussed with glebius@ and jmg@ at EuroBSDCon was to modify
PFIL to be able to monitor/enforce
hooks ordering and make IPSEC code usual pfil consumer. In that case,
running GENERIC with IPSEC but w/o any SA
won't influence packet processing path. This also simplifies the
process of making IPSEC loadable.
Best,
George
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"