Systems and methods for dropping data using a drop profile
First Claim
Patent Images
1. A system comprising:
- a plurality of queues to store data; and
a processor to;
select a queue of the plurality of queues to examine,store a drop table that includes a plurality of drop probabilities,generate an index into the drop table based on an amount of data stored by the selected queue,identify, using the generated index, a drop probability of the plurality of drop probabilities in the drop table, anddetermine whether to drop data, from a head of the selected queue, based on the identified drop probability,the processor, when determining whether to drop the data, being to;
compare the identified drop probability to a random number,
the random number having a greater number of bits than a number of bits in the identified drop probability, andgenerate a drop decision based on a result of the comparison.
0 Assignments
0 Petitions
Accused Products
Abstract
A system selectively drops data from queues. The system includes a drop table that stores drop probabilities. The system selects one of the queues to examine and generates an index into the drop table to identify one of the drop probabilities for the examined queue. The system then determines whether to drop data from the examined queue based on the identified drop probability.
27 Citations
20 Claims
-
1. A system comprising:
-
a plurality of queues to store data; and a processor to; select a queue of the plurality of queues to examine, store a drop table that includes a plurality of drop probabilities, generate an index into the drop table based on an amount of data stored by the selected queue, identify, using the generated index, a drop probability of the plurality of drop probabilities in the drop table, and determine whether to drop data, from a head of the selected queue, based on the identified drop probability, the processor, when determining whether to drop the data, being to; compare the identified drop probability to a random number,
the random number having a greater number of bits than a number of bits in the identified drop probability, andgenerate a drop decision based on a result of the comparison. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method comprising:
-
selecting, by a device, a queue of a plurality of queues; providing, by the device, a drop table associated with the selected queue, the drop table storing a plurality of drop probabilities; determining, by the device, an amount of data stored by the selected queue; generating, by the device, an index into the drop table based on the determined amount of data; identifying, by the device, a drop probability of the plurality of drop probabilities, stored in the drop table, using the generated index; and determining, by the device and based on the identified drop probability, whether to drop data from a head of the selected queue, the determining including; comparing the identified drop probability to a random number, the random number having a greater number of bits than a number of bits in the identified drop probability, and generating a drop decision based on a result of the comparison. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A non-transitory computer-readable medium including instructions executable by one or more processors, the instructions comprising:
one or more instructions that, when executed by the one or more processors, cause the one or more processors to; select a queue of a plurality of queues to examine, store a drop table that includes a plurality of drop probabilities, generate an index into the drop table, based on an amount of memory used by the selected queue, to identify a drop probability of the drop probabilities, and determine whether to drop data from a head of the selected queue based on the identified drop probability, the one or more instructions to determine whether to drop the data including instructions to; compare the identified drop probability to a random number,
the random number having a greater number of bits than a number of bits in the identified drop probability, andgenerate a drop decision based on a result of the comparison. - View Dependent Claims (15, 16, 17, 18, 19, 20)
Specification