Active flow management with hysteresis
First Claim
1. A method for managing and transmitting a plurality of data packets through a queue in a computer network system, comprising the steps of:
- determining a transmit probability of a computer network system queue as a function of an average occupancy level;
determining a low level threshold for the queue as a fraction of a maximum capacity of the queue wherein the transmit probability is one;
determining a hysteresis level threshold for the queue as a positive hysteresis factor multiple of the low level threshold wherein the hysteresis level threshold is greater than the low level threshold and less than the maximum capacity of the queue;
initializing a hysteresis flag to ON;
in response to the queue receiving a first burst of packets wherein the hysteresis flag is set to ON;
(a) comparing a queue level to the hysteresis level threshold, and(b) if the queue level is less than the hysteresis level threshold, the queue receiving and transmitting the first burst and revising the transmit probability;
or(c) else randomly dropping at least one packet from the first burst responsive to the transmit probability and transmitting a remainder of the first burst packets, revising the transmit probability and resetting the hysteresis flag to OFF;
in response to the queue receiving a subsequent burst of packets;
determining an ON/OFF state of the hysteresis flag;
if the determined hysteresis flag state is ON, then performing the hysteresis level threshold (a) comparing and (b) receiving, transmitting and revising or (c) dropping, transmitting, revising and resetting steps with respect to the subsequent burst;
orif the determined hysteresis flag state is OFF, then comparing a queue level to the low level threshold, andif the queue level is less than the low level threshold and an aggregate traffic bandwidth presented to a network link connecting the queue to a node transmitting the subsequent burst is less than a maximum bandwidth capacity supported by the link, the queue receiving and transmitting the subsequent burst, revising the transmit probability, and resetting the hysteresis flag to ON;
orelse the queue receiving the subsequent burst, randomly dropping at least one packet from the subsequent burst in response to the transmit probability, transmitting a remainder of the subsequent burst packets, and revising the transmit probability.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention provides for a computer network method and system that applies “hysteresis” to an active queue management algorithm. If a queue is at a level below a certain low threshold and a burst of packets arrives at a network node, then the probability of dropping the initial packets in the burst is recalculated, but the packets are not dropped. However, if the queue level crosses beyond a hysteresis threshold, then packets are discarded pursuant to a drop probability.
Also, according to the present invention, queue level may be decreased until it becomes less than the hysteresis threshold, with packets dropped per the drop probability until the queue level decreases to at least a low threshold. In one embodiment, an adaptive algorithm is also provided to adjust the transmit probability for each flow together with hysteresis to increase the packet transmit rates to absorb bursty traffic.
-
Citations
15 Claims
-
1. A method for managing and transmitting a plurality of data packets through a queue in a computer network system, comprising the steps of:
-
determining a transmit probability of a computer network system queue as a function of an average occupancy level; determining a low level threshold for the queue as a fraction of a maximum capacity of the queue wherein the transmit probability is one; determining a hysteresis level threshold for the queue as a positive hysteresis factor multiple of the low level threshold wherein the hysteresis level threshold is greater than the low level threshold and less than the maximum capacity of the queue; initializing a hysteresis flag to ON; in response to the queue receiving a first burst of packets wherein the hysteresis flag is set to ON; (a) comparing a queue level to the hysteresis level threshold, and (b) if the queue level is less than the hysteresis level threshold, the queue receiving and transmitting the first burst and revising the transmit probability;
or(c) else randomly dropping at least one packet from the first burst responsive to the transmit probability and transmitting a remainder of the first burst packets, revising the transmit probability and resetting the hysteresis flag to OFF; in response to the queue receiving a subsequent burst of packets; determining an ON/OFF state of the hysteresis flag; if the determined hysteresis flag state is ON, then performing the hysteresis level threshold (a) comparing and (b) receiving, transmitting and revising or (c) dropping, transmitting, revising and resetting steps with respect to the subsequent burst;
orif the determined hysteresis flag state is OFF, then comparing a queue level to the low level threshold, and if the queue level is less than the low level threshold and an aggregate traffic bandwidth presented to a network link connecting the queue to a node transmitting the subsequent burst is less than a maximum bandwidth capacity supported by the link, the queue receiving and transmitting the subsequent burst, revising the transmit probability, and resetting the hysteresis flag to ON;
orelse the queue receiving the subsequent burst, randomly dropping at least one packet from the subsequent burst in response to the transmit probability, transmitting a remainder of the subsequent burst packets, and revising the transmit probability. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A data flow manager configured for managing and transmitting data packets through a queue in a computer network system, comprising:
-
a queue having a queue level in communication with the data flow manager; and a node in communication with the queue through a network link, the link having a maximum bandwidth capacity; wherein the data flow manager is configured to; determine a transmit probability of the queue as a function of an average queue occupancy level; determine a low level threshold for the queue as a fraction of a maximum capacity of the queue wherein the transmit probability is one; determine a hysteresis level threshold for the queue as a positive hysteresis factor multiple of the low level threshold wherein the hysteresis level threshold is greater than the low level threshold and less than the maximum capacity of the queue; in response to the queue receiving a first burst of packets wherein a hysteresis flag is set to ON; (a) compare a queue level to the hysteresis level threshold, and (b) if the queue level is less than the hysteresis level threshold, cause the queue to receive and transmit the first burst, the data manager further configured to revise the transmit probability;
or(c) else cause the queue to randomly drop at least one packet from the first burst responsive to the transmit probability and transmit a remainder of the first burst packets, the data manager further configured to revise the transmit probability and reset the hysteresis flag to OFF; in response to the queue receiving a subsequent burst of packets; determine an ON/OFF state of the hysteresis flag; if the determined hysteresis flag state is ON, performing the hysteresis level threshold (a) compare and (b) receive, transmit and revise or (c) drop, transmit, revise and reset steps with respect to the subsequent burst;
orif the determined hysteresis flag state is OFF, compare a queue level to the low level threshold, and; if the queue level is less than the low level threshold and an aggregate traffic bandwidth presented to the network link is less than the maximum bandwidth capacity, cause the queue to receive and transmit the subsequent burst, the data manager further configured to revise the transmit probability and reset the hysteresis flag to ON;
orelse cause the queue to receive the subsequent burst, randomly drop at least one packet from the subsequent burst in response to the transmit probability, and transmit a remainder of the subsequent burst packets, the data manager further configured to revise the transmit probability. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An article of manufacture comprising a computer usable medium having a computer readable program embodied in said medium, wherein the computer readable program, when executed on a computer, causes the computer to manage network data flow by:
-
determining a transmit probability of a computer network system queue as a function of an average occupancy level; determining a low level threshold for the queue as a fraction of a maximum capacity of the queue wherein the transmit probability is one; determining a hysteresis level threshold for the queue as a positive hysteresis factor multiple of the low level threshold wherein the hysteresis level threshold is greater than the low level threshold and less than the maximum capacity of the queue; initializing a hysteresis flag to ON; in response to the queue receiving a first burst of packets wherein the hysteresis flag is set to ON; (a) comparing a queue level to the hysteresis level threshold, and (b) if the queue level is less than the hysteresis level threshold, causing the queue to receive and transmit the first burst, the computer system revising the transmit probability;
or(c) else causing the queue to randomly drop at least one packet from the first burst responsive to the transmit probability and transmit a remainder of the first burst packets, the computer system revising the transmit probability and resetting the hysteresis flag to OFF; in response to the queue receiving a subsequent burst of packets; determining an ON/OFF state of the hysteresis flag; if the determined hysteresis flag state is ON, then performing the hysteresis level threshold (a) comparing and (b) receiving, transmitting and revising or (c) dropping, transmitting, revising and resetting steps with respect to the subsequent burst;
orif the determined hysteresis flag state is OFF, comparing a queue level to the low level threshold, and if the queue level is less than the low level threshold and an aggregate traffic bandwidth presented to a network link connecting the queue to a node transmitting the subsequent burst is less than a maximum bandwidth capacity supported by the link, causing the queue to receive and transmit the subsequent burst, the computer system revising the transmit probability and resetting the hysteresis flag to ON;
orelse causing the queue to receive the subsequent burst and randomly drop at least one packet from the subsequent burst in response to the transmit probability and transmit a remainder of the subsequent burst packets, the computer system revising the transmit probability. - View Dependent Claims (12, 13, 14, 15)
-
Specification