Re: [PATCH v5 5/5] vhost-user-blk: default num_queues to -smp N

2020-07-10 Thread Raphael Norwitz
On Fri, Jul 10, 2020 at 5:53 AM Stefan Hajnoczi wrote: > > On Thu, Jul 09, 2020 at 11:02:24AM -0700, Raphael Norwitz wrote: > > On Mon, Jul 6, 2020 at 7:00 AM Stefan Hajnoczi wrote: > > > diff --git a/hw/block/vhost-user-blk.c b/hw/block/vhost-user-blk.c > > > index a00b854736..39aec42dae 100644

Re: [PATCH v5 5/5] vhost-user-blk: default num_queues to -smp N

2020-07-10 Thread Stefan Hajnoczi
On Thu, Jul 09, 2020 at 11:02:24AM -0700, Raphael Norwitz wrote: > On Mon, Jul 6, 2020 at 7:00 AM Stefan Hajnoczi wrote: > > diff --git a/hw/block/vhost-user-blk.c b/hw/block/vhost-user-blk.c > > index a00b854736..39aec42dae 100644 > > --- a/hw/block/vhost-user-blk.c > > +++ b/hw/block/vhost-user-

Re: [PATCH v5 5/5] vhost-user-blk: default num_queues to -smp N

2020-07-09 Thread Raphael Norwitz
On Mon, Jul 6, 2020 at 7:00 AM 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 pe

[PATCH v5 5/5] vhost-user-blk: default num_queues to -smp N

2020-07-06 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. The maximum number of MSI-X vectors and v