diff options
author | Ermal <eri@pfsense.org> | 2014-01-03 13:24:28 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-01-03 13:24:28 +0000 |
commit | a3a1b24ebfdeceb7ae3267db555c9498f336df78 (patch) | |
tree | 4be9a9a0e8c6f51694e14bf7a8cf3b2c0470c819 /etc | |
parent | 723f0ac98adfacf1b059dcdce01a4a690c4b6d67 (diff) | |
download | pfsense-a3a1b24ebfdeceb7ae3267db555c9498f336df78.zip pfsense-a3a1b24ebfdeceb7ae3267db555c9498f336df78.tar.gz |
Move to zerocopy_enbale for bpf to optimize bpf logging which uses bpf interface. This should increase the general performance since pflog is always enabled.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/globals.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index acbe36a..0ed030f 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -151,7 +151,8 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", "kern.random.sys.harvest.point_to_point" => 0, "kern.random.sys.harvest.ethernet" => 0, "net.route.netisr_maxqlen" => 1024, - "net.inet.udp.checksum" => 1 + "net.inet.udp.checksum" => 1, + "net.bpf.zerocopy_enable" = > 1 ); /* Include override values for the above if needed. If the file doesn't exist, don't try to load it. */ |