Skip to content

virtio-fs: introduce multi-queue support

Peter-Jan Gootzen virtualization 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2virtio-fs: limit number of request queuesfs/fuse/virtio_fs.c+3 -04 replies
2/2virtio-fs: add multi-queue supportfs/fuse/virtio_fs.c+62 -88 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMax GurtovoyStefan HajnocziMichael S. Tsirkin
SeriesR-b A-b
1/2R-b R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] virtio-fs: introduce multi-queue support

In this patch set we are adding multi-queue support in the virtio-fs driver to enhance performance.
While multi-queue functionality has been in the virtio-fs specification since its inception, the current implementation in the Linux kernel creates multiple queues, but only enqueues requests on the first request queue.

The first commit in this patch set limits the number of request queues to the number of CPUs in the system, to reduce unnecessary resource consumption on the device-side.
The second commit adds a multi queue mapping to the virtio-fs device driver that is created using MSI-X affinity mappings or, in case of no existing mappings, by evenly grouping the CPUs and dividing the queues over these groups.

Future work in this direction could include:
- CPU hotplug support
- In case of no MSI-X, using the created multi-queue mapping to set interrupt affinities

See the commit message of the second patch for performance results.

Peter-Jan Gootzen (2):
virtio-fs: limit number of request queues
virtio-fs: add multi-queue support

 fs/fuse/virtio_fs.c | 73 ++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 65 insertions(+), 8 deletions(-)
Signature · 1 line
2.34.1