From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
To: Parav Pandit <parav@nvidia.com>
Cc: "virtio-comment@lists.oasis-open.org"
<virtio-comment@lists.oasis-open.org>,
"Michael S . Tsirkin" <mst@redhat.com>,
Jason Wang <jasowang@redhat.com>,
"virtio-dev@lists.oasis-open.org"
<virtio-dev@lists.oasis-open.org>
Subject: [virtio-dev] Re: RE: RE: About custom device counter
Date: Tue, 20 Jun 2023 10:39:37 +0800 [thread overview]
Message-ID: <1687228777.3941622-1-xuanzhuo@linux.alibaba.com> (raw)
In-Reply-To: <PH0PR12MB5481B46BC5108D0BB9D68ED0DC5FA@PH0PR12MB5481.namprd12.prod.outlook.com>
On Mon, 19 Jun 2023 20:40:54 +0000, Parav Pandit <parav@nvidia.com> wrote:
>
>
> > From: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
> > Sent: Thursday, June 15, 2023 2:35 AM
>
> > > Debug counters are useful to have.
> > > I agree that they may be vendor specific.
> > > We often try to abstract and define as much as vendor neutral as possible.
> > >
> > > So we should probably first put our efforts to see if more than one vendor can
> > use it.
> >
> > I agree.
> >
> > >
> > > Assuming there is some vendor specific counters, I imagine to come from a
> > separate vendor specific query command.
> > > This is to keep standard counters to avoid mixing with vend_specific.
> >
> > Yes, I agree that these are two separate channels.
> >
> > But I don't think we need to wait for the first job to finish.
> >
> I am saying if you have a counter in mind, lets discuss if we can generalize it, and if we can it falls in the first general bucket.
> If we cannot it falls in second vendor specific bucket.
That is ok.
>
> > It is conceivable that standard counters will be displayed on ethtool in the
> > future. For counters from different manufacturers, we can display them in
> > /sys/class/net/eth0/vendor_couters.
> >
> I understood that you want to show device specific counters.
> We can avoid bringing up the sw interface for a moment.
> For above specific suggestion, vendor counters in sysfs for sure will not be acceptable as no vendor specific sysfs can exist anymore.
>
> One can implement devlink health reporting counters as needed.
I am ok for any way to show this to the users.
>
> > Here we can tell the user that these are only for the current device, and may
> > change during the migration process.
> >
> Sure.
>
> >
> > >
> > > > Of course I know that doing this might hurt migration. But what I
> > > > want to say is, why does it affect live migration? These counters we
> > > > plan to give to users through ethtool -S, and some changes have
> > > > taken place in the ethtool counters output by users. Does this have
> > > > any practical impact? Or do we directly use some other output in a
> > > > way, we can clearly tell the user that these counters may change
> > > > during the migration process. For example, the driver is migrated to
> > > > some new devices. These devices support some new counters. I think
> > > > users should be able to see these new counters. These new counters may be
> > the purpose of the migration.
> > >
> > > Counters which are well defined non-vendor specific should be able to
> > migrate to destination on best effort basis.
> > > For well defined counters if device A at src support N counters, on migrated
> > destination, it should be N.
> > > This should be able to achieve with feature provisioning infra via group owner
> > command.
> >
> > Yes, for standard counters.
> >
> > >
> > > >
> > > > We don't need to support live migration at this point.
> > > When done on best effort level, infra exists, vendor has ability to
> > incrementally implement it.
> >
> >
> > For the standard counters, the manufacturer will be very willing to use it. I just
> > want to introduce the capabilities of the manufacturer's customized.
> >
> Lets try to generalize first and if we fail consider the vendor specific counters.
OK
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org
prev parent reply other threads:[~2023-06-20 2:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 6:12 [virtio-dev] About custom device counter Xuan Zhuo
2023-06-12 6:25 ` [virtio-dev] " Michael S. Tsirkin
2023-06-12 11:27 ` [virtio-dev] Re: [virtio-comment] " Xuan Zhuo
2023-06-13 9:02 ` Michael S. Tsirkin
2023-06-15 6:23 ` Xuan Zhuo
2023-06-16 0:57 ` Jason Wang
2023-06-16 1:36 ` Xuan Zhuo
2023-06-16 14:42 ` Michael S. Tsirkin
2023-06-16 14:13 ` Michael S. Tsirkin
2023-06-19 1:44 ` Xuan Zhuo
2023-06-19 12:33 ` [virtio-dev] " Parav Pandit
2023-06-19 14:20 ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 20:43 ` [virtio-dev] " Parav Pandit
2023-06-20 2:45 ` [virtio-dev] " Xuan Zhuo
2023-06-19 14:25 ` Michael S. Tsirkin
2023-06-20 2:55 ` Xuan Zhuo
2023-06-13 1:57 ` [virtio-dev] " Parav Pandit
2023-06-15 6:35 ` [virtio-dev] " Xuan Zhuo
2023-06-19 20:40 ` [virtio-dev] " Parav Pandit
2023-06-20 2:39 ` Xuan Zhuo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1687228777.3941622-1-xuanzhuo@linux.alibaba.com \
--to=xuanzhuo@linux.alibaba.com \
--cc=jasowang@redhat.com \
--cc=mst@redhat.com \
--cc=parav@nvidia.com \
--cc=virtio-comment@lists.oasis-open.org \
--cc=virtio-dev@lists.oasis-open.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox