From: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
To: Jonathan Morton <chromatix99@gmail.com>
Cc: <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Dropping last_len from stats collection & display.
Date: Wed, 1 Jun 2016 16:54:51 +0100 [thread overview]
Message-ID: <574F054B.9080506@darbyshire-bryant.me.uk> (raw)
In-Reply-To: <8A50E29E-5CEC-4DFB-9227-69EFE66C7D02@gmail.com>
On 01/06/16 15:00, Jonathan Morton wrote:
>
>> On 1 Jun, 2016, at 14:40, Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> wrote:
>>
>> Not updating another variable (memory write) for each packet may help cake's CPU usage a little.
>
> I’ll think about this one.
>
> I don’t think it should gate the LEDE merge (nor should it require a stats version bump), since as long as the entry remains in the stats struct, it will simply remain zero if not written.
>
> In future the space could be reused, in which case a version bump would be appropriate.
>
> - Jonathan Morton
>
Two points/suggestions/alternate perspectives:
Not bumping the version leads to a situation where tc constantly reports
the last length as zero. I would suggest that looks
odd/oversight/wrong. A version bump at least allows a later tc to know
not to output a dead value.
I can see your point with regard to the structure size, how about
re-adding as
u32 __attribute__((used)) last_skblen; /* V3 and below */
to stop the unused variable warning that would otherwise result.
The other argument I keep having with myself is "none of this has been
released...yet". Aren't we still free to break this as we see fit :-)
next prev parent reply other threads:[~2016-06-01 15:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 11:40 Kevin Darbyshire-Bryant
2016-06-01 14:00 ` Jonathan Morton
2016-06-01 15:54 ` Kevin Darbyshire-Bryant [this message]
2016-06-01 15:05 ` moeller0
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
List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=574F054B.9080506@darbyshire-bryant.me.uk \
--to=kevin@darbyshire-bryant.me.uk \
--cc=cake@lists.bufferbloat.net \
--cc=chromatix99@gmail.com \
/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