summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2009-07-08 01:09:12 +0000
committersilby <silby@FreeBSD.org>2009-07-08 01:09:12 +0000
commit13615958a8931e00cfc0760e1d87d16a8e52a40a (patch)
tree3d818b977f236aba2d2bb3a7e89aabc5213b052d /sys/kern/subr_param.c
parent145c06379f363db04725e5953ff5e49d4ef7d6e6 (diff)
downloadFreeBSD-src-13615958a8931e00cfc0760e1d87d16a8e52a40a.zip
FreeBSD-src-13615958a8931e00cfc0760e1d87d16a8e52a40a.tar.gz
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)
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index ed0437f..6113b63 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -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
OpenPOWER on IntegriCloud