[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page
From: |
Michael S. Tsirkin |
Subject: |
Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration. |
Date: |
Mon, 15 Jul 2024 12:24:23 -0400 |
On Mon, Jul 15, 2024 at 03:57:42PM +0000, Liu, Yuan1 wrote:
> > > > > > > > that is 23% total CPU usage savings.
> > > > > > >
> > > > > > >
> > > > > > > Here the DSA was mostly idle.
> > > > > > >
> > > > > > > Sounds good but a question: what if several qemu instances are
> > > > > > > migrated in parallel?
> > > > > > >
> > > > > > > Some accelerators tend to basically stall if several tasks
> > > > > > > are trying to use them at the same time.
> > > > > > >
> > > > > > > Where is the boundary here?
>
> If I understand correctly, you are concerned that in some scenarios the
> accelerator itself is the migration bottleneck, causing the migration
> performance
> to be degraded.
>
> My understanding is to make full use of the accelerator bandwidth, and once
> the accelerator is the bottleneck, it will fall back to zero-page detection
> by the CPU.
>
> For example, when the enqcmd command returns an error which means the work
> queue
> is full, then we can add some retry mechanisms or directly use CPU detection.
How is it handled in your patch? If you just abort migration unless
enqcmd succeeds then would that not be a bug, where loading the system
leads to migraton failures?
--
MST
- Re: [PATCH v5 08/13] migration/multifd: Add new migration option for multifd DSA offloading., (continued)
- [PATCH v5 09/13] migration/multifd: Prepare to introduce DSA acceleration on the multifd path., Yichen Wang, 2024/07/11
- Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Michael S. Tsirkin, 2024/07/11
- RE: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Liu, Yuan1, 2024/07/15
- Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Michael S. Tsirkin, 2024/07/15
- RE: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Liu, Yuan1, 2024/07/15
- Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Michael S. Tsirkin, 2024/07/15
- RE: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Liu, Yuan1, 2024/07/15
- RE: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Liu, Yuan1, 2024/07/15
- Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration.,
Michael S. Tsirkin <=
- RE: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Liu, Yuan1, 2024/07/15
- Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Michael S. Tsirkin, 2024/07/15
- RE: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Liu, Yuan1, 2024/07/15
Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Michael S. Tsirkin, 2024/07/12
Re: [PATCH v5 00/13] WIP: Use Intel DSA accelerator to offload zero page checking in multifd live migration., Fabiano Rosas, 2024/07/16