From owner-freebsd-current Sun Oct 27 18:39:31 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40C4437B401; Sun, 27 Oct 2002 18:39:30 -0800 (PST) Received: from axe-inc.co.jp (axegw.axe-inc.co.jp [61.199.217.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7E3F43E75; Sun, 27 Oct 2002 18:39:28 -0800 (PST) (envelope-from tanimura@axe-inc.co.jp) Received: from t-axegw.t.axe-inc.co.jp ([218.230.241.250]) by axe-inc.co.jp (8.9.3+3.2W/3.7W) with ESMTP id LAA09108; Mon, 28 Oct 2002 11:39:11 +0900 (JST) Received: from shojaku.t.axe-inc.co.jp ([192.168.6.103]) by t-axegw.t.axe-inc.co.jp (8.12.6/3.7W-Axe-Gwhost-Tokyo) with ESMTP id g9S2ce14081259 ; Mon, 28 Oct 2002 11:38:40 +0900 (JST) Received: from shojaku.t.axe-inc.co.jp.t.axe-inc.co.jp (localhost [127.0.0.1]) by shojaku.t.axe-inc.co.jp (8.12.6/3.7W-Axe-Tokyo-NoARR) with ESMTP id g9S2ceoK077293 ; Mon, 28 Oct 2002 11:38:40 +0900 (JST) Message-Id: <200210280238.g9S2ceoK077293@shojaku.t.axe-inc.co.jp> Date: Mon, 28 Oct 2002 11:38:39 +0900 From: Seigo Tanimura To: Jeff Roberson Cc: Seigo Tanimura , Bruce Evans , , Subject: Re: Dynamic growth of the buffer and buffer page reclaim In-Reply-To: <20021023163758.R22147-100000@mail.chesapeake.net> References: <200210230935.g9N9ZgoK086922@shojaku.t.axe-inc.co.jp> <20021023163758.R22147-100000@mail.chesapeake.net> Cc: Seigo Tanimura User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.4 (Hosorogi) FLIM/1.14.4 (=?ISO-8859-1?Q?Kashiharajing=FE-mae?=) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: AXE, Inc. MIME-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 23 Oct 2002 16:51:44 -0400 (EDT), Jeff Roberson said: jroberson> I do, however, like the page unwiring idea. As long as it's not too jroberson> expensive. I have been somewhat disappointed that the buffer cache's jroberson> buffers are hands off for the vm. I'm confused about your approach jroberson> though. I think that the rewire function is unnecessary. You could move jroberson> this code into allocbuf() which would limit the number of times that you jroberson> have to make a pass over this list and keep the maintenance of it in a jroberson> more central place. This would also remove the need for truncating the jroberson> buf. I just wanted to make sure that buffers not in the clean queue look as they used to do without the patch. At least, if a buffer does not become busy or held, then it need not be rewired down. -- Seigo Tanimura To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message