[CentOS] Bandwidth limiting

Kenneth Kalmer kenneth.kalmer at gmail.com
Mon Aug 8 16:58:12 UTC 2005


On 8/8/05, Joe Klemmer <klemmerj at webtrek.com> wrote:
> Kenneth Kalmer wrote:
> 
> > CBQ is still part of CentOS,
> 
>         Really?  I couldn't find it in the yum repos.

Yes really, see below...

> 
> # yum search shapecfg
> Searching Packages:
> Setting up Repos
> update                    100% |=========================|  951 B  00:00
> 
> base                      100% |=========================| 1.1 kB  00:00
> 
> addons                    100% |=========================|  951 B  00:00
> 
> extras                    100% |=========================| 1.1 kB  00:00
> 
> Reading repository metadata in from local files
> update    : ################################################## 84/84
> base      : ################################################## 1406/1406
> extras    : ################################################## 30/30
> No Matches found

It's not a package on it's own. It's in the iproute2 package, for more
information see the following man pages: tc(8), tc-cbq(8), tc-htb(8),
tc-sfq(8), tc-red(8), tc-tbf(8), tc-pfifo(8), tc-bfifo(8),
tc-pfifo_fast(8), tc-filters(8)

I've never used shapecfg, but I can assume that it's only a utility
for setting up CBQ-based traffic shaping... cbq.init and htb.init will
do the same...

> 
> > but i'd highly recommend using HTB instead.
> 
>         Ok, thanks.  I'm off to freshmeat.

Save the butchery for later, goto
http://sourceforge.net/projects/htbinit/
http://luxik.cdi.cz/~devik/qos/htb/ (very technical, but intersting)
http://lartc.org/howto (a definite must!!!)

> 
> > If you want to use CBQ, you can the cbq.init script from
> > http://sourceforge.net/projects/cbqinit/ and I'd also recommend having
> > a look at http://lartc.org
> 
>         Again, thanks.

Always a pleasure to help some bandwidth get into shape

-- 

Kenneth Kalmer
kenneth.kalmer at gmail.com

Folding at home stats
http://vspx27.stanford.edu/cgi-bin/main.py?qtype=userpage&username=kenneth%2Ekalmer



More information about the CentOS mailing list