Re: [PATCH v6 5/7] virtio-scsi-pci: default num_queues to -smp N

2020-08-22 Thread Raphael Norwitz
On Tue, Aug 18, 2020 at 11:32 AM Stefan Hajnoczi wrote: > > Automatically size the number of virtio-scsi-pci, vhost-scsi-pci, and > vhost-user-scsi-pci request virtqueues to match the number of vCPUs. > Other transports continue to default to 1 request virtqueue. > > A 1:1 virtqueue:vCPU mapping e

Re: [PATCH v6 5/7] virtio-scsi-pci: default num_queues to -smp N

2020-08-18 Thread Cornelia Huck
On Tue, 18 Aug 2020 15:33:46 +0100 Stefan Hajnoczi wrote: > Automatically size the number of virtio-scsi-pci, vhost-scsi-pci, and > vhost-user-scsi-pci request virtqueues to match the number of vCPUs. > Other transports continue to default to 1 request virtqueue. > > A 1:1 virtqueue:vCPU mapping

[PATCH v6 5/7] virtio-scsi-pci: default num_queues to -smp N

2020-08-18 Thread Stefan Hajnoczi
Automatically size the number of virtio-scsi-pci, vhost-scsi-pci, and vhost-user-scsi-pci request virtqueues to match the number of vCPUs. Other transports continue to default to 1 request virtqueue. A 1:1 virtqueue:vCPU mapping ensures that completion interrupts are handled on the same vCPU that