On Mon, Aug 15, 2011 at 02:19:59PM +0530, Balbir Singh wrote:
> On Mon, Aug 15, 2011 at 12:23 AM, Harley Peters
> <har...@thepetersclan.com> wrote:
> > I can set one fine:
> > blkio.weight_device = "8:16 100";
> >
> > But how do I set more than one?
> > Nothing I have tried works.
> > Can't seem to find anything on Google that mentions it.
> > Don't know if this is the right list but don't know anywhere else to
> > ask.
> 
> Hi, Harley
> 
> This is the right place to ask, cc'ing Vivek

I have not tried cgconfig but I tried it directly on cgroup file system
on 3.1.0-rc2 kernel and it works.

# echo "8:16 100" > blkio.weight_device 
# echo "8:32 100" > blkio.weight_device 
# cat blkio.weight_device 
8:32    100
8:16    100

So it might have something to do with how things are being parsed in
libcg.

Thanks
Vivek

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to