On Tue, Apr 06, 2010 at 09:13:20AM -0400, Theodore Ts'o 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? 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. I was looking for hugeadm on Ubuntu, for example, and I couldn't find it. It's part of libhugetlbfs. I also suggested in a earlier email this would better be "echo 1 >/sys/kernel/vm/set-recommended-min_free_kbytes" or set-recommended-min_free_kbytes=1 at boot considering it's a 10 liner piece of code that does the math to set it. But it's no big deal on my side, the important thing is that we have that feature. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>