summaryrefslogtreecommitdiff
path: root/lib/Vyatta/Qos/ShaperClass.pm
AgeCommit message (Collapse)Author
2010-12-08Compute optimium rate to quantum valueStephen Hemminger
Bug 6092 The code now calculates r2q value based on max rate and min rate which gives better accuracy and stops kernel message.
2010-12-07Revert "Add nested shaper classes"Stephen Hemminger
This reverts commit bcb18b96605e194cf8c186467b0a4d853695f75e.
2010-10-19Add nested shaper classesStephen Hemminger
This adds: traffic-policy myexample { bandwidth 100Mbit class 2 { class 2a { ...
2010-08-17Fix shaper class queue calculations for random-detectStephen Hemminger
Need to handle queue-limit better (confusion between bytes and packets) Bug 5872 (cherry picked from commit 94ea365fc966a16807a2086db05ea2877e9b00fa)
2010-08-17Make round-robin quantum per classStephen Hemminger
Bug 5958 (cherry picked from commit 7f42350146525544bd38db2426d6f5c7b99302c2)
2010-07-20Fix message when random-detect bandwidth is too lowStephen Hemminger
2010-07-20Fix random-detect queue to small messageStephen Hemminger
Give correct message when queue limit too small in random detect
2010-07-20Validate shaper class ceilingStephen Hemminger
Bug 5879
2010-07-20Allow larger queue size for sub-queues in Shaper and RoundRobinStephen Hemminger
For queue-type (other than fair-queue), it is allowable to have larger queue size. Move validation into class checking.
2010-07-20Use perltidy to cleanup indentationStephen Hemminger
2010-07-20Expose RED values as constantStephen Hemminger
This makes RED more robust since constant values are visible.
2010-07-19Add check for random-detect on slow speed classStephen Hemminger
The calculation of random-detect queue parameters is based on recommended values from RFC. If allowed bandwidth is too small, the queue will be too small to be useable. In that case just fail.
2010-07-19Add sanity checks for shaper random-detect queue typeStephen Hemminger
Bug 5872 Don't allow stupidly small queue limit, and round up the minimum queue value to be at least one packet.
2009-10-01Handle round-robin without configuration of defaultStephen Hemminger
If default class is not configured Qos. Bug 4529 (cherry picked from commit 0df90b28ca6d9cb6ae4f5267ef8522ac12a0c352)
2009-10-01Allow random-detect for Qos policy types without rateStephen Hemminger
Part of Bug 4516 (cherry picked from commit 8f5e0920e7edd83b8d58d016d7ec6964bf222577)
2009-05-26One more pass over on RED parametersStephen Hemminger
Make sure and get scaling right here.
2009-05-23Reimplementation of WREDStephen Hemminger
Make a simpler version of WRED that acts more like Cisco. Use Diffserv on Linux paper for example of how to use DSMARK and GRED to achieve similar result.
2009-05-22Use better RED parametersStephen Hemminger
Use recommendations from Sally Floyd.
2009-05-20Fix calculation of RED parametersStephen Hemminger
The latency value is in microseconds.
2009-05-19Fix exports for new moduleStephen Hemminger
The exports for Util.pm changed.
2009-05-19Move RED parameter computation to common codeStephen Hemminger
Useful for WRED and shaper RED class.
2009-05-19Add packet-length and latency as class attributesStephen Hemminger
Attributes needed for WRED implementation.
2009-04-14Simplify some code in rate handlingStephen Hemminger
2009-04-13Fix RoundRobin schedulerStephen Hemminger
Need to change assumptions in ShaperClass about bandwidth and this goes over to TrafficShaper and RR.
2009-04-13Allow constructor with out configurationStephen Hemminger
Useful for creating default class without configuration.
2009-04-09Split class and sub qdisc generationStephen Hemminger
Newer features will have non-hierarchal queue disc where there are no classes just sub-queues.
2009-03-20Fix problems created by switch to using 'select'Stephen Hemminger
Some code was still using old interface.
2009-03-17Use select to avoid passing output path aroundStephen Hemminger
Easier to just use 'select' in perl to avoid passing file descriptor everywhere.
2009-02-05Split shaperclass into separate fileStephen Hemminger