diff options
author | 2007-05-28 19:20:14 +0000 | |
---|---|---|
committer | 2007-05-28 19:20:14 +0000 | |
commit | 195b962a3ee9860f3329c7faa1c8b3dafe02ca77 (patch) | |
tree | cc96c64e406e3162725ce99a6fb60aea9071f698 | |
parent | remove time from pool header. it slows us down quite a bit, and it's (diff) | |
download | wireguard-openbsd-195b962a3ee9860f3329c7faa1c8b3dafe02ca77.tar.xz wireguard-openbsd-195b962a3ee9860f3329c7faa1c8b3dafe02ca77.zip |
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
-rw-r--r-- | sys/kern/uipc_mbuf.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |