Re: [LARTC] HTB + speed a bit lower than what shaped to

2005-04-08 Thread Wang Jian
Hi Jandre Olivier, 1. although the rate is 32Kbit, the ceil is also 32Kbit; you will get very close 32Kbit, but no more that 32Kbit. 2. The kernel calculates rate based on the packet size, not payload length. But your client, calculates rate based on the payload length. If the traffic pattern is

[LARTC] HTB + speed a bit lower than what shaped to

2005-04-08 Thread Jandre Olivier
Hi Guys, I have a little problem i dont understand why its happening, Initially i thought it was a network problem, but then i made a crossover between me and the server and shaped on that interface with as minimal as possible config this my test: $TC qdisc add dev $INTERFACE root handle 1: htb