From e582d20cf545085fb36ea000c8136132faff5e1d Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 6 Nov 2004 11:33:43 +0000 Subject: [PATCH] Increase default HZ for i386 to 1000 --- sys/kern/subr_param.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 7468c897fca8..98cc134b9f81 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -51,10 +51,12 @@ __FBSDID("$FreeBSD$"); */ #ifndef HZ -#ifdef __amd64__ -#define HZ 1024 -#else -#define HZ 100 +# if defined(__amd64__) +# define HZ 1024 +# elif defined(__i386__) +# define HZ 1000 +# else +# define HZ 100 #endif #endif #define NPROC (20 + 16 * maxusers)