Re: [PATCH v7 0/3] support dirty restraint on vCPU

2021-11-30 Thread Hyman Huang
On 11/30/21 22:57, Hyman Huang wrote: 1. Start vm with kernel+initrd.img with qemu command line as following: [root@Hyman_server1 fast_qemu]# cat vm.sh #!/bin/bash /usr/bin/qemu-system-x86_64 \     -display none -vga none \     -name guest=simple_vm,debug-threads=on \     -monitor stdio \

Re: [PATCH v7 0/3] support dirty restraint on vCPU

2021-11-30 Thread Hyman Huang
1. Start vm with kernel+initrd.img with qemu command line as following: [root@Hyman_server1 fast_qemu]# cat vm.sh #!/bin/bash /usr/bin/qemu-system-x86_64 \ -display none -vga none \ -name guest=simple_vm,debug-threads=on \ -monitor stdio \ -machine pc-i440fx-2.12 \ -accel kvm,

Re: [PATCH v7 0/3] support dirty restraint on vCPU

2021-11-30 Thread Peter Xu
On Tue, Nov 30, 2021 at 06:28:10PM +0800, huang...@chinatelecom.cn wrote: > From: Hyman Huang(黄勇) > > The patch [2/3] has not been touched so far. Any corrections and > suggetions are welcome. I played with it today, but the vcpu didn't got throttled as expected. What I did was starting two wo

[PATCH v7 0/3] support dirty restraint on vCPU

2021-11-30 Thread huangy81
From: Hyman Huang(黄勇) The patch [2/3] has not been touched so far. Any corrections and suggetions are welcome. Please review, thanks! v7: - rebase on master - polish the comments and error message according to the advices given by Markus - introduce dirtylimit_enabled function to pre-check i

[PATCH v7 0/3] support dirty restraint on vCPU

2021-11-29 Thread huangy81
From: Hyman Huang(黄勇) The patch [2/3] has not been touched so far. Any corrections and suggetions are welcome. Please review, thanks! v7: - rebase on master - polish the comments and error message according to the advices given by Markus - introduce dirtylimit_enabled function to pre-check i