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

Vivek Goyal vgoyal at redhat.com
Fri May 29 08:53:48 PDT 2009


On Fri, May 29, 2009 at 11:42:52PM +0800, Balbir Singh wrote:
> * Vivek Goyal <vgoyal at 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
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list