Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762387AbXHPV3c (ORCPT ); Thu, 16 Aug 2007 17:29:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752578AbXHPV3X (ORCPT ); Thu, 16 Aug 2007 17:29:23 -0400 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:56913 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751902AbXHPV3W (ORCPT ); Thu, 16 Aug 2007 17:29:22 -0400 Date: Thu, 16 Aug 2007 14:29:17 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Peter Zijlstra cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, miklos@szeredi.hu, akpm@linux-foundation.org, neilb@suse.de, dgc@sgi.com, tomoki.sekiyama.qu@hitachi.com, nikita@clusterfs.com, trond.myklebust@fys.uio.no, yingchao.zhou@gmail.com, richard@rsk.demon.co.uk, torvalds@linux-foundation.org, pj@sgi.com Subject: Re: [PATCH 00/23] per device dirty throttling -v9 In-Reply-To: <20070816074525.065850000@chello.nl> Message-ID: References: <20070816074525.065850000@chello.nl> 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: 1005 Lines: 24 Is there any way to make the global limits on which the dirty rate calculations are based cpuset specific? A process is part of a cpuset and that cpuset has only a fraction of memory of the whole system. And only a fraction of that fraction can be dirtied. We do not currently enforce such limits which can cause the amount of dirty pages in cpusets to become excessively high. I have posted several patchsets that deal with that issue. See http://lkml.org/lkml/2007/1/16/5 It seems that limiting dirty pages in cpusets may be much easier to realize in the context of this patchset. The tracking of the dirty pages per node is not necessary if one would calculate the maximum amount of dirtyable pages in a cpuset and use that as a base, right? - 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/