From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933387AbXDZH2j (ORCPT ); Thu, 26 Apr 2007 03:28:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933410AbXDZH2Q (ORCPT ); Thu, 26 Apr 2007 03:28:16 -0400 Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:43314 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933408AbXDZH2E (ORCPT ); Thu, 26 Apr 2007 03:28:04 -0400 Date: Thu, 26 Apr 2007 00:28:03 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Nick Piggin cc: David Chinner , "Eric W. Biederman" , linux-kernel@vger.kernel.org, Mel Gorman , William Lee Irwin III , Jens Axboe , Badari Pulavarty , Maxim Levitsky Subject: Re: [00/17] Large Blocksize Support V3 In-Reply-To: <46305222.60502@yahoo.com.au> Message-ID: References: <20070424222105.883597089@sgi.com> <46303A98.9000605@yahoo.com.au> <46304C74.9040304@yahoo.com.au> <20070426070454.GF32602149@melbourne.sgi.com> <46304FAF.7020700@yahoo.com.au> <46305222.60502@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Apr 2007, Nick Piggin wrote: > But I maintain that the end result is better than the fragmentation > based approach. A lot of people don't actually want a bigger page > cache size, because they want efficient internal fragmentation as > well, so your radix-tree based approach isn't really comparable. Me? Radix tree based approach? That approach is in the kernel. Do not create a solution where there is no problem. If we do not want to support large blocksizes then lets be honest and say so instead of redefining what a block is. The current approach is fine if one is satisfied with scatter gather and the VM overhead coming with handling these pages. I fail to see what any of what you are proposing would add to that. Lets be clear here: A bigger page cache size if its just one is not useful. 4k page size is a good size for many files on the system and chaning it would break the binary format.. I just do not want it to be the only one because different usage scenarios may require differnet page sizes for optimal application performance.