# US 2008/0304503 A1 · Traffic manager and method for performing active queue management of discard-eligible traffic

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0304503 A1
- Document ID: US20080304503A1
- Status: Published application
- Kind: A1
- Application number: 11/758,069
- Filed: 2007-06-05
- Published: 2008-12-11
- Earliest claimed: 2007-06-05
- Inventors: Steven Langley Blake
- Web page: https://patentgrep.com/patent/US20080304503A1

## CPC

- H04L 47/10: Flow control; Congestion control
- H04L 47/20: Traffic policing
- H04L 47/21: using leaky-bucket
- H04L 47/2408: for supporting different services, e.g. a differentiated services [DiffServ] type of service
- H04L 47/31: by tagging of packets, e.g. using discard eligibility [DE] bits
- H04L 47/32: by discarding or delaying data units, e.g. packets or frames
- H04L 47/50: Queue scheduling
- H04L 47/6215: {Individual queue per QOS, rate or priority}
- H04L 47/627: {policing}
- H04L 49/3036: {Shared queuing}
- H04L 49/3045: {Virtual queuing}
- H04L 49/503: {Policing}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A traffic manager and a method are described herein that are capable of performing an active queue management of discard-eligible traffic for a shared memory device (with a per-CoS switching fabric) that provides fair per-class backpressure indications.

## Claims

### Claim 1

A traffic manager comprising:
a virtual output queue scheduler with a discard mechanism and a plurality of per-fabric output port/per-Class of Service queues that:
receives a traffic aggregate;
rate monitors the traffic aggregate;
marks a portion of packets in the traffic aggregate as discard-eligible packets whenever the monitored rate of the traffic aggregate exceeds a committed rate,
transmits packets and the discard-eligible packets within the traffic aggregate at a transmission rate that is greater than the committed rate towards a per-Class of Service switching fabric in a shared memory switching device; and
upon receiving a backpressure indication from the shared memory switching device, discards at least a fraction of the discard-eligible packets within the traffic aggregate to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 2 (depends on 1)

The traffic manager of claim 1, wherein said discard mechanism discards the discard-eligible packets by:
setting a discard probability to an initial value that is greater than zero upon receipt of the backpressure indication where the discard probability indicates the fraction of the discard-eligible packets to be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device:
if backpressure persists, then increasing the discard probability a predefined amount at a predefined increase interval until the discard probability reaches a value of one in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device; and
if backpressure reduces then decreasing the discard probability a predefined amount at a predefined decrease interval until the discard probability reaches a value of zero in which case none of the discard-eligible packets would be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 3 (depends on 2)

The traffic manager of claim 2, wherein said discard mechanism increases the discard probability by a constant factor during each predefined increase interval until the discard probability reaches the value of one in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 4 (depends on 2)

The traffic manager of claim 2, wherein said discard mechanism increases the discard probability by a multiplicative factor during each predefined increase interval until the discard probability reaches the value of one in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 5 (depends on 2)

The traffic manager of claim 2, wherein said discard mechanism decreases the discard probability by a constant factor during each predefined decrease interval until the discard probability reaches the value of zero in which case none of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 6 (depends on 2)

The traffic manager of claim 2, wherein said discard mechanism sets the initial value of the discard probability, the predefined increase interval and the predefined decrease interval based on a round-trip latency, a backpressure protocol and a number of fabric ports in the shared memory switching device.

### Claim 7 (depends on 1)

The traffic manager of claim 1, wherein said discard mechanism further includes a virtual leaky bucket that enables the discarding of the discard-eligible packets by:
reducing a virtual leaky bucket service rate by an initial rate upon receipt of the backpressure indication where the reduced virtual leaky bucket service rate controls the fraction of the discard-eligible packets to be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device;
if backpressure persists, then decreasing the virtual leaky bucket service rate a predefined amount at a predefined decrease interval until the virtual leaky bucket service rate reaches a minimum rate in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device; and
if backpressure reduces, then increasing the virtual leaky bucket service rate a predefined amount at a predefined increase interval until the virtual leaky bucket service rate reaches a maximum rate in which case none of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 8 (depends on 7)

The traffic manager of claim 7, wherein said discard mechanism decreases the virtual leaky bucket service rate by a constant factor during each predefined decrease interval until the virtual leaky bucket service rate reaches a minimum rate in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 9 (depends on 7)

The traffic manager of claim 7, wherein said discard mechanism decreases the virtual leaky bucket service rate by a multiplicative factor during each predefined decrease interval until the virtual leaky bucket service rate reaches a minimum rate in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 10 (depends on 7)

The traffic manager of claim 7, wherein said discard mechanism increases the virtual leaky bucket service rate at a constant rate during each predefined increase interval until the virtual leaky bucket service rate reaches the maximum rate in which case none of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 11 (depends on 7)

The traffic manager of claim 7, wherein said discard mechanism sets the initial value of the virtual leaky bucket service rate, the predefined increase interval and the predefined decrease interval based on a round-trip latency, a backpressure protocol and a number of fabric ports in the shared memory switching device.

### Claim 12

