From: Eric Blake <eblake@redhat.com>
To: Juan Quintela <quintela@redhat.com>, qemu-devel@nongnu.org
Cc: Yang Zhang <yang.z.zhang@intel.com>, Liang Li <liang.z.li@intel.com>
Subject: Re: [Qemu-devel] [PULL 12/15] migration: Use an array instead of 3 parameters
Date: Wed, 06 May 2015 13:09:29 -0600 [thread overview]
Message-ID: <554A66E9.80909@redhat.com> (raw)
In-Reply-To: <1430934604-18207-13-git-send-email-quintela@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1897 bytes --]
On 05/06/2015 11:50 AM, Juan Quintela wrote:
> From: Liang Li <liang.z.li@intel.com>
>
> Put the three parameters related to multiple thread (de)compression
> into an int array, and use an enum type to index the parameter.
>
> Signed-off-by: Liang Li <liang.z.li@intel.com>
> Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
> Signed-off-by: Juan Quintela <quintela@redhat.com>
> ---
> include/migration/migration.h | 4 +---
> migration/migration.c | 31 +++++++++++++++++++------------
> qapi-schema.json | 23 +++++++++++++++++++++++
> 3 files changed, 43 insertions(+), 15 deletions(-)
>
> +++ b/qapi-schema.json
> @@ -569,6 +569,29 @@
> ##
> { 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']}
>
> +# @MigrationParameter
> +#
> +# Migration parameters enumeration
> +#
> +# @compress-level: Set the compression level to be used in live migration,
> +# the compression level is an integer between 0 and 9, where 0 means
> +# no compression, 1 means the best compression speed, and 9 means best
> +# compression ratio which will consume more CPU.
> +#
> +# @compress-threads: Set compression thread count to be used in live migration,
> +# the compression thread count is an integer between 1 and 255.
> +#
> +# @decompress-threads: Set decompression thread count to be used in live
> +# migration, the decompression thread count is an integer between 1
> +# and 255. Usually, decompression is at least 4 times as fast as
> +# compression, so set the decompress-threads to the number about 1/4
> +# of compress-threads is adequate.
> +#
> +# Since: 2.3
s/2.3/2.4/ (okay as part of the followup patch)
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2015-05-06 19:09 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-06 17:49 [Qemu-devel] [PULL 00/15] migration pull request Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 01/15] docs: Add a doc about multiple thread compression Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 02/15] migration: Add the framework of multi-thread compression Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 03/15] migration: Add the framework of multi-thread decompression Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 04/15] qemu-file: Add compression functions to QEMUFile Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 05/15] arch_init: Alloc and free data struct for compression Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 06/15] arch_init: Add and free data struct for decompression Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 07/15] migration: Split save_zero_page from ram_save_page Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 08/15] migration: Add the core code of multi-thread compression Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 09/15] migration: Make compression co-work with xbzrle Juan Quintela
2015-05-06 17:49 ` [Qemu-devel] [PULL 10/15] migration: Add the core code for decompression Juan Quintela
2015-05-06 17:50 ` [Qemu-devel] [PULL 11/15] migration: Add interface to control compression Juan Quintela
2015-05-06 19:09 ` Eric Blake
2015-05-06 17:50 ` [Qemu-devel] [PULL 12/15] migration: Use an array instead of 3 parameters Juan Quintela
2015-05-06 19:09 ` Eric Blake [this message]
2015-05-06 17:50 ` [Qemu-devel] [PULL 13/15] migration: Add qmp commands to set and query parameters Juan Quintela
2015-05-06 19:10 ` Eric Blake
2015-05-06 17:50 ` [Qemu-devel] [PULL 14/15] migration: Add hmp interface " Juan Quintela
2015-05-06 17:50 ` [Qemu-devel] [PULL 15/15] migration: avoid divide by zero in xbzrle cache miss rate Juan Quintela
2015-05-06 18:37 ` [Qemu-devel] [PULL 00/15] migration pull request Peter Maydell
2015-05-06 19:11 ` Eric Blake
2015-05-07 11:37 ` Juan Quintela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=554A66E9.80909@redhat.com \
--to=eblake@redhat.com \
--cc=liang.z.li@intel.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=yang.z.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).