diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2013-09-04 10:17:50 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2013-09-04 10:17:50 +0000 |
commit | 518564052363e3592a317298644afa1652891a5e (patch) | |
tree | 64bf402fbc32b6cf05b68dcb4283255a48a09d93 /sys/netgraph | |
parent | 177f0102f49095d65377e467023b5d54c726032b (diff) | |
download | src-518564052363e3592a317298644afa1652891a5e.tar.gz src-518564052363e3592a317298644afa1652891a5e.zip |
Make default cache size more modern.
Requested by: Slawa Olhovchenkov <slw zxy.spb.ru>
Notes
Notes:
svn path=/head/; revision=255202
Diffstat (limited to 'sys/netgraph')
-rw-r--r-- | sys/netgraph/netflow/ng_netflow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/netflow/ng_netflow.h b/sys/netgraph/netflow/ng_netflow.h index 875a75d2e828..0d708b7a8839 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; |