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

[altq:1818] Re: Dynamic ALTQ Question



Nicolas Christin wrote:
> On Mon, 12 May 2003, Akash Malhotra wrote:
> > I want to change the % allocation dyanmically means I dont want to
> > kill altqd and flush out the packets which are there in the queue.
> > In other word I should be able to change the configuraiton of the
> > interface without flushing out the packets.
> >
> > Is there any way to do this? Any kind of help is appreciated
> 
> Akash,
> 
> I don't think you can do that, at least not with the stock ALTQ.

Right.  altqd(8) doesn't support modifying a class on the fly.
But ALTQ has a C API for it, intended to support RSVP's modifyflow.
It is used in altq-3.1/rsvpd-kit/tc_altq.c.

Alternatively, you can use 2 boxes for diffserv; one for packet
marking and the other for queueing.  Then, modify traffic conditioners
won't cause packet loss.

> (Does the pf-based version allows for dynamic reconfiguration?)

Nop.

-Kenjiro