From: "Alex Bennée" <alex.bennee@linaro.org>
To: "Dr. David Alan Gilbert \(git\)" <dgilbert@redhat.com>
Cc: thuth@redhat.com, qemu-devel@nongnu.org, peterx@redhat.com,
quintela@redhat.com
Subject: Re: [PATCH 2/2] tests/migration/postcopy: trim migration bandwidth
Date: Mon, 23 Sep 2019 17:15:37 +0100 [thread overview]
Message-ID: <87tv93at06.fsf@linaro.org> (raw)
In-Reply-To: <20190923131022.15498-3-dgilbert@redhat.com>
Dr. David Alan Gilbert (git) <dgilbert@redhat.com> writes:
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>
> On slow hosts with tcg we were sometimes finding that the migration
> would complete during precopy and never get into the postcopy test.
> Trim back the bandwidth a bit to make that much less likely.
>
> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> tests/migration-test.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/migration-test.c b/tests/migration-test.c
> index 9c62ee5331..221a33d083 100644
> --- a/tests/migration-test.c
> +++ b/tests/migration-test.c
> @@ -753,7 +753,7 @@ static int migrate_postcopy_prepare(QTestState **from_ptr,
> * quickly, but that it doesn't complete precopy even on a slow
> * machine, so also set the downtime.
> */
> - migrate_set_parameter_int(from, "max-bandwidth", 100000000);
> + migrate_set_parameter_int(from, "max-bandwidth", 30000000);
> migrate_set_parameter_int(from, "downtime-limit", 1);
>
> /* Wait for the first serial output from the source */
--
Alex Bennée
next prev parent reply other threads:[~2019-09-23 16:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-23 13:10 [PATCH 0/2] migration test tweeks Dr. David Alan Gilbert (git)
2019-09-23 13:10 ` [PATCH 1/2] tests/migration: Fail on unexpected migration states Dr. David Alan Gilbert (git)
2019-09-23 14:12 ` Cleber Rosa
2019-09-23 16:20 ` Alex Bennée
2019-09-24 7:24 ` Juan Quintela
2019-09-23 13:10 ` [PATCH 2/2] tests/migration/postcopy: trim migration bandwidth Dr. David Alan Gilbert (git)
2019-09-23 14:14 ` Cleber Rosa
2019-09-23 16:15 ` Alex Bennée [this message]
2019-09-24 7:25 ` Juan Quintela
2019-09-23 13:24 ` [PATCH 0/2] migration test tweeks Peter Xu
2019-09-23 13:36 ` Dr. David Alan Gilbert
2019-09-25 10:35 ` Dr. David Alan Gilbert
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=87tv93at06.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=dgilbert@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=thuth@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.