×

Pseudo-relative mode WRED/tail drop mechanism

  • US 8,441,925 B1
  • Filed: 06/09/2008
  • Issued: 05/14/2013
  • Est. Priority Date: 06/09/2008
  • Status: Active Grant
First Claim
Patent Images

1. A network device comprising:

  • a memory that includes at least a first queue, the memory to store data transmitted via the network device; and

    a processor to;

    determine a current usage level of the memory,select, based on a characteristic of data stored in the first queue, a drop profile associated with a range of memory locations, of the memory,where each of the memory locations is associated with one of a plurality of random early detection (RED) rules, andwhere the drop profile comprises;

    a first portion that is associated with a first range of normalized queue fullness values and includes a first plurality of memory locations, of the range of memory locations, anda second portion that is associated with a second range of normalized queue fullness values and includes a second plurality of memory locations, of the range of memory locations,calculate a normalized weighted average queue fullness value associated with the first queue,determine, based on the drop profile, whether the normalized weighted average queue fullness value is included in the first range of normalized queue fullness values or the second range of normalized queue fullness values,where, when the normalized weighted average queue fullness value is included in the first range of normalized queue fullness values, the processor is to;

    determine that a drop probability associated with the first queue comprises a zero drop probability, andallow data to enter the first queue without dropping any of the data, based on the drop probability comprising the zero drop probability,where, when the normalized weighted average queue fullness value is included in the second range of normalized queue fullness values, the processor is to;

    identify one of the plurality of random early detection (RED) rules based on the normalized weighted average queue fullness value and the range of memory locations, of the drop profile,determine, based on the identified one of the plurality of RED rules, a maximum threshold associated with the first queue,where a rate of change of a drop probability associated with the second range of normalized queue fullness values is based on a slope, associated with the second range of normalized queue fullness values, that varies based on the maximum threshold, andrandomly drop data from the first queue, based on a drop probability obtained from the drop profile when the normalized weighted average queue fullness exceeds the minimum threshold and does not exceed the maximum threshold.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×