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
This commit is contained in:
Alexander Motin 2011-05-06 13:11:50 +00:00
parent 318b735cc3
commit 08aadbe3b4

View File

@ -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 */