From: Jakub Kicinski <kuba@kernel.org>
To: Justin Iurman <justin.iurman@uliege.be>
Cc: Eric Dumazet <edumazet@google.com>,
netdev@vger.kernel.org, davem@davemloft.net,
yoshfuji@linux-ipv6.org, dsahern@kernel.org, pabeni@redhat.com,
stable@vger.kernel.org
Subject: Re: [RFC net] Fixes: b63c5478e9cb ("ipv6: ioam: Support for Queue depth data field")
Date: Tue, 6 Dec 2022 12:43:42 -0800 [thread overview]
Message-ID: <20221206124342.7f429399@kernel.org> (raw)
In-Reply-To: <d579c817-50c7-5bd5-4b28-f044daabf7f6@uliege.be>
On Mon, 5 Dec 2022 21:44:09 +0100 Justin Iurman wrote:
> > Please revert this patch.
> >
> > Many people use FQ qdisc, where packets are waiting for their Earliest
> > Departure Time to be released.
>
> The IOAM queue depth is a very important value and is already used.
Can you say more about the use? What signal do you derive from it?
I do track qlen on Meta's servers but haven't found a strong use
for it yet (I did for backlog drops but not the qlen itself).
> > Also, the draft says:
> >
> > 5.4.2.7. queue depth
> >
> > The "queue depth" field is a 4-octet unsigned integer field. This
> > field indicates the current length of the egress interface queue of
> > the interface from where the packet is forwarded out. The queue
> > depth is expressed as the current amount of memory buffers used by
> > the queue (a packet could consume one or more memory buffers,
> > depending on its size).
> >
> > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > | queue depth |
> > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >
> >
> > It is relatively clear that the egress interface is the aggregate
> > egress interface,
> > not a subset of the interface.
>
> Correct, even though the definition of an interface in RFC 9197 is quite
> abstract (see the end of section 4.4.2.2: "[...] could represent a
> physical interface, a virtual or logical interface, or even a queue").
>
> > If you have 32 TX queues on a NIC, all of them being backlogged (line rate),
> > sensing the queue length of one of the queues would give a 97% error
> > on the measure.
>
> Why would it? Not sure I get your idea based on that example.
Because it measures the length of a single queue not the device.
next prev parent reply other threads:[~2022-12-06 20:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-05 15:35 [RFC net] Fixes: b63c5478e9cb ("ipv6: ioam: Support for Queue depth data field") Justin Iurman
2022-12-05 16:30 ` Eric Dumazet
2022-12-05 16:50 ` Eric Dumazet
2022-12-05 18:24 ` Justin Iurman
2022-12-05 18:34 ` Eric Dumazet
2022-12-05 20:44 ` Justin Iurman
2022-12-05 20:45 ` Eric Dumazet
2022-12-06 20:43 ` Jakub Kicinski [this message]
2022-12-07 12:07 ` Justin Iurman
2022-12-07 12:10 ` Justin Iurman
2022-12-08 0:04 ` Jakub Kicinski
2022-12-08 12:47 ` Justin Iurman
2022-12-05 18:14 ` Justin Iurman
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=20221206124342.7f429399@kernel.org \
--to=kuba@kernel.org \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=justin.iurman@uliege.be \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stable@vger.kernel.org \
--cc=yoshfuji@linux-ipv6.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;
as well as URLs for NNTP newsgroup(s).