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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to