[libvirt] How about realize domainSetBlockIoTune by cgroup?

Gao feng gaofeng at cn.fujitsu.com
Wed Aug 28 01:50:58 UTC 2013


On 08/28/2013 09:47 AM, hzguanqiang at corp.netease.com wrote:
> On 2013-08-28 09:43 , Gao feng <mailto:gaofeng at cn.fujitsu.com> wrote:
> 
>     On 08/27/2013 12:10 PM, hzguanqiang at corp.netease.com wrote:
>     > Hello experts,
>     > 
>     > It seems that blkiotune of kvm domain is set through qemu now, and We found there are some throttle shaking problem when using this interface.
>     > 
>     > As you can do the same thing through blkio cgroup, and this sounds to show better performance, Can we realize domainSetBlockIoTune by cgroup just like interface domainSetBlkioParameters ? Or Add
>     a new
>     > interface to support setting disk IOtune by blkio cgroup?
>     > 
>      
>     You mean blkio.throttle.[write|read]_bps_device?
>     libvirt doesn't support this interface of block cgroup now.
>      
>     Maybe we can implement this feature.
> 
>  
> Yes, That's exactly what I mean. If this feature is needed, I may try to implement this.
>  

Ok, patches are welcomed :)




More information about the libvir-list mailing list