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

Balbir Singh balbir at linux.vnet.ibm.com
Fri May 29 15:42:52 UTC 2009


* 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?

-- 
	Balbir




More information about the dm-devel mailing list