[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599ad830811051355n5765a115mbd6eb389504d125d@mail.gmail.com>
Date: Wed, 5 Nov 2008 13:55:33 -0800
From: Paul Menage <menage@...gle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Christoph Lameter <cl@...ux-foundation.org>, peterz@...radead.org,
rientjes@...gle.com, npiggin@...e.de, dfults@....com,
linux-kernel@...r.kernel.org, containers@...ts.osdl.org
Subject: Re: [patch 0/7] cpuset writeback throttling
On Wed, Nov 5, 2008 at 12:56 PM, Andrew Morton
<akpm@...ux-foundation.org> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists