From d9f6c6f0db07c8d124233be72cca0e9bfe6a5a45 Mon Sep 17 00:00:00 2001 From: mav Date: Fri, 6 May 2011 13:11:50 +0000 Subject: Increase NFS_TICKINTVL value from 10 to 500. Now that callout does useful things only once per second, so other 99 calls per second were useless and just don't allow idle system to sleep properly. Reviewed by: rmacklem --- sys/fs/nfs/nfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/fs/nfs/nfs.h') diff --git a/sys/fs/nfs/nfs.h b/sys/fs/nfs/nfs.h index 0bf0f74..c8bb0d6 100644 --- a/sys/fs/nfs/nfs.h +++ b/sys/fs/nfs/nfs.h @@ -39,7 +39,7 @@ */ #define NFS_MAXIOVEC 34 -#define NFS_TICKINTVL 10 /* Desired time for a tick (msec) */ +#define NFS_TICKINTVL 500 /* Desired time for a tick (msec) */ #define NFS_HZ (hz / nfscl_ticks) /* Ticks/sec */ #define NFS_TIMEO (1 * NFS_HZ) /* Default timeout = 1 second */ #define NFS_MINTIMEO (1 * NFS_HZ) /* Min timeout to use */ -- cgit v1.1