All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Weird HTB behaviour in 2.6.17
@ 2006-07-27 17:45 Marlon Dutra
  2006-07-28  1:21 ` Jake Altchill
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Marlon Dutra @ 2006-07-27 17:45 UTC (permalink / raw)
  To: lartc

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?

-- 
Marlon
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-07-31 16:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-27 17:45 [LARTC] Weird HTB behaviour in 2.6.17 Marlon Dutra
2006-07-28  1:21 ` Jake Altchill
2006-07-28 17:25 ` Marlon Dutra
2006-07-28 18:53 ` Andy Furniss
2006-07-28 19:12 ` Marlon Dutra
2006-07-28 19:43 ` Andy Furniss
2006-07-29  0:50 ` Jake Altchill
2006-07-29  1:07 ` Patrick McHardy
2006-07-31 16:53 ` Marlon Dutra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.