svn commit: r195430 - head/sys/kern

Mike Silbersack silby at FreeBSD.org
Wed Jul 8 01:09:14 UTC 2009


Author: silby
Date: Wed Jul  8 01:09:12 2009
New Revision: 195430
URL: http://svn.freebsd.org/changeset/base/195430

Log:
  Increase HZ_VM from 10 to 100.  While 10 hz saves cpu time
  under VM environments, it's too slow for FreeBSD to work
  properly.  For example, ping at 10hz pings about every 600ms
  instead of about every second.
  
  Approved by:	re (kib)

Modified:
  head/sys/kern/subr_param.c

Modified: head/sys/kern/subr_param.c
==============================================================================
--- head/sys/kern/subr_param.c	Tue Jul  7 19:55:09 2009	(r195429)
+++ head/sys/kern/subr_param.c	Wed Jul  8 01:09:12 2009	(r195430)
@@ -58,7 +58,7 @@ __FBSDID("$FreeBSD$");
 #    define	HZ 100
 #  endif
 #  ifndef HZ_VM
-#    define	HZ_VM 10
+#    define	HZ_VM 100
 #  endif
 #else
 #  ifndef HZ_VM


More information about the svn-src-head mailing list