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
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to