Wondershaper - question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have a question conercing wondershaper. I'm using the Clarkconnect linux
distribution for my linux router and I tried to use wondershaper.

On start up of wshaper, there are no errors or any other problems but I'm
not sure if it's running correctly. Only one qdisc / one class is used and
when I start an uplink ftp transfer, my ping time is growing up to 1700ms -
I don't think that there is anything shaped oder scheduled.

In the wshaper file I set the up- and downlink values and for the p2p I set
this:
# low priority source ports
NOPRIOPORTSRC=4662

# low priority destination ports
NOPRIOPORTDST=4662


Then i start it:
[root@Astoria bin]# wshaper start
[root@Astoria bin]#

One or two minutes later (with p2p traffic and some pings) i got this:

[root@Astoria bin]# wshaper status
qdisc ingress ffff: ----------------
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

 qdisc sfq 30: quantum 1514b perturb 10sec
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

 qdisc sfq 20: quantum 1514b perturb 10sec
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

 qdisc sfq 10: quantum 1514b perturb 10sec
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

 qdisc cbq 1: rate 10Mbit (bounded,isolated) prio no-transmit
 Sent 1116535 bytes 6148 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 624 undertime 0

 class cbq 1: root rate 10Mbit (bounded,isolated) prio no-transmit
 Sent 1117031 bytes 6154 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 624 undertime 0
class cbq 1:10 parent 1:1 leaf 10: rate 120Kbit prio 1
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 624 undertime 0
class cbq 1:1 parent 1: rate 120Kbit (bounded,isolated) prio 5
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 624 undertime 0
class cbq 1:20 parent 1:1 leaf 20: rate 108Kbit prio 2
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 624 undertime 0
class cbq 1:30 parent 1:1 leaf 30: rate 96Kbit prio 2
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 624 undertime 0
[root@Astoria bin]#

As you can see, just qdisc 1: is used. The same behavior after hours of
running wshaper; only this one qdisc is used.

Has anyone an idea why this happens?

Thanks,
Matthias Lendholt
(Berlin, Germany)


_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux