search for: _bps_device

Displaying 1 result from an estimated 1 matches for "_bps_device".

Did you mean: __is_device
2011 Feb 09
0
Question about putting vm in blkio cgroup
...script that put vm in cgroup for limiting blkio sudo cgcreate -f 750 -d 750 -a $user:$group -g blkio:$alias pid=`pgrep $alias` echo $pid > /dev/cgroup/blkio/$alias/tasks $virsh schedinfo --set cpu_shares=$cpu $alias echo "8:0 $disk_io" > /dev/cgroup/blkio/$alias/blkio.throttle.read_bps_device echo "8:0 $disk_io" > /dev/cgroup/blkio/$alias/blkio.throttle.write_bps_device For example I write: 8:0 10485760 to /dev/cgroup/blkio/$alias/blkio.throttle.*_bps_device So there should be limit to 10Mbyte/s to acces to /dev/sda But when I run hdparm -t /dev/vda or dd to test limits I...