From 88c6de831cd6c1c0a1dadb66090a6362bfacffa5 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 28 May 2007 19:20:15 +0000 Subject: set a hiwat mark for mbpool. we spend quite a bit of time bouncing pages in and out with the very low default. ok dlg henning ryan --- sys/kern/uipc_mbuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/kern') diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 1e4585ea511..a6ca06473d4 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf.c,v 1.82 2007/05/28 17:16:39 henning Exp $ */ +/* $OpenBSD: uipc_mbuf.c,v 1.83 2007/05/28 19:20:14 tedu Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */ /* @@ -134,6 +134,7 @@ nmbclust_update(void) * reached message max once a minute. */ (void)pool_sethardlimit(&mclpool, nmbclust, mclpool_warnmsg, 60); + pool_sethiwat(&mbpool, nmbclust); } void -- cgit v1.2.3