OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [virtio-dev] RE: [PATCH v5 0/7] Introduce device group and device management


> From: Michael S. Tsirkin <mst@redhat.com>
> Sent: Sunday, July 24, 2022 7:42 PM
> To: Parav Pandit <parav@nvidia.com>
> Cc: Max Gurtovoy <mgurtovoy@nvidia.com>; jasowang@redhat.com; virtio-
> comment@lists.oasis-open.org; cohuck@redhat.com; virtio-dev@lists.oasis-
> open.org; Oren Duer <oren@nvidia.com>; Shahaf Shuler
> <shahafs@nvidia.com>; aadam@redhat.com; virtio@lists.oasis-open.org
> Subject: Re: [virtio-dev] RE: [PATCH v5 0/7] Introduce device group and
> device management
> 
> On Sun, Jul 24, 2022 at 09:25:17PM +0000, Parav Pandit wrote:
> > > From: Michael S. Tsirkin <mst@redhat.com>
> > > Sent: Sunday, July 24, 2022 5:10 PM
> > >
> > > I snippet rest of mail - wasn't sure whether you were waiting for an
> answer.
> > >
> > > On Wed, Jul 06, 2022 at 08:45:26PM +0000, Parav Pandit wrote:
> > > > > Again I don't know what to do with this. I feel if it's put up
> > > > > for vote in the current form it's likely to fail. I propose
> > > > > cutting out as much as possible as a first step, so we can make
> progress.
> > > > > Specifically the MSI-X commands are clearly PF specific so
> > > > > there's no concern about VF memory use at all.  We can worry
> > > > > about other types
> > > of command down the road when it becomes relevant.
> > > >
> > > > Since feature bits proposes are limited to PF, I agree that
> > > > current short cut
> > > is fine to place in 64-127 feature bits.
> > > >
> > > > When/if similar functionality is needed at scale for the VF or
> > > > SIOV devices,
> > > placing them in 64-127 bits area weight way less for sake of "people
> > > familiarity to feature bits".
> > > > Do you agree?
> > >
> > > I think we can all agree that extensions for scalable IOV will need
> > > more work if that is what you are saying.
> > Yes.
> > Even VFs to negotiate few tens of Kbytes seems waste of resources for one
> time read/write bits.
> 
> It has small a cost for sure, but it's negligeable compared to the current cost
> of implementing the spec.
>
How did you calculate the cost being negligible?
 
> > So better to start using AQ for new functionalities.
> > What is stopping us to adapt to this modern and optimized way?
> 
> The cost/benefit tradeoff. The benefit is a theorectical gain of a few bits per
> VF. The cost is very real engineering time spent.
>
How is it theoretical? I provided the calculation few times in previous emails.
 
> I can keep poking holes and finding underspecified behaviour in the
> proposal. 
We should fix the wording.

> But I don't really see why would anyone spend the time
> duplicating what virtio spec is already doing decently.
> 
> > Why cant we keep features bits limited to device startup negotiation
> scheme?
> 
> Well they are already used for much more. So sure, maybe work on changing
> that, but IMO trying it all in a single huge project is just not a great idea.
>
Why would you recommend on changing something historic like this?
The ask here to improve the new features.
 
> > Other unrelated bits are added in past to feature bits  But lets follow the
> good examples instead when the new choice is already proposed and
> defined.
> 
> So IMHO saving a few bits here and there when we are spending tens of
> bytes on state makes no sense.
>
Not a good reason to introduce something inferior.
 
> Something like transport over AQ (or the transport vq proposal) or some
> other concerted effort to save per device memory would be needed for
> SIOV, and maybe it's useful for SRIOV too.
>
AQ proposal is already doing it.
Some of the things seems to be lately duplicated in transport vq proposal.
We should possibly rename both the queues to mgmt_queue that serves both the purposes.

Transport VQ proposal is tunneling some SIOV device feature bits.
Here AQ is negotiating its own feature bits. Both are orthogonal.
And suggesting to some newer RFC to discuss current one doesn't make much sense to tangent the discussion at all.

Since there is zero technical short comings of negotiating AQ features via AQ command, lets please conclude to proceed with it.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]