[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090529155348.GB26962@redhat.com>
Date: Fri, 29 May 2009 11:53:48 -0400
From: Vivek Goyal <vgoyal@...hat.com>
To: Balbir Singh <balbir@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org,
containers@...ts.linux-foundation.org, dm-devel@...hat.com,
jens.axboe@...cle.com, nauman@...gle.com, dpshah@...gle.com,
lizf@...fujitsu.com, mikew@...gle.com, fchecconi@...il.com,
paolo.valente@...more.it, ryov@...inux.co.jp,
fernando@....ntt.co.jp, s-uchida@...jp.nec.com, taka@...inux.co.jp,
guijianfeng@...fujitsu.com, jmoyer@...hat.com,
dhaval@...ux.vnet.ibm.com, righi.andrea@...il.com,
m-ikeda@...jp.nec.com, jbaron@...hat.com, agk@...hat.com,
snitzer@...hat.com, akpm@...ux-foundation.org, peterz@...radead.org
Subject: Re: [PATCH 01/20] io-controller: Documentation
On Fri, May 29, 2009 at 11:42:52PM +0800, Balbir Singh wrote:
> * Vivek Goyal <vgoyal@...hat.com> [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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists