lkml.org 
[lkml]   [2009]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 01/20] io-controller: Documentation
    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


    \
     
     \ /
      Last update: 2009-05-29 18:01    [W:3.425 / U:0.332 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site