summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfs/nfs.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2011-05-06 13:11:50 +0000
committermav <mav@FreeBSD.org>2011-05-06 13:11:50 +0000
commitd9f6c6f0db07c8d124233be72cca0e9bfe6a5a45 (patch)
treef002073a2e6be8b2a79035ec07148a057fd8d28a /sys/fs/nfs/nfs.h
parent24c7ff4969fe838ee01765173d30eb5c286a85d4 (diff)
downloadFreeBSD-src-d9f6c6f0db07c8d124233be72cca0e9bfe6a5a45.zip
FreeBSD-src-d9f6c6f0db07c8d124233be72cca0e9bfe6a5a45.tar.gz
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
Diffstat (limited to 'sys/fs/nfs/nfs.h')
-rw-r--r--sys/fs/nfs/nfs.h2
1 files changed, 1 insertions, 1 deletions
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 */
OpenPOWER on IntegriCloud