Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2007 17:49:25 +0700
From:      Muhammad Reza <beastie@mra.co.id>
To:        Marko Lerota <mlerota@iskon.hr>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: Borrow in CBQ doesn't work
Message-ID:  <1170931765.20774.2.camel@beastie.mra.co.id>
In-Reply-To: <86ireddmqr.fsf@sparrow.local>
References:  <1170892051.4715.32.camel@localhost.localdomain> <86ireddmqr.fsf@sparrow.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2007-02-08 at 10:25 +0100, Marko Lerota wrote:
> Marcelo Celleri <marceloc@espoltel.net> writes:
> 
> > Hi everyone,
> >
> > I'm working with ALTQ, but I realize that the borrow option in cbq
> > queues doesn't work at least like the manual says "A child class can
> > borrow bandwidth from its parent class as long as excess bandwidth is
> > available"
> 
> You are not the only one who find that problem. It must be a bug. 
> I switched to hfsc and borrowing works fine.  
> 
> altq on $int_if hfsc bandwidth 4800Kb queue { def adm usr ser}
>     queue def bandwidth 30Kb hfsc (default realtime 30Kb)
>     queue usr bandwidth 600Kb hfsc (red realtime 600Kb) 
>     queue adm bandwidth 2000Kb hfsc (red realtime 2000Kb) 
>     queue ser bandwidth 1000Kb hfsc (red realtime 1000Kb)
> 
> pass inet proto { tcp, udp } from $admins to any keep state queue adm
> pass inet proto { tcp, udp } from $users to any keep state queue usr
> pass inet proto { tcp, udp } from $servers to any keep state queue ser
> 
> I have this in kernel 
> 
> options         ALTQ
> options         ALTQ_CBQ        # Class Bases Queuing (CBQ)
> options         ALTQ_RED        # Random Early Detection (RED)              
> options         ALTQ_RIO        # RED In/Out
> options         ALTQ_HFSC       # Hierarchical Packet Scheduler (HFSC)
> options         ALTQ_PRIQ       # Priority Queuing (PRIQ)
> options         ALTQ_NOPCC      # Required for SMP build
> options         ALTQ_DEBUG
> options         ALTQ_PRIQ       # Priority Queueing
but it's work fine with OpenBSD

regards
Reza




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1170931765.20774.2.camel>