Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 May 2011 13:11:50 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221523 - head/sys/fs/nfs
Message-ID:  <201105061311.p46DBoTw049377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri May  6 13:11:50 2011
New Revision: 221523
URL: http://svn.freebsd.org/changeset/base/221523

Log:
  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

Modified:
  head/sys/fs/nfs/nfs.h

Modified: head/sys/fs/nfs/nfs.h
==============================================================================
--- head/sys/fs/nfs/nfs.h	Fri May  6 12:49:32 2011	(r221522)
+++ head/sys/fs/nfs/nfs.h	Fri May  6 13:11:50 2011	(r221523)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105061311.p46DBoTw049377>