[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 15/23] migration/multifd: Allow receiving pages without pa
From: |
Peter Xu |
Subject: |
Re: [PATCH v5 15/23] migration/multifd: Allow receiving pages without packets |
Date: |
Thu, 29 Feb 2024 10:28:28 +0800 |
On Wed, Feb 28, 2024 at 12:21:19PM -0300, Fabiano Rosas wrote:
> Currently multifd does not need to have knowledge of pages on the
> receiving side because all the information needed is within the
> packets that come in the stream.
>
> We're about to add support to mapped-ram migration, which cannot use
> packets because it expects the ramblock section in the migration file
> to contain only the guest pages data.
>
> Add a data structure to transfer pages between the ram migration code
> and the multifd receiving threads.
>
> We don't want to reuse MultiFDPages_t for two reasons:
>
> a) multifd threads don't really need to know about the data they're
> receiving.
>
> b) the receiving side has to be stopped to load the pages, which means
> we can experiment with larger granularities than page size when
> transferring data.
>
> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Peter Xu <peterx@redhat.com>
--
Peter Xu
- [PATCH v5 05/23] io: fsync before closing a file channel, (continued)
- [PATCH v5 05/23] io: fsync before closing a file channel, Fabiano Rosas, 2024/02/28
- [PATCH v5 07/23] migration/ram: Introduce 'mapped-ram' migration capability, Fabiano Rosas, 2024/02/28
- [PATCH v5 06/23] migration/qemu-file: add utility methods for working with seekable channels, Fabiano Rosas, 2024/02/28
- [PATCH v5 09/23] migration/ram: Add outgoing 'mapped-ram' migration, Fabiano Rosas, 2024/02/28
- [PATCH v5 08/23] migration: Add mapped-ram URI compatibility check, Fabiano Rosas, 2024/02/28
- [PATCH v5 11/23] tests/qtest/migration: Add tests for mapped-ram file-based migration, Fabiano Rosas, 2024/02/28
- [PATCH v5 12/23] migration/multifd: Rename MultiFDSend|RecvParams::data to compress_data, Fabiano Rosas, 2024/02/28
- [PATCH v5 13/23] migration/multifd: Decouple recv method from pages, Fabiano Rosas, 2024/02/28
- [PATCH v5 15/23] migration/multifd: Allow receiving pages without packets, Fabiano Rosas, 2024/02/28
- Re: [PATCH v5 15/23] migration/multifd: Allow receiving pages without packets,
Peter Xu <=
- [PATCH v5 14/23] migration/multifd: Allow multifd without packets, Fabiano Rosas, 2024/02/28
- [PATCH v5 10/23] migration/ram: Add incoming 'mapped-ram' migration, Fabiano Rosas, 2024/02/28
- [PATCH v5 16/23] migration/multifd: Add a wrapper for channels_created, Fabiano Rosas, 2024/02/28
- [PATCH v5 17/23] migration/multifd: Add outgoing QIOChannelFile support, Fabiano Rosas, 2024/02/28