From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761885AbZE2PnS (ORCPT ); Fri, 29 May 2009 11:43:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755945AbZE2PnI (ORCPT ); Fri, 29 May 2009 11:43:08 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:60704 "EHLO e5.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755899AbZE2PnH (ORCPT ); Fri, 29 May 2009 11:43:07 -0400 Date: Fri, 29 May 2009 23:42:52 +0800 From: Balbir Singh To: Vivek Goyal Cc: linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, dm-devel@redhat.com, jens.axboe@oracle.com, nauman@google.com, dpshah@google.com, lizf@cn.fujitsu.com, mikew@google.com, fchecconi@gmail.com, paolo.valente@unimore.it, 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, righi.andrea@gmail.com, m-ikeda@ds.jp.nec.com, jbaron@redhat.com, agk@redhat.com, snitzer@redhat.com, akpm@linux-foundation.org, peterz@infradead.org Subject: Re: [PATCH 01/20] io-controller: Documentation Message-ID: <20090529154252.GD5587@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <1243377729-2176-1-git-send-email-vgoyal@redhat.com> <1243377729-2176-2-git-send-email-vgoyal@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1243377729-2176-2-git-send-email-vgoyal@redhat.com> 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 * Vivek Goyal [2009-05-26 18:41:50]: > + mount -t cgroup -o io,blkio none /cgroup > + > +- Create two cgroups > + mkdir -p /cgroup/test1/ /cgroup/test2 > + > +- Set weights of group test1 and test2 > + echo 1000 > /cgroup/test1/io.ioprio > + echo 500 > /cgroup/test2/io.ioprio > + I am not sure if anyone has asked this before, but are the numbers arbitrary like shares or are they time units? -- Balbir