summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-09-04 10:17:50 +0000
committerglebius <glebius@FreeBSD.org>2013-09-04 10:17:50 +0000
commit6246a085996b90b2d917d31003b5c534a10da6fd (patch)
tree64bf402fbc32b6cf05b68dcb4283255a48a09d93 /sys/netgraph
parent6fc9e86bed06cceacd24183cdcc5260109b6050a (diff)
downloadFreeBSD-src-6246a085996b90b2d917d31003b5c534a10da6fd.zip
FreeBSD-src-6246a085996b90b2d917d31003b5c534a10da6fd.tar.gz
Make default cache size more modern.
Requested by: Slawa Olhovchenkov <slw zxy.spb.ru>
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/netflow/ng_netflow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/netflow/ng_netflow.h b/sys/netgraph/netflow/ng_netflow.h
index 875a75d..0d708b7 100644
--- a/sys/netgraph/netflow/ng_netflow.h
+++ b/sys/netgraph/netflow/ng_netflow.h
@@ -416,7 +416,7 @@ struct netflow {
* indexed by hash hash. Each hash element consist of tailqueue
* head and mutex to protect this element.
*/
-#define CACHESIZE (65536*4)
+#define CACHESIZE (65536*16)
#define CACHELOWAT (CACHESIZE * 3/4)
#define CACHEHIGHWAT (CACHESIZE * 9/10)
uma_zone_t zone;
OpenPOWER on IntegriCloud