Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754874AbYHFSCp (ORCPT ); Wed, 6 Aug 2008 14:02:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754309AbYHFSCf (ORCPT ); Wed, 6 Aug 2008 14:02:35 -0400 Received: from e3.ny.us.ibm.com ([32.97.182.143]:38407 "EHLO e3.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753955AbYHFSCe (ORCPT ); Wed, 6 Aug 2008 14:02:34 -0400 Subject: Re: RFC: I/O bandwidth controller (was Re: Too many I/O controller patches) From: Dave Hansen To: balbir@linux.vnet.ibm.com Cc: Fernando Luis =?ISO-8859-1?Q?V=E1zquez?= Cao , xen-devel@lists.xensource.com, uchida@ap.jp.nec.com, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, dm-devel@redhat.com, agk@sourceware.org, ngupta@google.com, Andrea Righi In-Reply-To: <4899D464.1070506@linux.vnet.ibm.com> References: <20080804.175126.193692178.ryov@valinux.co.jp> <1217870433.20260.101.camel@nimitz> <1217985189.3154.57.camel@sebastian.kern.oss.ntt.co.jp> <4899D464.1070506@linux.vnet.ibm.com> Content-Type: text/plain Date: Wed, 06 Aug 2008 11:00:44 -0700 Message-Id: <1218045644.10907.93.camel@nimitz> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1623 Lines: 35 On Wed, 2008-08-06 at 22:12 +0530, Balbir Singh wrote: > Would you like to split up IO into read and write IO. We know that read can be > very latency sensitive when compared to writes. Should we consider them > separately in the RFC? I'd just suggest doing what is simplest and can be done in the smallest amount of code. As long as it is functional in some way and can be extended to cover the end goal, I say keep it tiny. > > Even in the non-hotplug case it would be nice if we could treat each > > block I/O device as an independent resource, which means we could do > > things like allocating I/O bandwidth on a per-device basis. As long as > > performance is not compromised too much, adding some kind of basic > > hotplug support to cgroups is probably worth it. > > Won't that get too complex. What if the user has thousands of disks with several > partitions on each? I think what Fernando is suggesting is that we *allow* each disk to be treated separately, not that we actually separate them out. I agree that with large disk count systems, it would get a bit nutty to deal with I/O limits on each of them. It would also probably be nutty for some dude with two disks in his system to have to set (or care about) individual limits. I guess I'm just arguing that we should allow pretty arbitrary grouping of block devices into these resource pools. -- Dave -- 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/