Perhaps I'm not following that statement clearly. Cgroups create a hierarchy with the top node define at /sys/fs/cgroup/<cpu|blkio|etc>/*
I've created 2 LXC containers which have their definitions at: /sys/fs/group/blkio/lxc/container-name/* I checked blkio.weight, it's set to, say 100, as expected in my test. Is this not the "leaf" that the documentation is referring to? And by saying it only works at the "leaf node" level, does that mean that this somehow doesn’t apply equally to a process running on the host, for example? Even though I see blkio.weight set to 1000 by default at the top level, which would otherwise apply to host-level processes. Thanks, David -----Original Message----- From: rpo...@babel.it [mailto:rpo...@babel.it] Sent: Monday, May 13, 2013 2:14 PM To: David Parks; libcg-devel@lists.sourceforge.net Subject: Re: [Libcg-devel] blkio.weight not having expected effect davidpark...@yahoo.com wrote: > Hi, I'm running into a cgroup problem under LXC (Ubuntu 12.10 server). > I've > confirmed that blkio.weight is set correctly in the cgroup fs, I've > also > checked that Ubuntu us using the CFQ scheduler by default > (/sys/block/sda/queue/scheduler = "noop [deadline] cfq"). > So here's the From https://www.kernel.org/doc/Documentation/cgroups/blkio-controller.txt "Currently two IO control policies are implemented. First one is proportional weight time based division of disk policy. It is implemented in CFQ. Hence this policy takes effect only on leaf nodes when CFQ is being used." HTH+Peace, R. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel