From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Rohland Subject: Re: dbench on tmpfs OOM's References: Date: Tue, 17 Sep 2002 09:57:18 +0200 In-Reply-To: (Hugh Dickins's message of "Tue, 17 Sep 2002 08:01:20 +0100 (BST)") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-linux-mm@kvack.org Return-Path: To: Hugh Dickins Cc: Andrew Morton , William Lee Irwin III , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: Hi Hugh, On Tue, 17 Sep 2002, Hugh Dickins wrote: > What I never did was try GFP_HIGHUSER and kmap on the index pages: > I think I decided back then that it wasn't likely to be needed > (sparsely filled file indexes are a rarer case than sparsely filled > pagetables, once the stupidity is fixed; and small files don't use > index pages at all). But Bill's testing may well prove me wrong. I think that this would be a good improvement. Big database and application servers would definitely benefit from it, desktops could easier use tmpfs as temporary file systems. I never dared to do it with my limited time since I feared deadlock situations. Also I ended up that I would try to go one step further: Make the index pages swappable, i.e. make the directory nodes normal tmpfs files. This would even make the accounting right. Greetings Christoph -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/