[PATCH v4 0/6] migration: auto-converge refinements for huge VM

yong.huang@smartx.com posted 6 patches 5 days, 13 hours ago
accel/tcg/icount-common.c                    |  1 -
{system => migration}/cpu-throttle.c         | 67 +++++++++++++++++++-
{include/sysemu => migration}/cpu-throttle.h | 14 ++++
migration/meson.build                        |  1 +
migration/migration.c                        | 23 +++++--
migration/migration.h                        |  1 +
migration/ram.c                              | 13 ++--
migration/trace-events                       |  4 ++
system/cpu-timers.c                          |  3 -
system/meson.build                           |  1 -
system/trace-events                          |  3 -
tests/qtest/migration-test.c                 | 32 ++++++++++
12 files changed, 143 insertions(+), 20 deletions(-)
rename {system => migration}/cpu-throttle.c (67%)
rename {include/sysemu => migration}/cpu-throttle.h (87%)
[PATCH v4 0/6] migration: auto-converge refinements for huge VM
Posted by yong.huang@smartx.com 5 days, 13 hours ago
From: Hyman Huang <yong.huang@smartx.com>

v4:
1. split the [PATCH v3 1/6] into smaller patches.
2. refine some comment and commit message
3. fix race issue for the throttle_dirty_sync_timer
4. refine the util function cpu_throttle_dirty_sync_timer

Thanks Peter for the suggestions.

Please review.

Yong

v3:
1. drop the responsive throttle patchset
2. rename background sync to periodic ramblock dirty sync
3. move the cpu-throttle.* from system to migration
4. remove "rs" parameter in migration_bitmap_sync_precopy
5. implement periodic ramblock dirty sync in cpu-throttle.c
6. move the test change into a separate patch

To simplify the cover letter, i have dropped the test data,
please refer to 
https://lore.kernel.org/qemu-devel/cover.1727630000.git.yong.huang@smartx.com/
for more test details.

Thanks Peter and Fabiano for the suggestions and comments.

Please review.

Yong

Hyman Huang (6):
  accel/tcg/icount-common: Remove the reference to the unused header
    file
  migration: Stop CPU throttling conditionally
  migration: Move cpu-throttole.c from system to migration
  migration: Remove "rs" parameter in migration_bitmap_sync_precopy
  migration: Support periodic RAMBlock dirty bitmap sync
  tests/migration: Add case for periodic ramblock dirty sync

 accel/tcg/icount-common.c                    |  1 -
 {system => migration}/cpu-throttle.c         | 67 +++++++++++++++++++-
 {include/sysemu => migration}/cpu-throttle.h | 14 ++++
 migration/meson.build                        |  1 +
 migration/migration.c                        | 23 +++++--
 migration/migration.h                        |  1 +
 migration/ram.c                              | 13 ++--
 migration/trace-events                       |  4 ++
 system/cpu-timers.c                          |  3 -
 system/meson.build                           |  1 -
 system/trace-events                          |  3 -
 tests/qtest/migration-test.c                 | 32 ++++++++++
 12 files changed, 143 insertions(+), 20 deletions(-)
 rename {system => migration}/cpu-throttle.c (67%)
 rename {include/sysemu => migration}/cpu-throttle.h (87%)

-- 
2.27.0
Re: [PATCH v4 0/6] migration: auto-converge refinements for huge VM
Posted by Peter Xu 4 days, 5 hours ago
On Thu, Oct 17, 2024 at 02:42:49PM +0800, yong.huang@smartx.com wrote:
> From: Hyman Huang <yong.huang@smartx.com>
> 
> v4:
> 1. split the [PATCH v3 1/6] into smaller patches.
> 2. refine some comment and commit message
> 3. fix race issue for the throttle_dirty_sync_timer
> 4. refine the util function cpu_throttle_dirty_sync_timer

queued, with a fixup squashed to patch 5 per discussion, thanks.

-- 
Peter Xu