Bug 2043243
| Summary: | [tc-htb] error when setting burst max value | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | David Hill <dhill> |
| Component: | iproute | Assignee: | Andrea Claudi <aclaudi> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Mingyu Shi <mshi> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.4 | CC: | aclaudi, dzheng, jiji, mshi, network-qe, smitterl, yalzhang |
| Target Milestone: | rc | Keywords: | Reopened, Triaged |
| Target Release: | 8.5 | Flags: | pm-rhel:
mirror+
|
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | iproute-6.2.0-2.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1910745 | Environment: | |
| Last Closed: | 2023-10-09 07:45:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1910745 | ||
| Bug Blocks: | |||
|
Comment 11
Mingyu Shi
2022-02-15 02:22:48 UTC
[root@vm-10-0-184-70 ~]# rpm -q iproute
iproute-6.2.0-5.el8_9.x86_64
[root@vm-10-0-184-70 ~]# ip link add type veth
[root@vm-10-0-184-70 ~]# ip link set veth0 up
[root@vm-10-0-184-70 ~]# ip link set veth1 up
[root@vm-10-0-184-70 ~]# tc class add dev veth0 parent 1: classid 1:1 htb rate 100KBps burst errtrigger
bash: tc: command not found
[root@vm-10-0-184-70 ~]# dnf install iproute-tc
Updating Subscription Management repositories.
Unable to read consumer identity
This system is not registered with an entitlement server. You can use subscription-manager to register.
Last metadata expiration check: 1:01:13 ago on Sun 08 Oct 2023 02:00:23 AM EDT.
Dependencies resolved.
==============================================================================================================================================================
Package Architecture Version Repository Size
==============================================================================================================================================================
Installing:
iproute-tc x86_64 6.2.0-5.el8_9 rhel 469 k
Transaction Summary
==============================================================================================================================================================
Install 1 Package
Total download size: 469 k
Installed size: 883 k
Is this ok [y/N]: y
Downloading Packages:
iproute-tc-6.2.0-5.el8_9.x86_64.rpm 15 MB/s | 469 kB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 15 MB/s | 469 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : iproute-tc-6.2.0-5.el8_9.x86_64 1/1
Running scriptlet: iproute-tc-6.2.0-5.el8_9.x86_64 1/1
Verifying : iproute-tc-6.2.0-5.el8_9.x86_64 1/1
Installed products updated.
Installed:
iproute-tc-6.2.0-5.el8_9.x86_64
Complete!
[root@vm-10-0-184-70 ~]# tc class add dev veth0 parent 1: classid 1:1 htb rate 100KBps burst errtrigger
Illegal "burst"
Usage: ... qdisc add ... htb [default N] [r2q N]
[direct_qlen P] [offload]
default minor id of class to which unclassified packets are sent {0}
r2q DRR quantums are computed as rate in Bps/r2q {10}
debug string of 16 numbers each 0-3 {0}
direct_qlen Limit of the direct queue {in packets}
offload enable hardware offload
... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]
[prio P] [slot S] [pslot PS]
[ceil R2] [cburst B2] [mtu MTU] [quantum Q]
rate rate allocated to this class (class can still borrow)
burst max bytes burst which can be accumulated during idle period {computed}
mpu minimum packet size used in rate computations
overhead per-packet size overhead used in rate computations
linklay adapting to a linklayer e.g. atm
ceil definite upper class rate (no borrows) {rate}
cburst burst but for ceil {computed}
mtu max packet size we create rate map for {1600}
prio priority of leaf; lower are served first {0}
quantum how much bytes to serve from leaf at once {use r2q}
As expected, it showed "Illegal burst"
Fixed in rhel-8.9. |