Google
  Web www.spinics.net

Giants on IMQ0

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


Why am I getting giants on imq0?

How do I stop that?

==========
imq0      Link encap:UNSPEC  HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING NOARP  MTU:1500  Metric:1
          RX packets:39880312 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39878715 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1024 
          RX bytes:1192463070 (1137.2 Mb)  TX bytes:1190162553 (1135.0
Mb)
**********
# IMQ: (HERE <-- INTERNET)
modprobe imq numdevs=1
# Since class 1:10 uses the default pfifo_fast, we need to give it
txqueuelen
# packets because pfifo_fast drops incoming packets when the queue fills
up:
ip link set $IMQ up txqueuelen 1024

# Install root HTB, point default traffic to 1:30:
tc qdisc add dev $IMQ root handle 1: htb default 30

# Shape everything at DNLINK speed:
# Root class
tc class add dev $IMQ parent 1: classid 1:1 htb rate ${CEIL}kbit burst
16k cburst 16k

# High priority (interactive) class 1:10
tc class add dev $IMQ parent 1:1 classid 1:10 htb rate
$[Ii*$DNLINK/100]kbit \
   ceil ${CEIL}kbit burst 6k cburst 6k quantum 1500 prio 1

# Accelerated class 1:20 
tc class add dev $IMQ parent 1:1 classid 1:20 htb rate
$[Ai*$DNLINK/100]kbit \
   ceil $[98*$CEIL/100]kbit burst 16k cburst 16k quantum 1500 prio 2

# Bulk & default class 1:30
tc class add dev $IMQ parent 1:1 classid 1:30 htb rate
$[Bi*$DNLINK/100]kbit \
   ceil $[96*$CEIL/100]kbit burst 10k cburst 10k quantum 1500 prio 3
**********
Received on imq0:
qdisc htb 1: r2q 10 default 30 direct_packets_stat 0
 Sent 14075058106 bytes 39878630 pkts (dropped 1597, overlimits 1288386) 
qdisc esfq 20: parent 1:20 quantum 1500b perturb 99sec hash: classic
 Sent 11154070435 bytes 8184171 pkts (dropped 1555, overlimits 0) 
qdisc esfq 30: parent 1:30 quantum 1500b perturb 20sec hash: classic
 Sent 2213692505 bytes 29156106 pkts (dropped 42, overlimits 0) 
class htb 1:1 root rate 4862Kbit ceil 4862Kbit burst 16Kb cburst 16Kb 
 Sent 14075060702 bytes 39878630 pkts (dropped 0, overlimits 0) 
 rate 2840bit 7pps 
 lended: 1993306 borrowed: 0 giants: 1158
 tokens: 36713 ctokens: 36713

class htb 1:10 parent 1:1 prio 1 rate 230000bit ceil 4862Kbit burst 6Kb
cburst 6Kb 
 Sent 707295166 bytes 2538353 pkts (dropped 0, overlimits 0) 
 rate 352bit 
 lended: 2276584 borrowed: 261769 giants: 0
 tokens: 287865 ctokens: 13714

class htb 1:20 parent 1:1 leaf 20: prio 2 rate 1385Kbit ceil 4764Kbit
burst 16Kb cburst 16Kb 
 Sent 11154070435 bytes 8184171 pkts (dropped 1555, overlimits 0) 
 lended: 6568474 borrowed: 1615697 giants: 0
 tokens: 128429 ctokens: 37451

class htb 1:30 parent 1:1 leaf 30: prio 3 rate 3001Kbit ceil 4667Kbit
burst 10Kb cburst 10Kb 
 Sent 2213692505 bytes 29156106 pkts (dropped 42, overlimits 0) 
 rate 2448bit 6pps 
 lended: 29040266 borrowed: 115840 giants: 1158
 tokens: 37088 ctokens: 23849
==========
gypsy
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Bugtraq]     [Fedora Legacy]     [GCC Help]     [Yosemite News]     [Yosemite Photos]     [IP Tables]     [Netfilter Devel]     [Fedora Users]

Powered by Linux