Re: [PATCH 3/5] virtio-scsi: default num_queues to -smp N

2020-01-16 Thread Cornelia Huck
On Thu, 16 Jan 2020 14:16:54 + Stefan Hajnoczi wrote: > On Thu, Jan 16, 2020 at 12:53:49PM +0100, Cornelia Huck wrote: > > On Thu, 16 Jan 2020 10:58:40 + > > Stefan Hajnoczi wrote: > > > > > Automatically size the number of request virtqueues to match the number > > > of vCPUs. This

Re: [PATCH 3/5] virtio-scsi: default num_queues to -smp N

2020-01-16 Thread Stefan Hajnoczi
On Thu, Jan 16, 2020 at 12:53:49PM +0100, Cornelia Huck wrote: > On Thu, 16 Jan 2020 10:58:40 + > Stefan Hajnoczi wrote: > > > Automatically size the number of request virtqueues to match the number > > of vCPUs. This ensures that completion interrupts are handled on the > > same vCPU that s

Re: [PATCH 3/5] virtio-scsi: default num_queues to -smp N

2020-01-16 Thread Cornelia Huck
On Thu, 16 Jan 2020 10:58:40 + Stefan Hajnoczi wrote: > Automatically size the number of request virtqueues to match the number > of vCPUs. This ensures that completion interrupts are handled on the > same vCPU that submitted the request. No IPI is necessary to complete > an I/O request and

[PATCH 3/5] virtio-scsi: default num_queues to -smp N

2020-01-16 Thread Stefan Hajnoczi
Automatically size the number of request virtqueues to match the number of vCPUs. This ensures that completion interrupts are handled on the same vCPU that submitted the request. No IPI is necessary to complete an I/O request and performance is improved. Remember that virtqueue numbering assumpt