Re: [Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-20 Thread Daniel P. Berrange
On Wed, Jan 20, 2016 at 06:41:16PM +0800, 陈博 wrote:

Sending the question once is enough, and reply with a 'ping' message if
no one has answered after a few days waiting for response. There is no
need to send the same mail 11 times over.

Regards,
Daniel
-- 
|: http://berrange.com  -o-http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o- http://virt-manager.org :|
|: http://autobuild.org   -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org   -o-   http://live.gnome.org/gtk-vnc :|



[Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-20 Thread Bob Chen
Hi folks,



Could you enlighten me how to achieve proportional IO sharing by using
cgroup, instead of qemu's io-throttling?


My qemu config is like: -drive
file=$DISKFILe,if=none,format=qcow2,cache=none,aio=native -device
virtio-blk-pci...


Test command inside vm is like: dd if=/dev/vdc of=/dev/null iflag=direct


Cgroup blkio weight of the qemu process is properly configured as well.


But no matter how change the proportion, such as vm1=400 and vm2=100, I can
only get the equal IO speed.


Wondering cgroup blkio.weight or blkio.weight_device has no effect on qemu?



PS. cache=writethrough aio=threads is also tested, the same results.




- Bob


[Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-20 Thread 陈博
Hi,


Could you enlighten me how to achieve proportional IO sharing by using cgroup, 
instead of qemu's own io-throttling?

My qemu config is like: -drive 
file=$DISKFILe,if=none,format=qcow2,cache=none,aio=native -device 
virtio-blk-pci...

Test command inside vm is like: dd if=/dev/vdc of=/dev/null iflag=direct

Cgroup blkio weight of the qemu process is properly configured as well.

But no matter how change the proportion, such as vm1=400 and vm2=100, I can 
only get the equal IO speed.

Wondering cgroup blkio.weight or blkio.weight_device has no effect on qemu?


PS. cache=writethrough aio=threads is also tested, the same results. 


- Bob





[Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-20 Thread Bob Chen
Hi folks,

Could you enlighten me how to achieve proportional IO sharing by using
cgroup, instead of qemu's io-throttling?

My qemu config is like: -drive
file=$DISKFILe,if=none,format=qcow2,cache=none,aio=native -device
virtio-blk-pci...

Test command inside vm is like: dd if=/dev/vdc of=/dev/null iflag=direct

Cgroup blkio weight of the qemu process is properly configured as well.

But no matter how change the proportion, such as vm1=400 and vm2=100, I can
only get the equal IO speed.

Wondering cgroup blkio.weight or blkio.weight_device has no effect on qemu?


PS. cache=writethrough aio=threads is also tested, the same results.


- Bob


[Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-20 Thread Bob Chen
Hi folks,



Could you enlighten me how to achieve proportional IO sharing by using cgroup, 
instead of qemu's io-throttling?


My qemu config is like: -drive 
file=$DISKFILe,if=none,format=qcow2,cache=none,aio=native -device 
virtio-blk-pci...


Test command inside vm is like: dd if=/dev/vdc of=/dev/null iflag=direct


Cgroup blkio weight of the qemu process is properly configured as well.


But no matter how change the proportion, such as vm1=400 and vm2=100, I can 
only get the equal IO speed.


Wondering cgroup blkio.weight or blkio.weight_device has no effect on qemu?




PS. cache=writethrough aio=threads is also tested, the same results. 




- Bob

[Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-20 Thread Bob Chen
Sorry for disturbing by reply, don't know why I'm not able to send a new
mail.


Hi folks,

Could you enlighten me how to achieve proportional IO sharing by using
cgroup, instead of qemu's io-throttling?

My qemu config is like: -drive
file=$DISKFILe,if=none,format=qcow2,cache=none,aio=native -device
virtio-blk-pci...

Test command inside vm is like: dd if=/dev/vdc of=/dev/null iflag=direct

Cgroup blkio weight of the qemu process is properly configured as well.

But no matter how change the proportion, such as vm1=400 and vm2=100, I can
only get the equal IO speed.

Wondering cgroup blkio.weight or blkio.weight_device has no effect on qemu?


PS. cache=writethrough aio=threads is also tested, the same results.


- Bob



2016-01-20 18:04 GMT+08:00 Markus Armbruster :

>
>
>


[Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-20 Thread Bob Chen
Hi folks,



Could you enlighten me how to achieve proportional IO sharing by using cgroup, 
instead of qemu's io-throttling?


My qemu config is like: -drive 
file=$DISKFILe,if=none,format=qcow2,cache=none,aio=native -device 
virtio-blk-pci...


Test command inside vm is like: dd if=/dev/vdc of=/dev/null iflag=direct


Cgroup blkio weight of the qemu process is properly configured as well.


But no matter how change the proportion, such as vm1=400 and vm2=100, I can 
only get the equal IO speed.


Wondering cgroup blkio.weight or blkio.weight_device has no effect on qemu?




PS. cache=writethrough aio=threads is also tested, the same results. 




- Bob





 

[Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-20 Thread 陈博
Hi folks,


Could you enlighten me how to achieve proportional IO sharing by using cgroup, 
instead of qemu's io-throttling?

My qemu config is like: -drive 
file=$DISKFILe,if=none,format=qcow2,cache=none,aio=native -device 
virtio-blk-pci...

Test command inside vm is like: dd if=/dev/vdc of=/dev/null iflag=direct

Cgroup blkio weight of the qemu process is properly configured as well.

But no matter how change the proportion, such as vm1=400 and vm2=100, I can 
only get the equal IO speed.

Wondering cgroup blkio.weight or blkio.weight_device has no effect on qemu?


PS. cache=writethrough aio=threads is also tested, the same results. 


- Bob




[Qemu-devel] cgroup blkio weight has no effect on qemu

2016-01-19 Thread 陈博
Hi folks,


Could you enlighten me about how to achieve proportional IO sharing by using 
cgroup, instead of qemu?

My qemu config is like: -drive 
file=$DISKFILe,if=none,format=qcow2,cache=none,aio=native

Test command inside vm is like: dd if=/dev/vdc of=/dev/null iflag=direct

Cgroup blkio weight of the qemu process is properly configured as well.

But no matter how change the proportion, such as vm1=400 and vm2=100, I can 
only get the equal IO speed.

Wondering cgroup blkio.weight or blkio.weight_device has no effect on qemu???


PS. cache=writethrough aio=threads is also tested, the same results. 



- Bob