qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch v2 6/6] migration/postcopy: enable compress during postcopy


From: Juan Quintela
Subject: Re: [Patch v2 6/6] migration/postcopy: enable compress during postcopy
Date: Thu, 09 Jan 2020 10:44:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Wei Yang <address@hidden> wrote:
> postcopy requires to place a whole host page, while migration thread
> migrate memory in target page size. This makes postcopy need to collect
> all target pages in one host page before placing via userfaultfd.
>
> To enable compress during postcopy, there are two problems to solve:
>
>     1. Random order for target page arrival
>     2. Target pages in one host page arrives without interrupt by target
>        page from other host page
>
> The first one is handled by previous cleanup patch.
>
> This patch handles the second one by:
>
>     1. Flush compress thread for each host page
>     2. Wait for decompress thread for before placing host page
>
> Signed-off-by: Wei Yang <address@hidden>
> Reviewed-by: Dr. David Alan Gilbert <address@hidden>

Reviewed-by: Juan Quintela <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]