svn commit: r254986 - head/sys/ufs/ufs

Ivan Voras ivoras at FreeBSD.org
Wed Aug 28 10:06:20 UTC 2013


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");


More information about the svn-src-head mailing list