Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Reduce the default BUFCACHE to 10% for now. Too ma...
details: https://anonhg.NetBSD.org/src/rev/5ea120a03eac
branches: trunk
changeset: 558055:5ea120a03eac
user: dan <dan%NetBSD.org@localhost>
date: Tue Jan 27 11:35:23 2004 +0000
description:
Reduce the default BUFCACHE to 10% for now. Too many users are
tripping over this getting too large, and suffering other performance
problems due to the lack of good backpressure shrinking the bufcache
when other memory is required. Again, this tunable should be
revisited when the backpressure mechanism has been improved.
sysctl vm.bufcache can be used to manually tune those rare machines
that might need more than this.
See comments in rev 1.106 for more detail.
diffstat:
sys/kern/vfs_bio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r dda98af9794b -r 5ea120a03eac sys/kern/vfs_bio.c
--- a/sys/kern/vfs_bio.c Tue Jan 27 04:22:25 2004 +0000
+++ b/sys/kern/vfs_bio.c Tue Jan 27 11:35:23 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_bio.c,v 1.112 2004/01/25 18:02:04 hannken Exp $ */
+/* $NetBSD: vfs_bio.c,v 1.113 2004/01/27 11:35:23 dan Exp $ */
/*-
* Copyright (c) 1982, 1986, 1989, 1993
@@ -81,7 +81,7 @@
#include "opt_softdep.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.112 2004/01/25 18:02:04 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.113 2004/01/27 11:35:23 dan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -108,7 +108,7 @@
# error BUFCACHE is not between 5 and 95
# endif
#else
-# define BUFCACHE 20
+# define BUFCACHE 10
#endif
u_int nbuf; /* XXX - for softdep_lockedbufs */
Home |
Main Index |
Thread Index |
Old Index