[BACK]Return to queue4 CVS log [TXT][DIR] Up to [local] / src / share / pf

File: [local] / src / share / pf / Attic / queue4 (download)

Revision 1.2, Fri Aug 22 21:50:34 2003 UTC (20 years, 9 months ago) by david
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.1: +2 -2 lines

pf spelling police
ok dhartmei@ jmc@

# $OpenBSD: queue4,v 1.2 2003/08/22 21:50:34 david Exp $
#
# Hierarchical queueing for a university.
# Three faculties; engineering, law and art are defined.
# Departments under the engineering faculty are defined as child queues.
# The total bandwidth for engineering faculty is shared between three
# departments. CS department gets the half of the bandwidth, EE and IE
# departments get the thirty percent and twenty percent of bandwidth
# respectively. These sibling departments can use more than their linkshare
# whenever there is no backlogged sibling queue but when a queue gets
# backlogged, it is guaranteed that the queue gets its linkshare.

altq on dc0 bandwidth 16Mb hfsc queue { eng law art }
queue eng bandwidth 10Mb { cs ee ie }
queue  cs hfsc( default linkshare 50% ) 
queue  ee hfsc( linkshare 30% ) 
queue  ie hfsc( linkshare 20% )
queue law bandwidth 3Mb
queue art bandwidth 3Mb