Re: [PATCH v3 3/3] vdpa: commit all host notifier MRs in a single MR transaction

2022-12-28 Thread Philippe Mathieu-Daudé
On 27/12/22 18:56, Michael S. Tsirkin wrote: On Tue, Dec 27, 2022 at 05:51:47PM +0100, Philippe Mathieu-Daudé wrote: On 27/12/22 08:20, Longpeng(Mike) wrote: From: Longpeng This allows the vhost-vdpa device to batch the setup of all its MRs of host notifiers. This significantly reduces the d

Re: [PATCH v3 3/3] vdpa: commit all host notifier MRs in a single MR transaction

2022-12-27 Thread Michael S. Tsirkin
On Tue, Dec 27, 2022 at 05:51:47PM +0100, Philippe Mathieu-Daudé wrote: > On 27/12/22 08:20, Longpeng(Mike) wrote: > > From: Longpeng > > > > This allows the vhost-vdpa device to batch the setup of all its MRs of > > host notifiers. > > > > This significantly reduces the device starting time, e.

Re: [PATCH v3 3/3] vdpa: commit all host notifier MRs in a single MR transaction

2022-12-27 Thread Philippe Mathieu-Daudé
On 27/12/22 08:20, Longpeng(Mike) wrote: From: Longpeng This allows the vhost-vdpa device to batch the setup of all its MRs of host notifiers. This significantly reduces the device starting time, e.g. the time spend on setup the host notifier MRs reduce from 423ms to 32ms for a VM with 64 vCPU

[PATCH v3 3/3] vdpa: commit all host notifier MRs in a single MR transaction

2022-12-26 Thread Longpeng(Mike)
From: Longpeng This allows the vhost-vdpa device to batch the setup of all its MRs of host notifiers. This significantly reduces the device starting time, e.g. the time spend on setup the host notifier MRs reduce from 423ms to 32ms for a VM with 64 vCPUs and 3 vhost-vDPA generic devices (vdpa_si