Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2009 01:09:12 +0000 (UTC)
From:      Mike Silbersack <silby@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r195430 - head/sys/kern
Message-ID:  <200907080109.n6819CEn033840@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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