Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2013 10:06:20 +0000 (UTC)
From:      Ivan Voras <ivoras@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254986 - head/sys/ufs/ufs
Message-ID:  <201308281006.r7SA6KSq010737@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ivoras
Date: Wed Aug 28 10:06:20 2013
New Revision: 254986
URL: http://svnweb.freebsd.org/changeset/base/254986

Log:
  Take a very small step toward the Century of the Anchovy by increasing the
  time dirhash entries stay in memory before being considered for eviction to
  1 minute.

Modified:
  head/sys/ufs/ufs/ufs_dirhash.c

Modified: head/sys/ufs/ufs/ufs_dirhash.c
==============================================================================
--- head/sys/ufs/ufs/ufs_dirhash.c	Wed Aug 28 07:48:44 2013	(r254985)
+++ head/sys/ufs/ufs/ufs_dirhash.c	Wed Aug 28 10:06:20 2013	(r254986)
@@ -85,7 +85,7 @@ SYSCTL_INT(_vfs_ufs, OID_AUTO, dirhash_d
 static int ufs_dirhashlowmemcount = 0;
 SYSCTL_INT(_vfs_ufs, OID_AUTO, dirhash_lowmemcount, CTLFLAG_RD, 
     &ufs_dirhashlowmemcount, 0, "number of times low memory hook called");
-static int ufs_dirhashreclaimage = 5;
+static int ufs_dirhashreclaimage = 60;
 SYSCTL_INT(_vfs_ufs, OID_AUTO, dirhash_reclaimage, CTLFLAG_RW, 
     &ufs_dirhashreclaimage, 0, 
     "max time in seconds of hash inactivity before deletion in low VM events");



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