networkplumber
New Around Here
I see a bug when configuring upload/download bandwidth QoS (with Cake in 386.2_6)
# tc qdisc show
qdisc cake 8003: dev eth0 root refcnt 2 bandwidth 10240Kbit diffserv3 dual-srchost nat nowash no-ack-filter split-gso rtt 100ms noatm overhead 18 mpu 64
qdisc cake 8004: dev ifb4eth0 root refcnt 2 bandwidth 307200Kbit besteffort dual-dsthost nat wash ingress no-ack-filter split-gso rtt 100ms noatm overhead 18 mpu 64
This is wrong. In communications K = 1000 and M = 1000000 (SI units) in storage and other places K = 1024 (IEC units).
The iproute2 commands get this right, looks like somewhere in the GUI to qdisc scripts somewhere is using wrong multiplier.
# tc qdisc show
qdisc cake 8003: dev eth0 root refcnt 2 bandwidth 10240Kbit diffserv3 dual-srchost nat nowash no-ack-filter split-gso rtt 100ms noatm overhead 18 mpu 64
qdisc cake 8004: dev ifb4eth0 root refcnt 2 bandwidth 307200Kbit besteffort dual-dsthost nat wash ingress no-ack-filter split-gso rtt 100ms noatm overhead 18 mpu 64
This is wrong. In communications K = 1000 and M = 1000000 (SI units) in storage and other places K = 1024 (IEC units).
The iproute2 commands get this right, looks like somewhere in the GUI to qdisc scripts somewhere is using wrong multiplier.