Subject: re: Do some disk accesses miss the UVM?
To: David Laight <david@l8s.co.uk>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 01/25/2002 11:08:00
have you increased the number of vnodes? the default max vnode
calculation tends to limit UBC usage to a fairly small portion
of the total available RAM in my experience.
my machines have this patch:
Index: sys/param.h
===================================================================
RCS file: /cvsroot/syssrc/sys/sys/param.h,v
retrieving revision 1.135
diff -p -r1.135 param.h
*** sys/param.h 2001/12/18 22:34:38 1.135
--- sys/param.h 2002/01/25 00:05:58
***************
*** 132,138 ****
#define NTEXT (80 + NPROC / 8) /* actually the object cache */
#endif
#ifndef NVNODE
! #define NVNODE (NPROC + NTEXT + 100)
#define NVNODE_IMPLICIT
#endif
#endif /* _KERNEL */
--- 132,138 ----
#define NTEXT (80 + NPROC / 8) /* actually the object cache */
#endif
#ifndef NVNODE
! #define NVNODE ((NPROC + NTEXT + 100) * 4)
#define NVNODE_IMPLICIT
#endif
#endif /* _KERNEL */