Re: [RFC PATCH v1 1/2] vhost-vdpa: cache device status and features

2023-04-19 Thread Eugenio Perez Martin
On Tue, Apr 18, 2023 at 3:22 PM Shao-Chien Chiang wrote: > > After caching the device status and features, the latency is reduced by 0.059 > sec. Can you add more details? Like: * Initial and final time. * Times that you repeated the experiment to reach for valid means etc. And I think it is wo

[RFC PATCH v1 1/2] vhost-vdpa: cache device status and features

2023-04-18 Thread Shao-Chien Chiang
After caching the device status and features, the latency is reduced by 0.059 sec. Signed-off-by: Shao-Chien Chiang --- hw/virtio/vhost-vdpa.c | 16 ++-- include/hw/virtio/vhost-vdpa.h | 2 ++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/hw/virtio/vhost-v