DragonFly kernel List (threaded) for 2008-04
DragonFly BSD
DragonFly kernel List (threaded) for 2008-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Network transition complete + PF question


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Thu, 3 Apr 2008 15:40:35 +0200
Mail-followup-to: kernel@crater.dragonflybsd.org

On Wed, Apr 02, 2008 at 11:08:40PM -0700, Matthew Dillon wrote:
>     I have a question for the PF/ALTQ masters out there.  I am trying to
>     configure PF in a manner similar to what Cisco's fair-queue algorithm
>     does.  Cisco's algorithm basically hashes TCP and UDP traffic based
>     on the port/IP pairs, creating a bunch of lists of backlogged packets
>     and then schedules the packets at the head of each list.

I don't think any of the OS solutions will do that. What you can do for
this kind of application is put all downloads into one class with borrow
property and limit the source connections to a small value. Use a second
rule to drop all the other connections into.

Joerg



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