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

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

1.1     ! henning     1: # $OpenBSD$
        !             2: #
        !             3: # Hierarchial queueing for a university.
        !             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