[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070326020823.8630bb07.akpm@linux-foundation.org>
Date: Mon, 26 Mar 2007 02:08:23 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Miklos Szeredi <miklos@...redi.hu>
Cc: dgc@....com, linux-kernel@...r.kernel.org
Subject: Re: [patch 1/3] fix illogical behavior in balance_dirty_pages()
On Mon, 26 Mar 2007 11:32:47 +0200 Miklos Szeredi <miklos@...redi.hu> wrote:
> Stopping writers which have idle queues is completely unproductive,
> and that is basically what the current algorithm does.
This is because the kernel permits all of its allotment of dirty+writeback
pages to be dirty+writeback against a single device.
A good way of solving the one-device-starves-another-one problem is to
dynamically adjust the per-device dirty+writeback levels so that (for
example) if two devices are being written to, each gets 50% of the
allotment.
I started working on that but got derailed by the usual blah. I don't
think either of the proposed fixes took that approach, actually.
-
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