qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 3c0227: Introduce async_run_on_cpu()


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 3c0227: Introduce async_run_on_cpu()
Date: Mon, 15 Jul 2013 14:00:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 3c02270db980007424d797506301826310ce2db4
      
https://github.com/qemu/qemu/commit/3c02270db980007424d797506301826310ce2db4
  Author: Chegu Vinod <address@hidden>
  Date:   2013-07-12 (Fri, 12 Jul 2013)

  Changed paths:
    M cpus.c
    M include/qemu-common.h
    M include/qom/cpu.h

  Log Message:
  -----------
  Introduce async_run_on_cpu()

Introduce an asynchronous version of run_on_cpu() i.e. the caller
doesn't have to block till the call back routine finishes execution
on the target vcpu.

Signed-off-by: Chegu Vinod <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: bde1e2ec2176c363c1783bf8887b6b1beb08dfee
      
https://github.com/qemu/qemu/commit/bde1e2ec2176c363c1783bf8887b6b1beb08dfee
  Author: Chegu Vinod <address@hidden>
  Date:   2013-07-12 (Fri, 12 Jul 2013)

  Changed paths:
    M include/migration/migration.h
    M migration.c
    M qapi-schema.json

  Log Message:
  -----------
  Add 'auto-converge' migration capability

The auto-converge migration capability allows the user to specify if they
choose live migration seqeunce to automatically detect and force convergence.

Signed-off-by: Chegu Vinod <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 7ca1dfad952d8a8655b32e78623edcc38a51b14a
      
https://github.com/qemu/qemu/commit/7ca1dfad952d8a8655b32e78623edcc38a51b14a
  Author: Chegu Vinod <address@hidden>
  Date:   2013-07-12 (Fri, 12 Jul 2013)

  Changed paths:
    M arch_init.c
    M trace-events

  Log Message:
  -----------
  Force auto-convegence of live migration

If a user chooses to turn on the auto-converge migration capability
these changes detect the lack of convergence and throttle down the
guest. i.e. force the VCPUs out of the guest for some duration
and let the migration thread catchup and help converge.

Verified the convergence using the following :
 - Java Warehouse workload running on a 20VCPU/256G guest(~80% busy)
 - OLTP like workload running on a 80VCPU/512G guest (~80% busy)

Sample results with Java warehouse workload : (migrate speed set to 20Gb and
migrate downtime set to 4seconds).

 (qemu) info migrate
 capabilities: xbzrle: off auto-converge: off  <----
 Migration status: active
 total time: 1487503 milliseconds
 expected downtime: 519 milliseconds
 transferred ram: 383749347 kbytes
 remaining ram: 2753372 kbytes
 total ram: 268444224 kbytes
 duplicate: 65461532 pages
 skipped: 64901568 pages
 normal: 95750218 pages
 normal bytes: 383000872 kbytes
 dirty pages rate: 67551 pages

 ---

 (qemu) info migrate
 capabilities: xbzrle: off auto-converge: on   <----
 Migration status: completed
 total time: 241161 milliseconds
 downtime: 6373 milliseconds
 transferred ram: 28235307 kbytes
 remaining ram: 0 kbytes
 total ram: 268444224 kbytes
 duplicate: 64946416 pages
 skipped: 64903523 pages
 normal: 7044971 pages
 normal bytes: 28179884 kbytes

Signed-off-by: Chegu Vinod <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>


  Commit: 6453a3a69488196f26d12654c6b148446abdf3d6
      
https://github.com/qemu/qemu/commit/6453a3a69488196f26d12654c6b148446abdf3d6
  Author: Anthony Liguori <address@hidden>
  Date:   2013-07-15 (Mon, 15 Jul 2013)

  Changed paths:
    M arch_init.c
    M cpus.c
    M include/migration/migration.h
    M include/qemu-common.h
    M include/qom/cpu.h
    M migration.c
    M qapi-schema.json
    M trace-events

  Log Message:
  -----------
  Merge remote-tracking branch 'quintela/migration.next' into staging

# By Chegu Vinod
# Via Juan Quintela
* quintela/migration.next:
  Force auto-convegence of live migration
  Add 'auto-converge' migration capability
  Introduce async_run_on_cpu()

Message-id: address@hidden
Signed-off-by: Anthony Liguori <address@hidden>


Compare: https://github.com/qemu/qemu/compare/2562becfc126...6453a3a69488

reply via email to

[Prev in Thread] Current Thread [Next in Thread]