On 8/31/23 16:44, 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>
---
  lib/vhost/vhost.c |  4 ++++
  lib/vhost/vhost.h | 27 +++++++++++++++++++++------
  2 files changed, 25 insertions(+), 6 deletions(-)


No functionnal change in the V2, just rebased so that CI can apply.

Maxime

Reply via email to