> Date: Wed, 14 Jul 2004 12:39:08 +1000 > From: <Jonathan.Chan@csiro.au> > To: <linux-net@vger.kernel.org> > Subject: Linux tc cbq shaping at high speed > > > Dear all, > > I try to use TC CBQ to prioritise two classes of traffic (say premium > and best effort) into an aggregate trunk of limited size (i.e. less than > the physical link speed). The CBQ function works fine if the aggregate > bandwidth is under 200Mbps. If the aggregate bandwidth is set higher, > say, 300Mbit, both classes of traffic would be sent out without rate > limiting. > > Is this related to the HZ value of kernel? I have already set the HZ > value to be 1024. Where do you set this value? You dont seem to say you recompile it. > Or should I use something rather than CBQ for the job > (e.g. HTB)? Any comments/suggestions are much appreciated... Lets resolve this one first. CBQ should work just fine if it doesnt we have a problem. Start with something simple which does what you want. Look at iproute2/examples/diffserv/efcbq. Extract the cbq bits out of it or just run the script in its entirety. cheers, jamal - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html