Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752535Ab0HRJTc (ORCPT ); Wed, 18 Aug 2010 05:19:32 -0400 Received: from cantor2.suse.de ([195.135.220.15]:38171 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750757Ab0HRJTa (ORCPT ); Wed, 18 Aug 2010 05:19:30 -0400 From: Nikanth Karthikesan Organization: suse.de To: Peter Zijlstra Subject: Re: [RFC][PATCH] Per file dirty limit throttling Date: Wed, 18 Aug 2010 14:52:04 +0530 User-Agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-default; KDE/4.3.5; x86_64; ; ) Cc: Wu Fengguang , Bill Davidsen , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Jens Axboe , Andrew Morton , Jan Kara References: <201008160949.51512.knikanth@suse.de> <201008171039.23701.knikanth@suse.de> <1282033475.1926.2093.camel@laptop> In-Reply-To: <1282033475.1926.2093.camel@laptop> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201008181452.05047.knikanth@suse.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1211 Lines: 31 On Tuesday 17 August 2010 13:54:35 Peter Zijlstra wrote: > On Tue, 2010-08-17 at 10:39 +0530, Nikanth Karthikesan wrote: > > Oh, nice. Per-task limit is an elegant solution, which should help > > during most of the common cases. > > > > But I just wonder what happens, when > > 1. The dirtier is multiple co-operating processes > > 2. Some app like a shell script, that repeatedly calls dd with seek and > > skip? People do this for data deduplication, sparse skipping etc.. > > 3. The app dies and comes back again. Like a VM that is rebooted, and > > continues writing to a disk backed by a file on the host. > > > > Do you think, in those cases this might still be useful? > > Those cases do indeed defeat the current per-task-limit, however I think > the solution to that is to limit the amount of writeback done by each > blocked process. > Blocked on what? Sorry, I do not understand. Thanks Nikanth > Jan Kara had some good ideas in that department. > -- 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/