From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with ESMTP id 17CF06B01EE for ; Tue, 6 Apr 2010 10:55:34 -0400 (EDT) Date: Tue, 6 Apr 2010 15:55:13 +0100 From: Mel Gorman Subject: Re: [PATCH 00 of 41] Transparent Hugepage Support #17 Message-ID: <20100406145512.GE17882@csn.ul.ie> References: <20100405193616.GA5125@elte.hu> <20100405232115.GM5825@random.random> <20100406093021.GC17882@csn.ul.ie> <20100406111619.GD17882@csn.ul.ie> <13812DAC-4B53-4B6B-8725-EBC9E735AF96@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <13812DAC-4B53-4B6B-8725-EBC9E735AF96@mit.edu> Sender: owner-linux-mm@kvack.org To: Theodore Tso Cc: Andrea Arcangeli , Linus Torvalds , Pekka Enberg , Ingo Molnar , Andrew Morton , linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Dave Hansen , Benjamin Herrenschmidt , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , Arnd Bergmann , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner , Daisuke Nishimura List-ID: On Tue, Apr 06, 2010 at 09:13:20AM -0400, Theodore Tso wrote: > > On Apr 6, 2010, at 7:16 AM, Mel Gorman wrote: > > > > > Does this clarify why min_free_kbytes helps and why the "recommended" > > value is what it is? > > Thanks, this is really helpful. I wonder if it might be a good idea to > have a boot command-line option which automatically sets vm.min_free_kbytes > to the right value? I considered automatically adjusting it the first time huge pages are used, as a command-line option or even a magic value writting to proc. It's trivial to implement each option, just haven't gotten around to doing it. There was less pressure once the tool existed. > Most administrators who are used to using hugepages, > are most familiar with needing to set boot command-line options, and this way > they won't need to try to find this new userspace utility. The utility covers a host of other use cases as well e.g. creates mount points, sets quota, sizes pools (both static and dynamic), reports on the current state of the system, can auto tune shmem settings etc. > I was looking > for hugeadm on Ubuntu, for example, and I couldn't find it. It's relatively recent and there isn't debian packaging for it (although an old one was sent to debian mentors once upon a time but never finished). It's on the TODO list of infinite woe to finish that packaging and go through Debian so it ends up in Ubuntu eventually. -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- 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/ . Don't email: email@kvack.org