[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Sorensen resolved CLOUDSTACK-6203.
-----------------------------------------

    Resolution: Fixed

added agent.properties tunables. The commit is based on 4.2 code we've been 
running in production for awhile.

# set target downtime at end of livemigration, the 'hiccup' for final copy. 
Higher numbers
# make livemigration easier, lower numbers may cause migration to never 
complete. Less than 1
# means hypervisor default (20ms).
#vm.migrate.downtime=0

# Busy VMs may never finish migrating, depending on environment. When its 
available, we will
# want to add support for autoconvergence migration flag which should fix this. 
Set an upper
# limit in seconds for how long live migration should wait, at which point VM 
is paused and
# migration will finish quickly.  Less than 1 means disabled.
#vm.migrate.pauseafter=0

> KVM live migration improvement
> ------------------------------
>
>                 Key: CLOUDSTACK-6203
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6203
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>            Reporter: Marcus Sorensen
>            Assignee: Marcus Sorensen
>             Fix For: 4.4.0
>
>
> Run the KVM live migration in a thread so we can monitor it. This will allow 
> us to see how long migrations are taking and do things like pause the vm if 
> migration is stalling (per user defined time limit) to quickly complete 
> migration, or set the domain's max downtime during cut-over between machines 
> (higher values make migration of busy vms easier, lower values may make 
> migration stall).  In the future we can add the autoconvergence flag that 
> stalls VMs for a few ticks to allow memory copy to catch up, but it will be 
> awhile before libvirt that's shipped in a distro supports it, so these 
> tunables may be useful now.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to