From owner-freebsd-current Sun Oct 27 23:15:32 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 B63A737B401; Sun, 27 Oct 2002 23:15:31 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8453243E6E; Sun, 27 Oct 2002 23:15:30 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id SAA13553; Mon, 28 Oct 2002 18:15:14 +1100 Date: Mon, 28 Oct 2002 18:26:34 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Seigo Tanimura Cc: Julian Elischer , Jeff Roberson , , Subject: Re: Dynamic growth of the buffer and buffer page reclaim In-Reply-To: <200210280250.g9S2oqoK077311@shojaku.t.axe-inc.co.jp> Message-ID: <20021028181505.K14172-100000@gamplex.bde.org> MIME-Version: 1.0 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 Mon, 28 Oct 2002, Seigo Tanimura wrote: > On Thu, 24 Oct 2002 15:05:30 +1000 (EST), > Bruce Evans said: > > bde> Almost exactly what we have. It turns out to be not very good, at least > bde> in its current implementation, since remapping is too expensive. Things > bde> work OK to the extent that remapping is not required, but so would a > bde> much simpler implementation that uses less vm and more copying of data > bde> (copying seems to be faster than remapping). > > Which process is expensive in remapping? Allocation of a KVA space? > Page wiring? Or pmap operation? The allocation seemed to be most expensive when I looked at this about 2 years ago. The cause of the remapping seemed to be that different amounts of buffer kva were allocated for different buffer sizes. Copying between filesystems with different block sizes therefore caused lots of remapping. I think this cause of remapping has been fixed. VM has been improved too. I'm not sure how much in this area. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message