1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Make default cache size more modern.

Requested by:	Slawa Olhovchenkov <slw zxy.spb.ru>
This commit is contained in:
Gleb Smirnoff 2013-09-04 10:17:50 +00:00
parent 177f0102f4
commit 5185640523
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255202

View File

@ -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;