From: Juan Quintela <quintela@redhat.com>
To: Balamuruhan S <bala24@linux.vnet.ibm.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PULL 16/16] migration: fix crash in when incoming client channel setup fails
Date: Thu, 28 Jun 2018 13:06:25 +0200 [thread overview]
Message-ID: <87h8lnw4pa.fsf@secure.laptop> (raw)
In-Reply-To: <20180628095547.GA24412@localhost.localdomain> (Balamuruhan S.'s message of "Thu, 28 Jun 2018 15:25:47 +0530")
Balamuruhan S <bala24@linux.vnet.ibm.com> wrote:
> On Wed, Jun 27, 2018 at 02:56:04PM +0200, Juan Quintela wrote:
>> From: Daniel P. Berrangé <berrange@redhat.com>
....
> Hi Juan,
>
> I tried to perform multifd enabled migration and from qemu monitor
> enabled mutlifd capability on source and target,
> (qemu) migrate_set_capability x-multifd on
> (qemu) migrate -d tcp:127.0.0.1:4444
>
> The migration succeeds and its cool to have the feature :)
Thanks.
> (qemu) info migrate
> globals:
> store-global-state: on
> only-migratable: off
> send-configuration: on
> send-section-footer: on
> decompress-error-check: on
> capabilities: xbzrle: off rdma-pin-all: off auto-converge: off
> zero-blocks: off compress: off events: off postcopy-ram: off x-colo:
> off release-ram: off block: off return-path: off
> pause-before-switchover: off x-multifd: on dirty-bitmaps: off
> postcopy-blocktime: off late-block-activate: off
> Migration status: completed
> total time: 1051 milliseconds
> downtime: 260 milliseconds
> setup: 17 milliseconds
> transferred ram: 8270 kbytes
What is your setup? This value looks really small. I can see that you
have 4GB of RAM, it should be a bit higher. And setup time is also
quite low from my experience.
> throughput: 143.91 mbps
I don't know what networking are you using, but my experience is that
increasing packet_count to 64 or so helps a lot to increase bandwidth.
What is your networking, page_count and number of channels?
> remaining ram: 0 kbytes
> total ram: 4194560 kbytes
> duplicate: 940989 pages
> skipped: 0 pages
> normal: 109635 pages
> normal bytes: 438540 kbytes
> dirty sync count: 3
> page size: 4 kbytes
>
>
> But when I just enable the multifd in souce but not in target
>
> source:
> x-multifd: on
>
> target:
> x-multifd: off
>
> when migration is triggered with,
> migrate -d tcp:127.0.0.1:4444 (port I used)
>
> The VM is lost in source with Segmentation fault.
>
> I think the correct way is to enable multifd on both source and target
> similar to postcopy, but in this negative scenario we should consider
> the right way of handling not to loose the VM instead error out
> appropriately.
It is necesary to enable both sides. And it "used" to be that it
dectected correctly when it was not enable on one of the sides. Check
should be lost in some rebase, or any other change.
Will take a look.
> Please correct me if I miss something.
Sure, thanks for the report.
Later, Juan.
next prev parent reply other threads:[~2018-06-28 11:03 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-27 12:55 [Qemu-devel] [PULL 00/16] Migration Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 01/16] migration: Create multipage support Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 02/16] migration: Create multifd packet Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 03/16] migration: Calculate mbps only during transfer time Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 04/16] migration: Abstract the number of bytes sent Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 05/16] migration: Add multifd traces for start/end thread Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 06/16] migration: Multifd channels always wait on the sem Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 07/16] migration: Add block where to send/receive packets Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 08/16] migration: Synchronize multifd threads with main thread Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 09/16] migration: Create multifd_bytes ram_counter Juan Quintela
2018-06-27 12:55 ` [Qemu-devel] [PULL 10/16] migration: Create ram_save_multifd_page Juan Quintela
2018-07-06 10:57 ` Peter Maydell
2018-06-27 12:55 ` [Qemu-devel] [PULL 11/16] migration: Start sending messages Juan Quintela
2018-06-27 12:56 ` [Qemu-devel] [PULL 12/16] migration: Wait for blocking IO Juan Quintela
2018-06-27 12:56 ` [Qemu-devel] [PULL 13/16] migration: Remove not needed semaphore and quit Juan Quintela
2018-06-27 12:56 ` [Qemu-devel] [PULL 14/16] migration: Stop sending whole pages through main channel Juan Quintela
2018-06-27 12:56 ` [Qemu-devel] [PULL 15/16] postcopy: drop ram_pages parameter from postcopy_ram_incoming_init() Juan Quintela
2018-06-27 12:56 ` [Qemu-devel] [PULL 16/16] migration: fix crash in when incoming client channel setup fails Juan Quintela
2018-06-28 9:55 ` Balamuruhan S
2018-06-28 11:06 ` Juan Quintela [this message]
2018-06-29 9:11 ` Balamuruhan S
2018-06-28 15:28 ` [Qemu-devel] [PULL 00/16] Migration Peter Maydell
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=87h8lnw4pa.fsf@secure.laptop \
--to=quintela@redhat.com \
--cc=bala24@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/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.