Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 10:17:50 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255202 - head/sys/netgraph/netflow
Message-ID:  <201309041017.r84AHoR2075614@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Wed Sep  4 10:17:50 2013
New Revision: 255202
URL: http://svnweb.freebsd.org/changeset/base/255202

Log:
  Make default cache size more modern.
  
  Requested by:	Slawa Olhovchenkov <slw zxy.spb.ru>

Modified:
  head/sys/netgraph/netflow/ng_netflow.h

Modified: head/sys/netgraph/netflow/ng_netflow.h
==============================================================================
--- head/sys/netgraph/netflow/ng_netflow.h	Wed Sep  4 08:01:11 2013	(r255201)
+++ head/sys/netgraph/netflow/ng_netflow.h	Wed Sep  4 10:17:50 2013	(r255202)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309041017.r84AHoR2075614>