What kind of network cards do you have?
What are the tc stats that you get on
the class (anything about giants?)?
There's something funny with the intel gig cards.
Even if the mtu on them is set to 1500
there's something that breaks / confuses htb.
If these are the cards you are using you
need to explicitly set the mtu for your
classes to 16500.
Hello,
I've just compiled the kernel 2.6.17 and noticed an odd HTB behaviour.
For instance:
tc class add dev eth0 parent 1:1 classid 1:30 htb rate 1kbit ceil
750Kbit burst 15k
tc filter add dev eth0 parent 1:0 protocol ip prio 15 u32 match ip dst
192.168.5.1 classid 1:30
The filter works ok and the traffic to 192.168.5.1 flows through the
class 1:30, but the rate gets much higher than 750 Kbps.
As far as I realized, the faster the processor is, the higher the
traffic gets above the ceiling.
I've seen that same behaviour in several machines with this kernel,
both with Intel and AMD processors. With a dual Xeon 3 GHz, when my
ceiling is 750 Kbps, I get the traffic about 5 Mbps.
It seems to be something related to clock.
http://mailman.ds9a.nl/pipermail/lartc/2005q3/016981.html
In that post, there is another guy with the same problem, but with 2.6.11.
Any clues?
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc