HTB or HFSC shaping with fiaif

postmaster email hidden
Tue Jul 24 13:09:16 CEST 2007


Hi,

Could you post the output of '/etc/init.d/fiaif tc-status' and also see
if the output is identical to the output from the server that is working
as exptected?

Regards
Anders Fugmann

Laurent CARON wrote:
> Hi,
> 
> I'm experiencing a strange behavior on one of my servers.
> 
> Although i did set
> 
> TC_ENABLE=1
> TC_DOWNLINK=10000
> TC_UPLINK=10000
> 
> in zone.ext
> 
> my downloads are capped to about 8 times less
> 
> When I disable FIAIF, i can of course download at full wire speed.
> 
> The strange part of this problem is that i've got another server with
> the same FIAIF setup, and this one is working fine.
> 
> Here is the tc setup from /etc/init.d/fiaif test:
> 
> 
> tc qdisc add dev eth2 root handle 1: htb default 20
> tc class add dev eth2 parent 1: classid 1:1 htb rate 25500kbit burst 20k
> tc class add dev eth2 parent 1:1 classid 1:10 htb rate 12750kbit ceil
> 25500kbit burst 10K prio 1
> tc class add dev eth2 parent 1:1 classid 1:20 htb rate 7650kbit ceil
> 25500kbit burst 3k prio 2
> tc class add dev eth2 parent 1:1 classid 1:30 htb rate 5100kbit ceil
> 25500kbit burst 2k prio 3
> tc qdisc add dev eth2 parent 1:10 handle 10: pfifo limit 5
> tc qdisc add dev eth2 parent 1:20 handle 20: sfq perturb 10
> tc qdisc add dev eth2 parent 1:30 handle 30: sfq perturb 10
> tc filter add dev eth2 parent 1: protocol ip prio 10 u32 match ip tos
> 0x10 0xff flowid 1:10
> tc filter add dev eth2 parent 1: protocol ip prio 10 u32 match ip
> protocol 1 0xff flowid 1:10
> tc filter add dev eth2 parent 1: protocol ip prio 20 u32 match ip
> protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2
> match u8 0x10 0xff at 33 flowid 1:10
> tc filter add dev eth2 parent 1: protocol ip prio 30 u32 match ip tos
> 0x08 0xff flowid 1:30
> tc filter add dev eth2 parent 1: protocol ip prio 40 u32 match ip dst
> 0.0.0.0/0 flowid 1:20
> tc qdisc add dev eth2 handle ffff: ingress
> tc filter add dev eth2 parent ffff: protocol ip prio 50 u32 match ip src
> 0.0.0.0/0 police rate 27000kbit burst 10k drop flowid :1
> 
> 
> Do you guys have any clue about it ?
> 
> Thanks
> 
> Laurent
> _______________________________________________
> fiaif mailing list
> fiaif at fiaif.net
> https://www.fiaif.net/mailman/listinfo/fiaif
> 



More information about the fiaif mailing list