Re: [PATCH v3 2/3] vhost: configure all host notifiers in a single MR transaction

2022-12-28 Thread longpeng2--- via
在 2022/12/28 21:12, Philippe Mathieu-Daudé 写道: On 27/12/22 18:54, Michael S. Tsirkin wrote: On Tue, Dec 27, 2022 at 05:43:57PM +0100, Philippe Mathieu-Daudé wrote: On 27/12/22 08:20, Longpeng(Mike) wrote: From: Longpeng This allows the vhost device to batch the setup of all its host noti

Re: [PATCH v3 2/3] vhost: configure all host notifiers in a single MR transaction

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

Re: [PATCH v3 2/3] vhost: configure all host notifiers in a single MR transaction

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

Re: [PATCH v3 2/3] vhost: configure all host notifiers 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 device to batch the setup of all its host notifiers. This significantly reduces the device starting time, e.g. the time spend on enabling notifiers reduce from 376ms to 9.1ms for a VM with 64 vCPUs and 3 vhost-vDPA ge

[PATCH v3 2/3] vhost: configure all host notifiers in a single MR transaction

2022-12-26 Thread Longpeng(Mike)
From: Longpeng This allows the vhost device to batch the setup of all its host notifiers. This significantly reduces the device starting time, e.g. the time spend on enabling notifiers reduce from 376ms to 9.1ms for a VM with 64 vCPUs and 3 vhost-vDPA generic devices (vdpa_sim_blk, 64vq per devic