From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755582AbYKEVzt (ORCPT ); Wed, 5 Nov 2008 16:55:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753209AbYKEVzl (ORCPT ); Wed, 5 Nov 2008 16:55:41 -0500 Received: from smtp-out.google.com ([216.239.33.17]:3032 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752936AbYKEVzk (ORCPT ); Wed, 5 Nov 2008 16:55:40 -0500 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding; b=hNfhKhFleEMopwAmmZ1gf+YBGzymA2aSGC1w9FnjUgBMEw8DB53/Em0qa3ZIvajw+ i4TsSZn7xRL1zutwdC6yQ== MIME-Version: 1.0 In-Reply-To: <20081105125603.36d0c222.akpm@linux-foundation.org> References: <20081104153610.bbfd5ed8.akpm@linux-foundation.org> <20081104190505.769b93ec.akpm@linux-foundation.org> <20081105104145.abd6fc91.akpm@linux-foundation.org> <20081105123150.d6628805.akpm@linux-foundation.org> <20081105125603.36d0c222.akpm@linux-foundation.org> Date: Wed, 5 Nov 2008 13:55:33 -0800 Message-ID: <6599ad830811051355n5765a115mbd6eb389504d125d@mail.gmail.com> Subject: Re: [patch 0/7] cpuset writeback throttling From: Paul Menage To: Andrew Morton Cc: Christoph Lameter , peterz@infradead.org, rientjes@google.com, npiggin@suse.de, dfults@sgi.com, linux-kernel@vger.kernel.org, containers@lists.osdl.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 5, 2008 at 12:56 PM, Andrew Morton wrote: >> >> 1. Reduce the global dirty ratios so that the number of dirty pages in a >> cpuset cannot become too high. > > That would be less than the smallest node's memory capacity, I guess. Even that doesn't work - if there's a single global limit on dirty pages, then any cpuset/cgroup with access to enough memory can exhaust that limit and cause other processes to block when they try to write to disk. You need independent dirty counts to avoid that, whether it be per-node or per-cgroup. Paul