From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vivek Goyal Subject: Re: [PATCH 01/20] io-controller: Documentation Date: Fri, 29 May 2009 11:53:48 -0400 Message-ID: <20090529155348.GB26962@redhat.com> References: <1243377729-2176-1-git-send-email-vgoyal@redhat.com> <1243377729-2176-2-git-send-email-vgoyal@redhat.com> <20090529154252.GD5587@balbir.in.ibm.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20090529154252.GD5587@balbir.in.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Balbir Singh Cc: dhaval@linux.vnet.ibm.com, snitzer@redhat.com, peterz@infradead.org, dm-devel@redhat.com, dpshah@google.com, jens.axboe@oracle.com, agk@redhat.com, paolo.valente@unimore.it, guijianfeng@cn.fujitsu.com, fernando@oss.ntt.co.jp, mikew@google.com, jmoyer@redhat.com, nauman@google.com, m-ikeda@ds.jp.nec.com, lizf@cn.fujitsu.com, fchecconi@gmail.com, akpm@linux-foundation.org, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, s-uchida@ap.jp.nec.com, righi.andrea@gmail.com, jbaron@redhat.com List-Id: dm-devel.ids On Fri, May 29, 2009 at 11:42:52PM +0800, Balbir Singh wrote: > * 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? > They are arbitrary like shares. This documentation file is still little wrong. "io.ioprio" should be replaced with "io.weight". Gui pointed it out last time. Will fix it right away.. Thanks Vivek