On Wed, Feb 22, 2012 at 6:56 PM, Gianluca Cecchi wrote: > On hypervisor: > # cgget -r blkio.throttle.read_bps_device libvirt/qemu/testvm > libvirt/qemu/testvm: > blkio.throttle.read_bps_device: 253:6 5000000 > 253:5 5000000 > 253:3 5000000 > 253:2 5000000 > 253:1 5000000 > 253:0 5000000 > > Now if I want to reset the values for blkio.throttle.write_bps_device > to their original ones (so no limit), to have > > # cat /cgroup/blkio/libvirt/qemu/testvm/blkio.throttle.write_bps_device > > that returns no value, which syntax can I use? > > Thanks in advance, > Gianluca
Ok, I found that for the blkio controller one has to put 0 as the value to reset SO to reset the limit for write bandwidth for dm-0 device: echo "253:0 0" > /cgroup/blkio/libvirt/qemu/testvm/blkio.throttle.write_bps_device or cgset -r blkio.throttle.write_bps_device="253:0 0" libvirt/qemu/testvm Gianluca _______________________________________________ rhelv6-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv6-list
