From owner-freebsd-arch Mon Feb 17 1:16:49 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2EA437B401 for ; Mon, 17 Feb 2003 01:16:48 -0800 (PST) Received: from phk.freebsd.dk (phk.freebsd.dk [212.242.86.175]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A46943F75 for ; Mon, 17 Feb 2003 01:16:48 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by phk.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1H9Gk6E053593; Mon, 17 Feb 2003 09:16:46 GMT (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h1H9GjOx024809; Mon, 17 Feb 2003 10:16:46 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Bosko Milekic Cc: freebsd-arch@FreeBSD.ORG Subject: Re: mb_alloc cache balancer / garbage collector From: phk@phk.freebsd.dk In-Reply-To: Your message of "Sun, 16 Feb 2003 21:35:52 EST." <20030216213552.A63109@unixdaemons.com> Date: Mon, 17 Feb 2003 10:16:45 +0100 Message-ID: <24808.1045473405@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20030216213552.A63109@unixdaemons.com>, Bosko Milekic writes: > I've finally gotten around to implementing the cache balancer/garbage > collector for the mbuf allocator. I talked with Jeff about something slightly similar for UMA: I would like to be able to say "try to always keep N items available" on a zone. For things like struct bio, the exception path is pretty drastic and GEOM allocates them M_NOWAIT and in small swarms, so being able to specify a moderate low-water mark would make sense. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message