[openstack-dev] [nova] [RFC] how to enable xbzrle compress for live migration

少合冯 lvmxhster at gmail.com
Thu Nov 26 15:55:31 UTC 2015


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/


BR
Shaohe Feng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151126/4d2e4d12/attachment.html>


More information about the OpenStack-dev mailing list