diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-06-09 22:38:19 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.geekgod.com> | 2009-06-09 22:38:49 -0400 |
commit | 4ebd717767e1d898d021a73b4aa354e6538fefdf (patch) | |
tree | 14669baa830b2a7b680f7a99032220e0177f4d24 /conf.default | |
parent | 59c0a6708edb6fe6d0c23c0ed21265af579ad5bd (diff) | |
download | pfsense-4ebd717767e1d898d021a73b4aa354e6538fefdf.zip pfsense-4ebd717767e1d898d021a73b4aa354e6538fefdf.tar.gz |
Add L2 L3 Cache lookup by default.
- Import infrastructure for caching flows as a means of accelerating L3 and L2 lookups
as well as providing stateful load balancing when used with RADIX_MPATH.
- Currently compiled in to i386 and amd64 but disabled by default, it can be enabled at
runtime with 'sysctl net.inet.flowtable.enable=1'.
- Embedded users can remove it entirely from the kernel by adding 'nooption FLOWTABLE' to
their kernel config files.
- A minimal hookup will be added to ip_output in a subsequent commit. I would like to see
more review before bringing in changes that require more churn.
Diffstat (limited to 'conf.default')
-rw-r--r-- | conf.default/config.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml index b9e89ab..6895aa7 100644 --- a/conf.default/config.xml +++ b/conf.default/config.xml @@ -134,7 +134,12 @@ <desc>TCP Offload Engine - BCE</desc> <tunable>hw.bce.tso_enable</tunable> <value>0</value> - </item> + </item> + <item> + <desc>Enable accelerating of L3 and L2 lookups</desc> + <tunable>net.inet.flowtable.enable</tunable> + <value>1</value> + </item> </sysctl> <system> <optimization>normal</optimization> |