virtio-fs: introduce multi-queue support
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio-fs: limit number of request queuesfs/ | +3 | 4 replies | |
| 2/2 | virtio-fs: add multi-queue supportfs/ | +62 | 8 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.
| Patch | Max Gurtovoy | Stefan Hajnoczi | Michael S. Tsirkin |
|---|---|---|---|
| Series | R-b | A-b | |
| 1/2 | R-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.
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