Patent ID: 7830796
Filing Date: 2010-11-09
Classification: H04L

Abstract:
1. A method, comprising: receiving, by a traffic shaper, a set of traffic shaping parameters to shape a first stream of data of a plurality of streams of data by the traffic shaper, the set of traffic shaping parameters comprising a sustained rate, a sustained burst size, a peak rate, and a peak burst size; determining an adjusted maximum transmission rate from the set of traffic shaping parameters, wherein the adjusted maximum transmission rate is a maximum constant rate of a constant rate emitter the traffic shaper uses to transmit the first stream of data and the determining the adjusted transmission rate uses the equation if the Tp<BT, where Tp is the delay deviation tolerance for the peak rate traffic and BT is the maximum burst time in which peak rate transmission can last and Rp_adj is further adjusted to a downstream maximum rate if the downstream maximum rate is less than Rp_adj; periodically adding a plurality of tokens to a sustained rate token bucket, wherein the number of the plurality of tokens added is based on the sustained rate and the sustained burst size; monitoring a current transmission rate of the first stream of data the traffic shaper is transmitting; allowing transmission of parts of the first stream of data if there are currently enough tokens in the sustained rate token bucket and based on a comparison of the current transmission rate of the first stream of data and the adjusted maximum transmission rate.