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

Annotation of src/share/pf/queue4, Revision 1.2

1.2     ! david       1: # $OpenBSD: queue4,v 1.1 2003/04/29 12:48:35 henning Exp $
1.1       henning     2: #
1.2     ! david       3: # Hierarchical queueing for a university.
1.1       henning     4: # Three faculties; engineering, law and art are defined.
                      5: # Departments under the engineering faculty are defined as child queues.
                      6: # The total bandwidth for engineering faculty is shared between three
                      7: # departments. CS department gets the half of the bandwidth, EE and IE
                      8: # departments get the thirty percent and twenty percent of bandwidth
                      9: # respectively. These sibling departments can use more than their linkshare
                     10: # whenever there is no backlogged sibling queue but when a queue gets
                     11: # backlogged, it is guaranteed that the queue gets its linkshare.
                     12:
                     13: altq on dc0 bandwidth 16Mb hfsc queue { eng law art }
                     14: queue eng bandwidth 10Mb { cs ee ie }
                     15: queue  cs hfsc( default linkshare 50% )
                     16: queue  ee hfsc( linkshare 30% )
                     17: queue  ie hfsc( linkshare 20% )
                     18: queue law bandwidth 3Mb
                     19: queue art bandwidth 3Mb