[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
- [PATCH v3 0/4] Allow to enable multifd and postcopy migration together, Prasad Pandit, 2025/01/21
- [PATCH v3 1/4] migration/multifd: move macros to multifd header, Prasad Pandit, 2025/01/21
- [PATCH v3 2/4] migration: refactor ram_save_target_page functions, Prasad Pandit, 2025/01/21
- [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd, Prasad Pandit, 2025/01/21
- Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd, Peter Xu, 2025/01/21
- Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd, Prasad Pandit, 2025/01/22
- Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd, Peter Xu, 2025/01/22
- Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd, Prasad Pandit, 2025/01/23
- Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd,
Prasad Pandit <=
- Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd, Peter Xu, 2025/01/24
- Re: [PATCH v3 4/4] tests/qtest/migration: add postcopy test with multifd, Prasad Pandit, 2025/01/25
[PATCH v3 3/4] migration: enable multifd and postcopy together, Prasad Pandit, 2025/01/21
Re: [PATCH v3 0/4] Allow to enable multifd and postcopy migration together, Peter Xu, 2025/01/21