Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937214AbWLDREb (ORCPT ); Mon, 4 Dec 2006 12:04:31 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S937215AbWLDREa (ORCPT ); Mon, 4 Dec 2006 12:04:30 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:39951 "EHLO omx2.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S937214AbWLDRE3 (ORCPT ); Mon, 4 Dec 2006 12:04:29 -0500 Date: Mon, 4 Dec 2006 09:03:59 -0800 (PST) From: Christoph Lameter To: Linus Torvalds cc: Andrew Morton , Aucoin@houston.rr.com, "'Tim Schmielau'" , linux-kernel@vger.kernel.org, pj@sgi.com Subject: Re: la la la la ... swappiness In-Reply-To: Message-ID: References: <200612032356.kB3NuPc0010673@ms-smtp-04.texas.rr.com> <20061203205649.98df030b.akpm@osdl.org> 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 Content-Length: 938 Lines: 22 On Sun, 3 Dec 2006, Linus Torvalds wrote: > Wouldn't it be much nicer to just lower the dirty-page limit? > > echo 1 > /proc/sys/vm/dirty_background_ratio > echo 2 > /proc/sys/vm/dirty_ratio Dirty ratio cannot be set to less than 5%. See mm/page-writeback.c:get_dirty_limits(). > or something. Which we already discussed in another thread and almost > already decided we should lower the values for big-mem machines.. We also have an issue with cpusets. Dirty page throttling does not work in a cpuset if it is relatively small to the total memory on the system since we calculate the percentage of the total memory and not a percentage of the memory the process is allowed to use. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/