TC HTB artificial overlimit ?

Linux Advanced Routing and Traffic Control

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

 



Hi,

I have this basic tc script to do a rate-limit of 98Mbit on an gigabit
Ethernet  port.

tc qdisc add dev eth0 root handle 1: htb default 1 r2q 1000
tc class add dev eth0 parent 1: classid 1:1 htb rate 98Mbit ceil
98Mbit linklayer ethernet mtu 1500

The current traffic flowing is, about 8Mbit, no where near the limit.
but I'm getting a lot of overlimits and occasional drop in

$ tc -s -d qdisc show dev eth0

qdisc htb 1: root refcnt 5 r2q 1000 default 1 direct_packets_stat 16 ver 3.17
 Sent 622125220 bytes 1235844 pkt (dropped 119, overlimits 376040 requeues 1)
 backlog 0b 0p requeues 1

What might be the reason? what should be changed?

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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