Re: [LARTC] Prio queue with many bands

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 06 June 2003 02:40 pm, you wrote:
> On Friday 06 June 2003 18:30, Michael Ulitskiy wrote:
> > Hi,
> >
> > I'm wondering if there's any simple classfull queue like prio that supports
> > at least 256 bands? I don't care about priomap or some additional
> > functionality, I just want to divide traffic in 256 bands using hashing
> > filters using as least resources as possible. I understand I can do that
> > with htb for example, but I guess htb is much more resourse-consuming.
> Why do you think so?  I think you will surprised how many active classes an 
> old 486 can handle.  It also depends on the maximum bandwidth the box has to 
> shape.

I think so because unlike simple prio queue htb has to maintain some timers and
counters and buffers. I'm not saying that htb is heavy, but I'm quite sure that prio is lighter.
I have to shape /19 at the moment and possibly more in the future. In this case
I want to save as much resourses as possible and attach htb classes to the 
simple queue bands.

Has anyone tried just to change TC_PRIO_MAX and TC_PRIO_BANDS values in
/usr/src/linux/include/linux/pkt_sched.h?
 
> Stef

Michael


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux