From: "Paolo Malfatti" <paolo@cidis.ws>
To: lartc@vger.kernel.org
Subject: tc show rate 7256Kbit when ceil is 4096Kbit
Date: Fri, 11 Aug 2017 23:34:31 +0000 [thread overview]
Message-ID: <2a15101d312fa$61a4a360$24edea20$@cidis.ws> (raw)
Hi everybody.
I upgraded my kernel from 4.3 to 4.11 and i’m seeing weird values doing “tc show” commands:
tc -s -d class show dev eth0 classid 1:1385
class htb 1:1385 parent 1:405 leaf 1385: prio 6 quantum 42625 rate 341Kbit ceil 4096Kbit linklayer ethernet burst 13Kb/1 mpu 0b cburst 8Kb/1 mpu 0b level 0
Sent 139507848 bytes 92285 pkt (dropped 0, overlimits 0 requeues 0)
rate 7256Kbit 599pps backlog 0b 0p requeues 0
lended: 8835 borrowed: 42779 giants: 0
tokens: -232736 ctokens: 19103
I’m using debian testing with iproute2 4.9.0-1 and rate estimator in my script:
echo 1 > /sys/module/sch_htb/parameters/htb_rate_est
Booting back with 4.3 kernel resolve the issue.
NOTE: the traffic is shaped at 4096Kbit. Only the rate shown is incorrect.
Any idea?
Best regards
Paolo Malfatti
CIDIS Camiri
reply other threads:[~2017-08-11 23:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='2a15101d312fa$61a4a360$24edea20$@cidis.ws' \
--to=paolo@cidis.ws \
--cc=lartc@vger.kernel.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