Networking Forums

Networking Forums > Computer Networking > Linux Networking > Bandwidth shaping with CBQ

Reply
Thread Tools Display Modes

Bandwidth shaping with CBQ

 
 
Graeme Hinchliffe
Guest
Posts: n/a

 
      05-14-2004, 04:51 PM
Hiya
I am trying to setup some bandwidth shaping using the kernel CBQ modules.
I am using the cbq.init script to configure tc for me.

All seems well until I try to implement larger rates. I have a box with
3 interfaces, two of which are setup as a bridge, the third connects
directly to this bridge. The CBQ tree is applied to the ports on the
bridge.

Now these ports are set to 100Mbs, and I am trying to rate limit to
60Mbps per network, so that no more than 60Mbps can be recieved from any
of the given subnets. When I apply the rule the data flow is limited to
30Mbps (approx) regardless of the rate I specify, unless I specify one the
same as the interface, in which case a full 100Mbps is transmitted.

I have adjusted the avpkt to be 1500 (initially it was 1000 and the
throughput was 10Mbps).

The box itself has plenty of umph (dual 2.6 GHz Xeon 2GB RAM) so I can't
see that being a problem, and CPU never goes about 1%

Is there some kind of internal limit with CBQ QoS stuff?

any help resolving this much appreciated

Graeme
 
Reply With Quote
 
 
 
 
joseph philip
Guest
Posts: n/a

 
      05-15-2004, 03:36 PM
On Fri, 14 May 2004 17:51:57 +0100, Graeme Hinchliffe wrote:

> Hiya
> I am trying to setup some bandwidth shaping using the kernel CBQ modules.
> I am using the cbq.init script to configure tc for me.
>
> All seems well until I try to implement larger rates. I have a box with
> 3 interfaces, two of which are setup as a bridge, the third connects
> directly to this bridge. The CBQ tree is applied to the ports on the
> bridge.
>
> Now these ports are set to 100Mbs, and I am trying to rate limit to
> 60Mbps per network, so that no more than 60Mbps can be recieved from any
> of the given subnets. When I apply the rule the data flow is limited to
> 30Mbps (approx) regardless of the rate I specify, unless I specify one the
> same as the interface, in which case a full 100Mbps is transmitted.
>
> I have adjusted the avpkt to be 1500 (initially it was 1000 and the
> throughput was 10Mbps).
>
> The box itself has plenty of umph (dual 2.6 GHz Xeon 2GB RAM) so I can't
> see that being a problem, and CPU never goes about 1%
>
> Is there some kind of internal limit with CBQ QoS stuff?
>
> any help resolving this much appreciated
>
> Graeme



There is no "internal limit" in cbq.

tc -s class show dev eth0
tc -s class show dev eth1
tc -s class show dev eth2

will show you some statistics. You can then identify which class is doing
the transmitting, and see where the problem is.


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bandwidth shaping traffic from/to specific subnet Wolfgang Draxinger Linux Networking 6 02-16-2009 03:08 PM
allied routers and bandwidth shaping Andrzej Linux Networking 1 09-13-2003 09:52 PM
routers with bandwidth shaping/limiting Andrzej Linux Networking 1 09-12-2003 01:03 PM
Bandwidth shaping on the local machine HELP! Graeme Hinchliffe Linux Networking 3 09-12-2003 03:25 AM
Need Custom App for Linux - Bandwidth shaping Johnson Linux Networking 2 09-04-2003 05:40 PM



1 2 3 4 5 6 7 8 9 10 11