qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] vhost-scsi: Support worker ioctls
@ 2023-11-14  0:36 Mike Christie
  2023-11-14  0:36 ` [PATCH 1/2] vhost: Add worker backend callouts Mike Christie
  2023-11-14  0:36 ` [PATCH 2/2] vhost-scsi: Add support for a worker thread per virtqueue Mike Christie
  0 siblings, 2 replies; 8+ messages in thread
From: Mike Christie @ 2023-11-14  0:36 UTC (permalink / raw)
  To: fam, stefanha, jasowang, mst, sgarzare, pbonzini, qemu-devel

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.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-11-15 17:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-14  0:36 [PATCH 0/2] vhost-scsi: Support worker ioctls Mike Christie
2023-11-14  0:36 ` [PATCH 1/2] vhost: Add worker backend callouts Mike Christie
2023-11-14  0:36 ` [PATCH 2/2] vhost-scsi: Add support for a worker thread per virtqueue Mike Christie
2023-11-15 11:43   ` Stefano Garzarella
2023-11-15 12:57     ` Stefan Hajnoczi
2023-11-15 16:56       ` Mike Christie
2023-11-15 17:24         ` Stefan Hajnoczi
2023-11-15 16:48     ` Mike Christie

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).