From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: [patch 0/4] [RFC] Another proportional weight IO controller Date: Thu, 06 Nov 2008 11:47:47 -0500 Message-ID: <49131FB3.4060807@redhat.com> References: <20081106153022.215696930@redhat.com> <1225986593.7803.4688.camel@twins> <20081106160154.GA7461@redhat.com> <1225988173.7803.4723.camel@twins> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1225988173.7803.4723.camel@twins> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Peter Zijlstra Cc: menage-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, Andrew Morton , containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Jeff Moyer , jens.axboe-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org, balbir-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org, ngupta-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org, fernando-gVGce1chcLdL9jVzuh4AOg@public.gmane.org, Andrea Righi List-Id: containers.vger.kernel.org Peter Zijlstra wrote: > Nice, although I would think only doing the higher level devices makes > more sense than only doing the leafs. I'm not convinced. Say that you have two resource groups on a bunch of LVM volumes across two disks. If one of the resource groups only sends requests to one of the disks, the other resource group should be able to get all of its requests through immediateley at the other disk. Holding up the second resource group's requests could result in a disk being idle. Worse, once that cgroup's requests finally make it through, the other cgroup might also want to use the disk and they both get slowed down. When a resource is uncontended, should a potential user be made to wait? -- All rights reversed.