[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 1292] Re: configuration (not tested yet)
Gilbert Fernandes wrote:
> a friend helped me and here is the configuration
> file I have wrote. We're going to test it today.
> # Note: I have not defined a "root" class, because
> # the HFSC example of the altq.conf man page
> # (on OpenBSD 3.0) doesn't show one. If needed
> # I will add it:
> class hfsc tl0 root_class NULL pshare 100
You shouldn't define "root"; it is implicitly assumed in HFSC.
> Well, I have not tested this yet. This should
> give a fair sharing between people on the pri_class
> which gets around 70 % of the 2Mbit link,
> and 30 % on other people.
Yes, but you might want to try CBQ. HFSC is theoretically stricter so
that classes need to have constant backlog packets to get their share.
But, in a real setting, a class usually doesn't have constant backlog.
> The real configuration file has seven people
> on the pri_class so I gave a pshare of "14" to
> each one, hope this is good.
Should be ok.
> I have a few questions now :)
> 1. Should I add a "red" to the default class
> to get some fair use of the 30 % left for
> the people on this class ?
RED provides fairness to some extent but only probablistically.
> 2. Can HFSC do a fair sharing of the other
> 70 % between people on the pri_class,
> something like WFQ ?
Nop. HFSC doesn't distinguish flows in the same class.