Re: [PATCH 01/20] io-controller: Documentation

Vivek Goyal
2009-05-29T15:58:32Z

On Fri, May 29, 2009 at 11:42:52PM +0800, Balbir Singh wrote:
> * Vivek Goyal <vgoyal@redhat.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