A method for performing an active queue management of discard-eligible traffic within a traffic manager which has a virtual output queue scheduler, a discard mechanism and a plurality of per-fabric output port/per-Class of Service queues, said method comprising the steps of:
receiving a traffic aggregate;
rate monitoring the traffic aggregate;
marking a portion of packets in the traffic aggregate as discard-eligible packets whenever the monitored rate of the traffic aggregate exceeds a committed rate;
transmitting packets and the discard-eligible packets within the traffic aggregate at a transmission rate that is greater than the committed rate towards per-Class of Service switching fabric in a shared memory switching device; and
upon receiving a backpressure indication from the fabric switching system discarding at least a fraction of the discard-eligible packets within the traffic aggregate to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 13 (depends on 12)

The method of claim 12, wherein said discarding step includes the following steps:
setting a discard probability to an initial value that is greater than zero upon receipt of the backpressure indication where the discard probability indicates the fraction of the discard-eligible packets to be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device;
if backpressure persists, increasing the discard probability a predefined amount at a predefined increase interval until the discard probability reaches a value of one in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device; and
if backpressure reduces, decreasing the discard probability a predefined amount at a predefined decrease interval until the discard probability reaches a value of zero in which case none of the discard-eligible packets would be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 14 (depends on 13)

The method of claim 13, wherein said increasing step further includes a step of increasing the discard probability by a constant factor during each predefined increase interval until the discard probability reaches the value of one in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 15 (depends on 13)

The method of claim 13, wherein said increasing step further includes a step of increasing the discard probability by a multiplicative factor during each predefined increase interval until the discard probability reaches the value of one in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 16 (depends on 13)

The method of claim 13, wherein said decreasing step further includes a step of decreasing the discard probability by a constant factor during each predefined decrease interval until the discard probability reaches the value of zero in which case none of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 17 (depends on 12)

The method of claim 12, wherein said discard mechanism further includes a virtual leaky bucket and said discarding step includes the following steps:
reducing a virtual leaky bucket service rate by an initial rate upon receipt of the backpressure indication where the reduced virtual leaky bucket service rate controls the fraction of the discard-eligible packets to be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device;
if backpressure persists, decreasing the virtual leaky bucket service rate a predefined amount at a predefined decrease interval until the virtual leaky bucket service rate reaches a minimum rate in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device; and
if backpressure reduces, increasing the virtual leaky bucket service rate a predefined amount at a predefined increase interval until the virtual leaky bucket service rate reaches a maximum rate in which case none of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 18 (depends on 17)

The method of claim 17, wherein said decreasing step further includes a step of decreasing the virtual leaky bucket service rate by a constant factor during each predefined decrease interval until the virtual leaky bucket service rate reaches a minimum rate in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 19 (depends on 17)

The method of claim 17, wherein said decreasing step further includes a step of decreasing the virtual leaky bucket service rate by a multiplicative factor during each predefined decrease interval until the virtual leaky bucket service rate reaches a minimum rate in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 20 (depends on 17)

The method of claim 17, wherein said increasing step further includes a step of increasing the virtual leaky bucket service rate at a constant rate during each predefined increase interval until the virtual leaky bucket service rate reaches the maximum rate in which case none of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 21

A fabric switching system, comprising:
a shared memory switching device having a per-Class of Service switching fabric; and
a plurality of traffic managers, wherein each traffic manager has a virtual output queue scheduler, a discard mechanism and a plurality of per-fabric output port/per-Class of Service queues, and wherein each traffic manager functions to:
receive a traffic aggregate;
rate monitor the traffic aggregate;
mark a portion of packets in the traffic aggregate as discard-eligible packets whenever the monitored rate of the traffic aggregate exceeds a committed rate;
transmit packets and the discard-eligible packets within the traffic aggregate at a transmission rate that is greater than the committed rate towards the shared memory switching device; and
upon receiving a backpressure indication from the fabric switching system, discard at least a fraction of the discard-eligible packets within the traffic aggregate to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 22 (depends on 21)

The fabric switching system of claim 21, wherein each discard mechanism discards the discard-eligible packets by:
setting a discard probability to an initial value that is greater than zero upon receipt of the backpressure indication where the discard probability indicates the fraction of the discard-eligible packets to be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device;
if backpressure persists, then increasing the discard probability a predefined amount at a predefined increase interval until the discard probability reaches a value of one in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device; and
if backpressure reduces, then decreasing the discard probability a predefined amount at a predefined decrease interval until the discard probability reaches a value of zero in which case none of the discard-eligible packets would be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.

### Claim 23 (depends on 21)

The fabric switching system of claim 21, wherein each discard mechanism further includes a virtual leaky buck and discards the discard-eligible packets by:
reducing a virtual leaky bucket service rate by an initial rate upon receipt of the backpressure indication where the reduced virtual leaky bucket service rate controls the fraction of the discard-eligible packets to be discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device;
if backpressure persists, then decreasing the virtual leaky bucket service rate a predefined amount at a predefined decrease interval until the virtual leaky bucket service rate reaches a minimum rate in which case all of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device; and
if backpressure reduces, then increasing the virtual leaky bucket service rate a predefined amount at a predefined increase interval until the virtual leaky bucket service rate reaches a maximum rate in which case none of the discard-eligible packets are discarded to reduce the transmission rate of the traffic aggregate to the shared memory switching device.
