Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2011 13:15:47 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Implementation details of altq hfsc scheduler in pf 4.5
Message-ID:  <20111213131547.27bda580@gumby.homeunix.com>
In-Reply-To: <CAJcQMWcu38hiMTJKnW=SbEWBXzQ0ZvDMWA=jcyJ1dP2r5xieww@mail.gmail.com>
References:  <CAJcQMWcu38hiMTJKnW=SbEWBXzQ0ZvDMWA=jcyJ1dP2r5xieww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Dec 2011 21:51:39 -0500
Maxim Khitrov wrote:

> I've read everything I could find on the topic of configuring hfsc
> altq in pf (4.5, FreeBSD 9), but I still have no clear idea of how it
> is actually implemented. I even started looking through the source
> code, but that might take a while. My main questions are:
> 
> 1. Difference between 'realtime' and 'linkshare'?

It's about latency, realtime has priority over non-realtime.

> 2. In service curve configuration (m1, d, m2), what is 'd' relative
> to?

It looks like it's a leaky-bucket algorithm. It's not really relative
to anything except for special cases like a traffic step-function.

 
> 3. Are priorities actually used for anything?

Priority determines which queue is serviced next when more than one is
under its limit.



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