Netdev List
 help / color / mirror / Atom feed
From: "Kingsley Foreman" <kingsley@internode.com.au>
To: <netdev@vger.kernel.org>
Subject: help with cbq scheduling
Date: Thu, 22 Jan 2009 21:45:20 +1030	[thread overview]
Message-ID: <D23A1874EC384E71A8E4B0EA5CD2FDF6@UgLyPuNk> (raw)

Im having a small problem with scheduling which I was hoping i could get 
some help with.

Im trying to setup a semi complex set of pools for a project im working on. 
Im using cbqinit however I don't understand how or if parents work the way 
im expecting them too.

What I want to do is have 3 main pools ( on a gig link)

A 400mbits max
B 400mbits max
c 300mbits max

however under "c" I want some sub pools

c.1 150mbit max
c.2 200mbit max
c.3 250mbit max

However I don't want the sub groups of "c" to ever use more then the 
300mbits it is allowed.

Ive tried using parent in cbqinit however it is ignoring the "c" pool rule 
and just using however much the sub pools c1, c2, c3 want to use. So it is 
using a max of 600mbits not 300mbits.


my cbqinit files are

cbq-1280.A
________________________________________
DEVICE=eth0,1000Mbit,100Mbit
RATE=400Mbit
WEIGHT=40Mbit
REALM=5
LEAF=none
BOUNDED=yes
_______________________________________

cbq-1281.B
________________________________________
DEVICE=eth0,1000Mbit,100Mbit
RATE=400Mbit
WEIGHT=40Mbit
RULE=xxx.xxx.xxx.xxx:80,
LEAF=none
BOUNDED=yes
_______________________________________

cbq-1282.C
________________________________________
DEVICE=eth0,1000Mbit,100Mbit
RATE=300Mbit
WEIGHT=30Mbit
LEAF=none
BOUNDED=yes
_______________________________________

cbq-1283.C1
________________________________________
DEVICE=eth0,1000Mbit,100Mbit
RATE=150Mbit
WEIGHT=15Mbit
RULE=xxx.xxx.xxx.xxx:80,
LEAF=none
PARENT=1282
BOUNDED=yes
_______________________________________

cbq-1284.C2
________________________________________
DEVICE=eth0,1000Mbit,100Mbit
RATE=200Mbit
WEIGHT=20Mbit
RULE=xxx.xxx.xxx.xxx:80,
LEAF=none
PARENT=1282
BOUNDED=yes
_______________________________________

cbq-1285.C3
________________________________________
DEVICE=eth0,1000Mbit,100Mbit
RATE=150Mbit
WEIGHT=15Mbit
RULE=xxx.xxx.xxx.xxx:80,
LEAF=none
PARENT=1282
BOUNDED=yes
_______________________________________



Any help would be great. Im stumped, or just mis-interpreting things.


Kingsley Foreman
Technical Leader Content Services / Content Services Group

=============================================
Internode Systems Pty Ltd

PO Box 284, Rundle Mall 5000
Level 5 150 Grenfell Street, Adelaide 5000
Phone:  +61 8 8228 2978
Fax:    +61 8 8235 6978
Web:    http://www.internode.on.net
        http://games.on.net
============================================= 


                 reply	other threads:[~2009-01-22 11:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D23A1874EC384E71A8E4B0EA5CD2FDF6@UgLyPuNk \
    --to=kingsley@internode.com.au \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox