[openstack-dev] [nova] [RFC] how to enable xbzrle compress for live migration
John Garbutt
john at johngarbutt.com
Thu Nov 26 17:27:21 UTC 2015
On 26 November 2015 at 15:55, 少合冯 <lvmxhster at gmail.com> wrote:
> Hi all,
> We want to support xbzrle compress for live migration.
>
> Now there are 3 options,
> 1. add the enable flag in nova.conf.
> such as a dedicated 'live_migration_compression=on|off" parameter in
> nova.conf.
> And nova simply enable it.
> seems not good.
> 2. add a parameters in live migration API.
>
> A new array compress will be added as optional, the json-schema as below::
>
> {
> 'type': 'object',
> 'properties': {
> 'os-migrateLive': {
> 'type': 'object',
> 'properties': {
> 'block_migration': parameter_types.boolean,
> 'disk_over_commit': parameter_types.boolean,
> 'compress': {
> 'type': 'array',
> 'items': ["xbzrle"],
> },
> 'host': host
> },
> 'additionalProperties': False,
> },
> },
> 'required': ['os-migrateLive'],
> 'additionalProperties': False,
> }
>
>
> 3. dynamically choose when to activate xbzrle compress for live migration.
> This is the best.
> xbzrle really wants to be used if the network is not able to keep up
> with the dirtying rate of the guest RAM.
> But how do I check the coming migration fit this situation?
>
>
> REF:
> https://review.openstack.org/#/c/248465/
I have added my comments in the review.
I really don't want to have a REST API that is so specific as this, if
at all possible.
Nova aims to create a consistent API abstraction across all Nova clouds.
Suggested alternatives in the spec review.
Thanks,
johnthetubaguy
More information about the OpenStack-dev
mailing list