All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: quintela@redhat.com
Cc: Peter Maydell <peter.maydell@linaro.org>,
	QEMU Developers <qemu-devel@nongnu.org>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Peter Xu <peterx@redhat.com>
Subject: Re: [Qemu-devel] [PULL 00/13] Migration PULL request
Date: Thu, 1 Feb 2018 14:10:34 +0100	[thread overview]
Message-ID: <00350681-0f68-0a85-b7b1-2001a01e0aa3@redhat.com> (raw)
In-Reply-To: <87d11r3lm0.fsf@secure.laptop>

On 30/01/2018 07:29, Juan Quintela wrote:
> Peter Maydell <peter.maydell@linaro.org> wrote:
>> On 29 January 2018 at 12:09, Juan Quintela <quintela@redhat.com> wrote:
>>> Hi
>>>
>>> - migrate_fd_connect cleanup (dave)
>>> - use MAX_VM_PACKAGED_SIZE
>>>   have to change (1<<32) for UINT32_MAX to get no warnings on win32
>>> - Use right s->threashord_size(wei)
>>> - patches reviewed from info/migrate, migration tests and multifd (me)
>>>
>>> Later, Juan.
>>>
>>> The following changes since commit 6233b4a8c2a32ef6955a921246fa08705bbb3676:
>>>
>>>   Merge remote-tracking branch
>>> 'remotes/ericb/tags/pull-nbd-2018-01-26' into staging (2018-01-26
>>> 17:29:14 +0000)
>>>
>>> are available in the Git repository at:
>>>
>>>   git://github.com/juanquintela/qemu.git tags/migration/20180129
>>>
>>> for you to fetch changes up to 4b6bb0a77761b8a906a540e927c7a9dde99bc10f:
>>>
>>>   tests: Adjust sleeps for migration test (2018-01-29 12:10:22 +0100)
>>>
>>> ----------------------------------------------------------------
>>> migration/next for 20180129
>>
>> Hi. On aarch32 host I get this assert in the tests:
>>
>> TEST: tests/migration-test... (pid=605)
>>   /ppc64/migration/deprecated:                                         OK
>>   /ppc64/migration/precopy/unix:                                       OK
>>   /ppc64/migration/postcopy/unix:                                      OK
>>   /ppc64/migration/xbzrle/unix:
>> Unexpected 32 on dest_serial serial
>> **
>> ERROR:/home/peter.maydell/qemu/tests/migration-test.c:218:wait_for_serial:
>> code should not be reached
> 
> 1st time I see a problem on the xbzrle test.  I can resent the pull
> without that patch, but that is a *test*, the problem is that we have a
> xbzrle problem on aarch32 that we didn't know about yet.
> 
> So I will just try to do the PULL request anyways.  I will try to get
> access to an arm32 system tomorrow and see what is going on.
> 
> Thanks for checking it.

I have tested this on ppc32 (G4@900MHz) and I found it never converges.

If I increase the downtime limit, it works:

--- a/tests/migration-test.c
+++ b/tests/migration-test.c
@@ -674,7 +674,7 @@ static void test_xbzrle(const char *uri)
     wait_for_migration_pass(from);

     /* 300ms should converge */
-    migrate_set_parameter(from, "downtime-limit", "300");
+    migrate_set_parameter(from, "downtime-limit", "2000");

The test is also disabled if USERFAULTFD is disabled in the kernel,
whereas it doesn't need it. You should update the "if
(!ufd_version_check())" part.

Thanks,
Laurent

      reply	other threads:[~2018-02-01 13:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-29 12:09 [Qemu-devel] [PULL 00/13] Migration PULL request Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 01/13] migration: Allow migrate_fd_connect to take an Error * Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 02/13] migration: Route errors down through migration_channel_connect Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 03/13] migration/savevm.c: set MAX_VM_CMD_PACKAGED_SIZE to 1ul << 32 Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 04/13] migration: use s->threshold_size inside migration_update_counters Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 05/13] migration: Drop current address parameter from save_zero_page() Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 06/13] tests: Remove deprecated migration tests commands Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 07/13] tests: Consolidate accelerators declaration Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 08/13] tests: Use consistent names for migration Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 09/13] tests: Add deprecated commands migration test Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 10/13] tests: Add migration precopy test Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 11/13] tests: Add migration xbzrle test Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 12/13] tests: Create migrate-start-postcopy command Juan Quintela
2018-01-29 12:09 ` [Qemu-devel] [PULL 13/13] tests: Adjust sleeps for migration test Juan Quintela
2018-01-29 18:53 ` [Qemu-devel] [PULL 00/13] Migration PULL request Peter Maydell
2018-01-30  6:29   ` Juan Quintela
2018-02-01 13:10     ` Laurent Vivier [this message]

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=00350681-0f68-0a85-b7b1-2001a01e0aa3@redhat.com \
    --to=lvivier@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@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.