From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757498AbZEFGZy (ORCPT ); Wed, 6 May 2009 02:25:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753126AbZEFGZa (ORCPT ); Wed, 6 May 2009 02:25:30 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:33163 "EHLO e5.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560AbZEFGZ3 (ORCPT ); Wed, 6 May 2009 02:25:29 -0400 Date: Wed, 6 May 2009 09:12:54 +0530 From: Balbir Singh To: Peter Zijlstra Cc: Andrew Morton , Vivek Goyal , nauman@google.com, dpshah@google.com, lizf@cn.fujitsu.com, mikew@google.com, fchecconi@gmail.com, paolo.valente@unimore.it, jens.axboe@oracle.com, ryov@valinux.co.jp, fernando@oss.ntt.co.jp, s-uchida@ap.jp.nec.com, taka@valinux.co.jp, guijianfeng@cn.fujitsu.com, jmoyer@redhat.com, dhaval@linux.vnet.ibm.com, linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, righi.andrea@gmail.com, agk@redhat.com, dm-devel@redhat.com, snitzer@redhat.com, m-ikeda@ds.jp.nec.com Subject: Re: IO scheduler based IO Controller V2 Message-ID: <20090506034254.GD4416@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <1241553525-28095-1-git-send-email-vgoyal@redhat.com> <20090505132441.1705bfad.akpm@linux-foundation.org> <1241562049.11059.921.camel@twins> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1241562049.11059.921.camel@twins> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra [2009-05-06 00:20:49]: > On Tue, 2009-05-05 at 13:24 -0700, Andrew Morton wrote: > > On Tue, 5 May 2009 15:58:27 -0400 > > Vivek Goyal wrote: > > > > > > > > Hi All, > > > > > > Here is the V2 of the IO controller patches generated on top of 2.6.30-rc4. > > > ... > > > Currently primarily two other IO controller proposals are out there. > > > > > > dm-ioband > > > --------- > > > This patch set is from Ryo Tsuruta from valinux. > > > ... > > > IO-throttling > > > ------------- > > > This patch set is from Andrea Righi provides max bandwidth controller. > > > > I'm thinking we need to lock you guys in a room and come back in 15 minutes. > > > > Seriously, how are we to resolve this? We could lock me in a room and > > cmoe back in 15 days, but there's no reason to believe that I'd emerge > > with the best answer. > > > > I tend to think that a cgroup-based controller is the way to go. > > Anything else will need to be wired up to cgroups _anyway_, and that > > might end up messy. > > FWIW I subscribe to the io-scheduler faith as opposed to the > device-mapper cult ;-) > > Also, I don't think a simple throttle will be very useful, a more mature > solution should cater to more use cases. > I tend to agree, unless Andrea can prove us wrong. I don't think throttling a task (not letting it consume CPU, memory when its IO quota is exceeded) is a good idea. I've asked that question to Andrea a few times, but got no response. -- Balbir