Re: [Qemu-devel] [PATCH RFC] migration: set cpu throttle value by workload

2017-02-24 Thread Dr. David Alan Gilbert
* Chao Fan (fanc.f...@cn.fujitsu.com) wrote: > On Fri, Jan 27, 2017 at 12:07:27PM +, Dr. David Alan Gilbert wrote: > >* Chao Fan (fanc.f...@cn.fujitsu.com) wrote: > >> Hi all, > >> > >> This is a test for this RFC patch. > >> > >> Start vm as following: > >> cmdline="./x86_64-softmmu/qemu-sys

Re: [Qemu-devel] [PATCH RFC] migration: set cpu throttle value by workload

2017-02-05 Thread Chao Fan
On Fri, Jan 27, 2017 at 12:07:27PM +, Dr. David Alan Gilbert wrote: >* Chao Fan (fanc.f...@cn.fujitsu.com) wrote: >> Hi all, >> >> This is a test for this RFC patch. >> >> Start vm as following: >> cmdline="./x86_64-softmmu/qemu-system-x86_64 -m 2560 \ >> -drive if=none,file=/nfs/img/fedora.q

Re: [Qemu-devel] [PATCH RFC] migration: set cpu throttle value by workload

2017-01-27 Thread Dr. David Alan Gilbert
* Chao Fan (fanc.f...@cn.fujitsu.com) wrote: > Hi all, > > This is a test for this RFC patch. > > Start vm as following: > cmdline="./x86_64-softmmu/qemu-system-x86_64 -m 2560 \ > -drive if=none,file=/nfs/img/fedora.qcow2,format=qcow2,id=foo \ > -netdev tap,id=hn0,queues=1 \ > -device virtio-net-

Re: [Qemu-devel] [PATCH RFC] migration: set cpu throttle value by workload

2017-01-17 Thread Chao Fan
Hi all, This is a test for this RFC patch. Start vm as following: cmdline="./x86_64-softmmu/qemu-system-x86_64 -m 2560 \ -drive if=none,file=/nfs/img/fedora.qcow2,format=qcow2,id=foo \ -netdev tap,id=hn0,queues=1 \ -device virtio-net-pci,id=net-pci0,netdev=hn0 \ -device virtio-blk,drive=foo \ -en

Re: [Qemu-devel] [PATCH RFC] migration: set cpu throttle value by workload

2017-01-11 Thread Cao jin
Hi, We have been waiting for a long time on this topic,we have interests in improving the migration performance, and we think this could benefit in certain condition like heavy work load, the throttle value is a dynamic value than fixed increment. Your comments would be important to us, thanks in a

Re: [Qemu-devel] [PATCH RFC] migration: set cpu throttle value by workload

2016-12-29 Thread Chao Fan
Hi all, There is something to explain in this RFC PATCH. On Thu, Dec 29, 2016 at 05:16:19PM +0800, Chao Fan wrote: >This RFC PATCH is my demo about the new feature, here is my POC mail: >https://lists.gnu.org/archive/html/qemu-devel/2016-12/msg00646.html > >When migration_bitmap_sync executed, ge

[Qemu-devel] [PATCH RFC] migration: set cpu throttle value by workload

2016-12-29 Thread Chao Fan
This RFC PATCH is my demo about the new feature, here is my POC mail: https://lists.gnu.org/archive/html/qemu-devel/2016-12/msg00646.html When migration_bitmap_sync executed, get the time and read bitmap to calculate how many dirty pages born between two sync. Use inst_dirty_pages / (time_now - ti