From: Mike Christie <michael.christie@oracle.com>
To: fam@euphon.net, stefanha@redhat.com, jasowang@redhat.com,
mst@redhat.com, sgarzare@redhat.com, pbonzini@redhat.com,
qemu-devel@nongnu.org
Subject: [PATCH v2 0/2] vhost-scsi: Support worker ioctls
Date: Sun, 26 Nov 2023 18:28:32 -0600 [thread overview]
Message-ID: <20231127002834.8670-1-michael.christie@oracle.com> (raw)
The following patches allow users to configure the vhost worker threads
for vhost-scsi. With vhost-net we get a worker thread per rx/tx virtqueue
pair, but for vhost-scsi we get one worker for all workqueues. This
becomes a bottlneck after 2 queues are used.
In the upstream linux kernel commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/vhost/vhost.c?id=c1ecd8e9500797748ae4f79657971955d452d69d
we enabled the vhost layer to be able to create a worker thread and
attach it to a virtqueue.
This patchset adds support to vhost-scsi to use these ioctls so we are
no longer limited to the single worker.
v2:
- Make config option a bool instead of an int.
next reply other threads:[~2023-11-27 0:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-27 0:28 Mike Christie [this message]
2023-11-27 0:28 ` [PATCH v2 1/2] vhost: Add worker backend callouts Mike Christie
2023-11-29 9:26 ` Stefano Garzarella
2023-11-27 0:28 ` [PATCH v2 2/2] vhost-scsi: Add support for a worker thread per virtqueue Mike Christie
2023-11-29 9:30 ` Stefano Garzarella
2023-11-29 17:40 ` Mike Christie
2023-11-29 13:43 ` [PATCH v2 0/2] vhost-scsi: Support worker ioctls Stefan Hajnoczi
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=20231127002834.8670-1-michael.christie@oracle.com \
--to=michael.christie@oracle.com \
--cc=fam@euphon.net \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=sgarzare@redhat.com \
--cc=stefanha@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).