diff options
author | silby <silby@FreeBSD.org> | 2009-07-08 01:09:12 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2009-07-08 01:09:12 +0000 |
commit | 13615958a8931e00cfc0760e1d87d16a8e52a40a (patch) | |
tree | 3d818b977f236aba2d2bb3a7e89aabc5213b052d /sys | |
parent | 145c06379f363db04725e5953ff5e49d4ef7d6e6 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/kern/subr_param.c | 2 |
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 |