On 9/29/23 12:38, Maxime Coquelin wrote:
Guest notifications offloading, which has been introduced
in v23.07, aims at offloading syscalls out of the datapath.

This patch optimizes the offloading by not offloading the
guest notification for a given virtqueue if one is already
being offloaded by the application.

With a single VDUSE device, we can already see few
notifications being suppressed when doing throughput
testing with Iperf3. We can expect to see much more being
suppressed when the offloading thread is under pressure.

Signed-off-by: Maxime Coquelin <maxime.coque...@redhat.com>
---

v3: s/0/false/ (David)

  lib/vhost/vhost.c |  4 ++++
  lib/vhost/vhost.h | 27 +++++++++++++++++++++------
  2 files changed, 25 insertions(+), 6 deletions(-)

Applied to nex-virtio/for-next-net.

Thanks,
Maxime

Reply via email to