qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd


From: Prasad Pandit
Subject: Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd
Date: Fri, 24 Jan 2025 18:15:20 +0530

Hello Peter,

On Thu, 23 Jan 2025 at 16:39, Prasad Pandit <ppandit@redhat.com> wrote:
> On Wed, 22 Jan 2025 at 21:40, Peter Xu <peterx@redhat.com> wrote:
> > I believe many of the tests can be avoided, but still below is a list of
> > minimum tests that I think might still be good to add:
> >         # /x86_64/migration/postcopy/plain
> >         # /x86_64/migration/postcopy/recovery/tls/psk
> >         # /x86_64/migration/postcopy/preempt/plain
> >         # /x86_64/migration/postcopy/preempt/recovery/tls/psk
---
$ ../qtest/migration-test --tap -k -r
'/x86_64/migration/multifd+postcopy' | grep -i 'slow test'
# slow test /x86_64/migration/multifd+postcopy/plain executed in 1.28 secs
# slow test /x86_64/migration/multifd+postcopy/recovery/tls/psk
executed in 2.43 secs
# slow test /x86_64/migration/multifd+postcopy/preempt/plain executed
in 1.52 secs
# slow test /x86_64/migration/multifd+postcopy/preempt/recovery/tls/psk
executed in 3.32 secs
---
* Postcopy tests are working well with setting 'multifd = true'.

> >         # /x86_64/migration/multifd/tcp/tls/psk/match
> >         # /x86_64/migration/multifd/tcp/plain/zstd
> >         # /x86_64/migration/multifd/tcp/plain/cancel

* Above precopy tests already enable (16) multifd channels and they
seem to test scenarios like: resume after migrate_cancel() or precopy
with compression (zstd). Enabling 'postcopy' here is not the same as
setting 'postcopy=true'. Do we really need to redefine these tests for
postcopy migration? Does compression (zstd/zlib etc.) OR
migrate_cancle() work with 'postcopy' migration? Just trying to figure
out how a 'multifd+postcopy/tcp/zstd'  or
'multifd+postcopy/tcp/cancel'  tests should work.

Thank you.
---
  - Prasad




reply via email to

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