[lkml]   [2012]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Pe: [PATCH v5 1/3] virtio-scsi: first version
On 02/07/2012 12:10 PM, Michael S. Tsirkin wrote:
>>> Also, lun[1] = sc->device->id means that only 255 SCSI target IDs will be
>>> > >supported. Think about bigger usage scenarios, such as FCP networks with
>>> > >several hundred HBAs in the net. If you want to have the target ID<->HBA
>>> > >mapping the same as on the guest as on the host, then 255 virtual target
>>> > >IDs could be a limit.
>> >
>> > I think you would hit other scalability limitations well before
>> > that. I plan to give each target its own MSI-X interrupt, but there
>> > is no infinite supplies of those either.
> virtio-pci generally lets guests share MSI-X vectors between queues,
> why not allow this here?

Yes, of course. However, with dozens of queues, many of them will share
the same vector and all of them will be examined when you get the
interrupt. Even if you find the right balance between sharing (because
you have to) and separating (because of scalability), I wouldn't be
surprised if more than 255 targets do not work too well.

Anyway multiqueue is not even in this patchset, so there's more work to
do before we can worry. :)


 \ /
  Last update: 2012-02-07 12:29    [W:0.068 / U:0.384 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site