All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shao-Chien Chiang <ray90514@gmail.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: qemu-devel@nongnu.org, Shao-Chien Chiang <ray90514@gmail.com>
Subject: [RFC PATCH v1 0/2] vhost-vdpa: cache Virtio states
Date: Tue, 18 Apr 2023 21:01:05 +0800	[thread overview]
Message-ID: <cover.1681819697.git.ray90514@gmail.com> (raw)
In-Reply-To: <20230414025721.10219-1-ray90514@gmail.com>

Repetitive ioctls makes vdpa devices initialization and startup slow.
This patch series is to cache Virtio status, features, and config.
For each latency test, I use vdpa-sim-net as my vdpa device.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1579

Shao-Chien Chiang (2):
  vhost-vdpa: cache device status and features
  vhost-vdpa: cache device config

 hw/virtio/vhost-vdpa.c         | 60 ++++++++++++++++++++++++++--------
 include/hw/virtio/vhost-vdpa.h |  4 +++
 2 files changed, 50 insertions(+), 14 deletions(-)

-- 
2.25.1



  parent reply	other threads:[~2023-04-18 13:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14  2:57 [RFC PATCH] vhost-vdpa: cache Virtio states Shao-Chien Chiang
2023-04-14 10:22 ` Eugenio Perez Martin
2023-04-18 13:01 ` Shao-Chien Chiang [this message]
2023-04-18 13:01   ` [RFC PATCH v1 1/2] vhost-vdpa: cache device status and features Shao-Chien Chiang
2023-04-19 16:08     ` Eugenio Perez Martin
2023-04-18 13:01   ` [RFC PATCH v1 2/2] vhost-vdpa: cache device config Shao-Chien Chiang
2023-04-19 17:06     ` Eugenio Perez Martin
2023-04-19 16:05   ` [RFC PATCH v1 0/2] vhost-vdpa: cache Virtio states Eugenio Perez Martin
2023-04-22  6:38   ` Shao-Chien Chiang
2023-04-24  7:04     ` Eugenio Perez Martin
2023-04-24 14:05       ` Shao-Chien Chiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1681819697.git.ray90514@gmail.com \
    --to=ray90514@gmail.com \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.