Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 20 Jan 2002 09:25:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 20 Jan 2002 09:25:08 -0500 Received: from thebsh.namesys.com ([212.16.7.65]:263 "HELO thebsh.namesys.com") by vger.kernel.org with SMTP id ; Sun, 20 Jan 2002 09:24:56 -0500 Message-ID: <3C4AD24D.4050206@namesys.com> Date: Sun, 20 Jan 2002 17:21:01 +0300 From: Hans Reiser User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us MIME-Version: 1.0 To: Rik van Riel CC: Shawn , linux-kernel@vger.kernel.org, Josh MacDonald Subject: Re: Possible Idea with filesystem buffering. In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Write clustering is one thing it achieves. When we flush a slum, the cost of the seek so far outweighs the transfer cost that we should transfer FLUSH_SIZE (where flush size is imagined to be something like 64 or 16 or at least 8) adjacent (in the tree order) nodes at the same time to disk. There are many ways in which LRU is only an approximation to optimum. This is one of many. Flushing everything involved in a transaction so that (the buffers being pinned in RAM (so that they don't have to be reread from disk when the transaction commits) until the transaction commits) can be unpinned is another thing. Hans - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/