[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53A06475.7000308@redhat.com>
Date: Tue, 17 Jun 2014 17:53:25 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Ming Lei <ming.lei@...onical.com>,
Stefan Hajnoczi <stefanha@...il.com>
CC: Jens Axboe <axboe@...nel.dk>,
linux-kernel <linux-kernel@...r.kernel.org>,
"Michael S. Tsirkin" <mst@...hat.com>, linux-api@...r.kernel.org,
Linux Virtualization <virtualization@...ts.linux-foundation.org>,
Stefan Hajnoczi <stefanha@...hat.com>
Subject: Re: [RFC PATCH 2/2] block: virtio-blk: support multi virt queues
per virtio-blk device
Il 17/06/2014 17:50, Ming Lei ha scritto:
>> > It would be nice to allocate virtqueues dynamically instead of
>> > hardcoding the limit. virtio-scsi also allocates virtqueues
>> > dynamically.
> virtio-scsi may have lots of LUN, but virtio-blk only has one disk
> which needn't lots of hardware queues.
If you want to do queue steering based on the guest VCPU number, the
number of queues must be = to the number of VCPUs shouldn't it?
I tried using a divisor of the number of VCPUs, but couldn't get the
block layer to deliver interrupts to the right VCPU.
Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists