magnific0 / wondershaper

Command-line utility for limiting an adapter's bandwidth
GNU General Public License v2.0
1.71k stars 256 forks source link

hi problem shaping upload speed #81

Open revoltown opened 2 years ago

revoltown commented 2 years ago

debian in current version, trying to figure out why wondershaper shapes only download speed on ppp interface upload speed eaven is shaped by configuration :

/etc/wondershaper/wondershaper -a ppp2 -d 1024 -u 1024

command :

/etc/wondershaper/wondershaper -s -a ppp2

shows:

qdisc htb 1: root refcnt 2 r2q 10 default 0x20 direct_packets_stat 0 direct_qlen 3 Sent 17202837 bytes 34746 pkt (dropped 0, overlimits 13520 requeues 0) backlog 0b 0p requeues 0 qdisc sfq 30: parent 1:30 limit 127p quantum 10000b depth 127 divisor 1024 perturb 10sec Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 qdisc sfq 10: parent 1:10 limit 127p quantum 10000b depth 127 divisor 1024 perturb 10sec Sent 730290 bytes 17051 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 qdisc sfq 20: parent 1:20 limit 127p quantum 10000b depth 127 divisor 1024 perturb 10sec Sent 16472547 bytes 17695 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 qdisc ingress ffff: parent ffff:fff1 ---------------- Sent 68595488 bytes 59291 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 class htb 1:1 root rate 1024Kbit ceil 1024Kbit burst 1599b cburst 1599b Sent 17204293 bytes 34752 pkt (dropped 0, overlimits 2190 requeues 0) backlog 0b 0p requeues 0 lended: 9079 borrowed: 0 giants: 0 tokens: 21611 ctokens: 21611

class htb 1:10 parent 1:1 leaf 10: prio 1 rate 204Kbit ceil 972Kbit burst 1599b cburst 1599b Sent 731746 bytes 17057 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 lended: 14679 borrowed: 2378 giants: 0 tokens: 78017 ctokens: 22540

class htb 1:20 parent 1:1 leaf 20: prio 2 rate 409Kbit ceil 972Kbit burst 1599b cburst 1599b Sent 16472547 bytes 17695 pkt (dropped 0, overlimits 11330 requeues 0) backlog 0b 0p requeues 0 lended: 10282 borrowed: 6701 giants: 0 tokens: 455671 ctokens: 191732

class htb 1:30 parent 1:1 leaf 30: prio 3 rate 204Kbit ceil 921Kbit burst 1599b cburst 1599b Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) backlog 0b 0p requeues 0 lended: 0 borrowed: 0 giants: 0 tokens: 980390 ctokens: 217140

does not work for upload speed :(