From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Lameter Subject: Re: [00/41] Large Blocksize Support V7 (adds memmap support) Date: Tue, 11 Sep 2007 14:52:45 -0700 (PDT) Message-ID: References: <20070911060349.993975297@sgi.com> <200709111530.16136.nickpiggin@yahoo.com.au> <200709111606.10873.nickpiggin@yahoo.com.au> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Mel Gorman , andrea@suse.de, torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig , Mel Gorman , William Lee Irwin III , David Chinner , Jens Axboe , Badari Pulavarty , Maxim Levitsky , Fengguang Wu , swin wang , totty.lu@gmail.com, hugh@veritas.com, joern@lazybastard.org To: Nick Piggin Return-path: Received: from netops-testserver-4-out.sgi.com ([192.48.171.29]:36171 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755883AbXIKVwr (ORCPT ); Tue, 11 Sep 2007 17:52:47 -0400 In-Reply-To: <200709111606.10873.nickpiggin@yahoo.com.au> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, 11 Sep 2007, Nick Piggin wrote: > > No you have not explained why the theoretical issues continue to exist > > given even just considering Lumpy Reclaim in .23 nor what effect the > > antifrag patchset would have. > > So how does lumpy reclaim, your slab patches, or anti-frag have > much effect on the worst case situation? Or help much against a > targetted fragmentation attack? F.e. Lumpy reclaim reclaim neighboring pages and thus works against fragmentation. So your formulae no longer works. > > And you have used a 2M pagesize which is > > irrelevant to this patchset that deals with blocksizes up to 64k. In my > > experience the use of blocksize < PAGE_COSTLY_ORDER (32k) is reasonably > > safe. > > I used EXACTLY the page sizes that you brought up in your patch > description (ie. 64K and 2MB). The patch currently only supports 64k. There is hope that it will support 2M at some point and as mentioned also a special large page pool facility may be required. Quoting from the post: I would like to increase the supported blocksize to very large pages in the future so that device drives will be capable of providing large contiguous mapping. For that purpose I think that we need a mechanism to reserve pools of varying large sizes at boot time. Such a mechanism can also be used to compensate in situations where one wants to use larger buffers but defragmentation support is not (yet?) capable to reliably provide pages of the desired sizes.