Abstract:
An advance is made over the prior art in accordance with the principles of the present invention that is directed to a new approach for a system and method for a buffer management scheme. Certain embodiments of the invention improve the response of AQM schemes with controllable parameters to variations of the output rate of the bottleneck buffer. The impact on TCP performance can be substantial in most cases where the bottleneck rate is not guaranteed to be fixed. The new solution allows AQM schemes to achieve queue stability despite continuous variations of the bottleneck rate.

Description:
RELATED APPLICATIONS 
       [0001]    The invention claims the benefit of U.S. Provisional Application Ser. No. 61/648,863, filed May 18, 2012. 
     
    
     TECHNICAL FIELD 
       [0002]    This invention relates generally to communications systems and more particularly to memory allocation for packet buffers of network elements in IP networks. 
       BACKGROUND OF THE INVENTION 
       [0003]    Many Active Queue Management (AQM) schemes have been proposed in the last 20 years since Random Early Detection (RED) was first presented in S. Floyd and V. Jacobson, “Random early detection gateways for congestion avoidance,” IEEE/ACM Transactions on Networking, 1(4):397-413, 1993. As opposed to the conventional tail-drop policy, which drops an incoming packet only if the packet finds the queue fully loaded, AQM schemes start dropping packets when the queue is still far from filling up. By proper spacing of the early packet drop decisions, AQM balances the amount of packets that are removed from the data path because of the reduced activity of the TCP sources that experience the packet losses with the amount of packets that all the other sources keep adding to the data path. 
         [0004]    The performance of AQM schemes has been studied extensively, but almost exclusively under steady bottleneck rates. Since standard frameworks for Quality of Service, see for example, S. Blake et al., “An architecture for differentiated services,” IETF RFC 2475, December 1998, and IEEE 802.1Q &lt;http://www.ieee802.org/1/pages/802.1Q-2011.html&gt;, typically assign lower scheduling priority to TCP versus other types of traffic, in practice the output rate of the TCP buffer is continuously modulated by the arrival rate of higher-priority traffic. The rather negative effects of bottleneck rate variations on the link utilization performance of buffer management schemes are documented in Y. Zheng, M. Lu, and Z. Feng, “Performance evaluation of adaptive AQM algorithms in a variable bandwidth network,” IEICE Transactions on Communications E86-B(6):2060-2067, June 2003 and J. Zhou, F. Ren, and C. Lin, “Modeling the effects of variable bandwidth on TCP throughput,” ICCCN 2009, San Francisco, Calif., August 2009. In addition, the results presented in A. Baiocchi and F. Vacirca, “TCP fluid modeling with a variable capacity bottleneck link,” IEEE INFOCOM 2007, Anchorage, Ak., May 2007, indicate that those effects are mostly controlled by the relationship between the round-trip time (RTT) of the TCP connections and the fundamental time constant of the bottleneck rate function (BRF), which represents the evolution of the bottleneck rate over time. There is very little that an AQM scheme can do to prevent the TCP buffer from overflowing when the amplitude of the bottleneck rate variations is large compared to the size of the buffer. However, an effective AQM scheme can help prepare the TCP connections for a faster throughput recovery, so that the long-term consequences of the buffer overflow events are much milder. 
         [0005]    What is desired are methods for improving the response of AQM schemes to bottleneck rate variations, so that the negative impact of those variations on TCP throughput is minimized. 
       SUMMARY 
       [0006]    An advance is made over the prior art in accordance with the principles of the present invention that is directed to a new approach for a system and method for a buffer management scheme. Certain embodiments of the invention improve the response of AQM schemes with controllable parameters to variations of the output rate of the bottleneck buffer. The impact on TCP performance can be substantial in most cases where the bottleneck rate is not guaranteed to be fixed. The new solution allows AQM schemes to achieve queue stability despite continuous variations of the bottleneck rate. 
         [0007]    In one embodiment of the invention, a method of operating a packet buffer in a communications network is set forth, wherein the packet buffer is operable to accept multiple flows of packets. A method of operating a packet buffer is included, the packet buffer operable to accept multiple flows of packets, wherein an average queue length (AQL) value of said packet buffer is calculated, said method comprising: 
         [0008]    comparing the AQL with a first threshold, wherein a packet drop rate remains unchanged as long as the AQL is less than the first threshold; 
         [0009]    tracking a first timer representative of a time since a latest buffer overflow event, a second timer representative of a time since the buffer was last empty, and a third timer representative of a time since a packet loss was last triggered by an active queue management (AQM) decision; and 
         [0010]    updating the packet drop rate if said AQL is greater than said first threshold and comparison with said first timer indicates that within a given time no buffer overflow has occurred, and comparison with said second timer indicates that within a given time the buffer has not been empty or comparison with said third timer indicates that within a given time there has been at least one packet loss triggered by said AQM decision. 
         [0011]    In some embodiments, wherein an instantaneous queue length (IQL) value of said buffer is calculated, said method of operating a packet buffer further includes: 
         [0012]    comparing the IQL with a second threshold; and 
         [0013]    triggering packet losses when the IQL is greater than said second threshold, at time intervals whose duration depends on a distance between said IQL and said second threshold. 
         [0014]    In some embodiments the larger the distance between said IQL and said second threshold, the shorter the time interval. 
         [0015]    In some embodiments an AQM scheme updates parameters that control packet drop decisions at time intervals that depend on the distance between the AQL and said second threshold when the AQL is greater than said second threshold. 
         [0016]    In some embodiments the larger the distance between the AQL and said second threshold, the more frequent the updates. 
         [0017]    In some embodiments the updates are less frequent than extra packet losses controlled by the IQL, but more frequent than the updates of drop-decision parameters triggered by the AQM scheme when the AQL is between a third threshold and said second threshold, wherein said third threshold is an AQL threshold, not larger than said second threshold, above which the AQM scheme can ordinarily update parameters that control packet drop decisions. 
         [0018]    In some embodiments a drop period is reduced by a given amount when the buffer overflows. 
         [0019]    In some embodiments a drop period timer that controls a periodic update of a packet drop period is checked when said buffer overflows, wherein if said drop period timer has expired, said drop period is reduced by said given amount. 
         [0020]    In some embodiments said given amount is one half. 
         [0021]    Another embodiment includes a method of operating a packet buffer, the packet buffer operable to accept multiple flows of packets, wherein an average queue length (AQL) value of said packet buffer is calculated, said packet buffer including an active queue management (AQM) scheme that includes a drop period, expiration of which triggers a sampling of said AQL, said method comprising: 
         [0022]    providing a first timer, τ u , that is reset when a packet drop period is updated; a second timer,ρ o , that is reset when the buffer overflows, a third timer, τ e , that is disabled when the buffer becomes empty and reset when the buffer leaves the empty state and a fourth timer, τ d , that is reset when the AQM scheme drops a packet; 
         [0023]    upon expiration of a fifth timer τ q , calculating a new AQL value and comparing said new AQL value to a first threshold, wherein if the AQL exceeds said first threshold, a check is performed to determine if said timer τ u  and said timer τ o  are expired and said timer τ e  is not disabled and the timer τ e  has expired; and 
         [0024]    updating the packet drop period if said new AQL value is greater than said first threshold and said second and third or second and fourth timers are expired. 
         [0025]    Another embodiment includes a method of operating a packet buffer, the packet buffer operable to accept multiple flows of packets, wherein an average queue length (AQL) value of said packet buffer is calculated, and wherein an instantaneous queue length (IQL) value of said buffer is calculated, said method comprising: 
         [0026]    increasing the frequency of packet drop decisions without lowering the drop period when the IQL approaches buffer saturation levels. 
         [0027]    In some embodiments when the IQL exceeds a safety threshold, dropping a next packet if a packet drop has not occurred within a given IQL suspension time. 
         [0028]    In some embodiments further including lowering a drop period when the AQL exceeds a safety threshold, if a given suspension time has elapsed since a latest drop period update. 
         [0029]    In some embodiments a timer τ s   IQL  is reset upon a packet drop decision and expires after a time T S   IQL =τ D  exp{[(q−b safe   PED )/(Q max −b safe   PED )]ln(τ D   (l) /τ D )}. 
         [0030]    In some embodiments a timer τ s   AQL  is reset when a time a timer τ p  that controls periodic updates of a packet drop period expires or when the packet drop period is updated, said timer τ s   AQL  expiring after a time T S   AQL =τ D  exp{[(  q −b safe   PED )/(Q max −b safe   PED )]ln(τ D   (l) /τ D )}. 
         [0031]    In some embodiments that include said timer τ s   IQL , including a timer τ q  for updating the AQL, wherein when said timer τ q  expires it is checked if q&gt;b safe   PED  AND the timer τ s   IQL  has expired, wherein if so, a next incoming packet is dropped. 
         [0032]    Another embodiment includes a communications device having memory, said memory having stored therein a plurality of instructions, said device further including a packet buffer, the packet buffer operable to accept multiple flows of packets, wherein an average queue length (AQL) value of said packet buffer is calculated, wherein the plurality of instructions, when executed by a processor, cause the processor to perform the steps of: 
         [0033]    comparing the AQL with a first threshold, wherein a packet drop rate remains unchanged as long as the AQL is less than the first threshold; 
         [0034]    tracking a first timer representative of a time since a latest buffer overflow event, a second timer representative of a time since the buffer was last empty, and a third timer representative of a time since a packet loss was last triggered by an active queue management (AQM) decision; and 
         [0035]    updating the packet drop rate if said AQL is greater than said first threshold and comparison with said first timer indicates that within a given time no buffer overflow has occurred, and comparison with said second timer indicates that within a given time the buffer has not been empty or comparison with said third timer indicates that within a given time there has been at least one packet loss triggered by said AQM decision. 
         [0036]    In some embodiments an instantaneous queue length (IQL) value of said buffer is calculated, further including: 
         [0037]    comparing the IQL with a second threshold; and 
         [0038]    triggering packet losses when the IQL is greater than said second threshold, at time intervals whose duration depends on a distance between said IQL and said second threshold. 
         [0039]    In some embodiments the larger the distance between said IQL and said second threshold, the shorter the time interval. 
         [0040]    In some embodiments an AQM scheme updates parameters that control packet drop decisions at time intervals that depend on the distance between the AQL and said second threshold when the AQL is greater than said second threshold. 
         [0041]    In some embodiments the larger the distance between the AQL and said second threshold, the more frequent the updates. 
         [0042]    Another embodiment includes a communications device having memory, said memory having stored therein a plurality of instructions, said device further including a packet buffer, the packet buffer operable to accept multiple flows of packets, wherein an average queue length (AQL) value of said packet buffer is calculated, and wherein an instantaneous queue length (IQL) value of said buffer is calculated, wherein the plurality of instructions, when executed by a processor, cause the processor to perform the steps of: 
         [0043]    increasing the frequency of packet drop decisions without lowering the drop period when the IQL approaches buffer saturation levels; and 
         [0044]    wherein when the IQL exceeds a safety threshold, dropping a next packet if a packet drop has not occurred within a given IQL suspension time. 
         [0045]    In some embodiments further including lowering a drop period when the AQL exceeds a safety threshold, if a given suspension time has elapsed since a latest drop period update. 
         [0046]    In some embodiments further including a check if q&gt;b safe   PED  AND the timer τ s   AQL  has expired, wherein if so the packet drop period is decreased. 
     
    
     
       BRIEF DESCRIPTION OF THE DRAWING 
         [0047]    The teachings of the present invention can be readily understood by considering the following detailed description in conjunction with the accompanying drawings, in which: 
           [0048]      FIGS. 1 ,  2 ,  3 ,  4  and  5  show exemplary plots for average and instantaneous queue length under different scenarios described for each figure 
           [0049]      FIG. 6  shows exemplary Pseudo-code for a drop period update in accordance with the exemplary embodiments; 
           [0050]      FIGS. 7   a ,  7   b ,  7   c ,  7   d  and  7   e  show an exemplary flow diagram for the methodology of the present invention; and 
           [0051]      FIG. 8  shows a high level block diagram of an exemplary communications device for implementing the methodology of the present invention. 
       
    
    
     DETAILED DESCRIPTION 
       [0052]    Exemplary embodiments of the invention will now be described while referring to the figures, several of which may be simultaneously referred to during the course of the following description. Before describing the present invention, however, we will continue with some discussion of the prior art as it relates to aspects of the present invention. 
         [0053]    The RED active queue management scheme that was mentioned in the background section has intrinsically good dynamic properties because it adjusts the packet drop rate instantly as the average queue length (AQL) keeps trailing the instantaneous queue length (IQL). However, RED suffers from the general problem that there is not a single choice of configuration parameters that makes it work well with all possible traffic configurations. Given a set of values for the configuration parameters, a RED queue will perform well at steady state and with variable bottleneck rate only if the traffic mix is compatible with the parameters. The inability of RED to work well with a large set of traffic scenarios is the very reason why the data networking community keeps devising new AQM schemes. 
         [0054]    The Adaptive RED (ARED) scheme described in S. Floyd, R. Gummadi, and S. Shenker, “Adaptive RED: An algorithm for increasing the robustness of RED&#39;s active queue management,” August 2001, http://icir.org/floyd/papers/adaptiveRed.pdf, tries to address the limitations of RED by adding a control mechanism that dynamically adjusts the maximum drop probability (one of RED&#39;s parameters) to the AQL. If the AQL grows too large, ARED increases the maximum drop probability to lower the AQL. If the AQL is too low, ARED decreases the maximum drop probability to increase the AQL. The updates of maximum drop probability occur at fixed time intervals, typically large enough to include the round-trip times (RTT&#39;s) of most TCP connections in the traffic mix. Unfortunately, as originally defined the control loop that regulates the maximum drop probability ends up locking systematically the maximum drop probability onto its minimum allowed value. As a consequence, ARED performs exactly the same way as RED with the maximum drop probability set equal to the minimum value that ARED allows for the parameter.  FIG. 1  shows an example of evolution of the IQL and AQL when the minimum value allowed by ARED for the maximum drop probability is too high for the traffic mix of the experiment. As shown, a number of queue length oscillations  10  occur as represented by the continuous peaks and valleys registered by the AQL and IQL variables. Queue length oscillations that include extended time intervals with no packets in the queue indicate instability due to incompatibility of the ARED parameters with the traffic mix. 
         [0055]    The Periodic Early Detection (PED) scheme set forth in A. Francini, “Beyond RED: Periodic early detection for on-chip buffer memories in network elements,” Proceedings of IEEE HPSR 2011, Cartagena, Spain, July 2011 and described in U.S. patent application Ser. No. 13/006142, entitled System And Method For Implementing Periodic Early Discard In On-Chip Buffer Memories Of Network Elements, filed on Jan. 13, 2011, both of which references are incorporated herein by reference, uses a fixed packet drop rate (instead of one that changes instantly with the AQL, as in RED and ARED) for extended periods of time. At fixed time intervals of duration T, sized with similar criteria as those utilized by ARED for control of the maximum drop probability, PED looks at the AQL to assess the success of the current packet drop rate at keeping the queue length balanced. If the AQL is smaller than a threshold b min   PED , PED reduces the packet drop rate. If the AQL is larger than a threshold b max   PED &gt;b PED   min , PED increases the packet drop rate. PED leaves the packet drop rate unchanged if the AQL is in between the two thresholds. PED exhibits excellent steady-state performance. Once the configuration parameters are adjusted to the maximum output rate C max , they work well with any traffic mix with steady bottleneck rate. This is the most important practical benefit of PED over RED. However, as originally specified, PED may be slow at moving the packet drop rate into the range that restores the queue in equilibrium after a change of bottleneck rate. The delay in finding the equilibrium rate translates into losses of link utilization that in adverse circumstances may be disadvantageous.  FIG. 2  shows a first example of the consequences of PED&#39; s inability to move the packet drop rate quickly into the desired range: the buffer overflows before PED can effectively take control of the queue length. That is,  FIG. 2  shows a number of queue oscillations  20  when PED fails to find the right value of a packet drop rate before the buffer overflows. This behavior is similar to that exhibited by ARED when it locks on the minimum value allowed for the maximum drop probability.  FIG. 3  shows a second example of the negative impact of a slow response to a temporary change in the bottleneck rate: it takes more than 10 seconds to restore full utilization of the bottleneck link after the disruptive event, which translates into a long-term loss of TCP throughput. More specifically,  FIG. 3  illustrates a delay  30  by PED in restoring full utilization of the bottleneck link after a short-lived drop of bottleneck rate. 
         [0056]    Embodiments of the present invention disclose methods for improving the AQM response to bottleneck rate variations. The focus is specifically on AQM schemes, such as but not limited to Adaptive RED and Periodic Early Detection, which resort to an inline control mechanism for periodically adjusting the parameters that drive the packet drop decisions. In the specific case of Adaptive RED, some embodiments of the invention improve the control of the maximum drop probability, so that ARED does not get locked onto the minimum value allowed. In the specific case of PED, embodiments of the invention improve the control of the packet drop rate, so that it quickly reaches the value range that keeps the queue in equilibrium. In all cases embodiments of the invention affect the setting of the time between consecutive packet drop decisions by the AQM scheme, shortly referred to as the packet drop period. 
         [0057]    In one embodiment of the invention, a method is provided for not decreasing the frequency of packet drop decisions when the queue length is found to be small for reasons that are not related to the operation of the AQM scheme. Application of the method prevents the frequency of the packet drop decisions from settling on the minimum value allowed before the AQM scheme can actually start dropping packets. 
         [0058]    This embodiment relies on a means or methodology to detect low-occupancy conditions in the queue that are not the result of excessive packet losses triggered by the AQM scheme. Such means include the comparison of the AQL with a threshold b lock &lt;b min  (b min  is the AQL buffer threshold below which the AQM scheme may update its parameters to decrease the frequency of packet drop decisions), so that the packet drop frequency does not change as long as the AQL is smaller than b lock . The means also include measurements of the time τ o  since the latest buffer overflow event, of the time τ e  since the queue was last empty, and of the time τ d  since a packet loss was last triggered directly by the AQM scheme. When the AQL is larger than b lock , the update of the packet drop rate is only allowed if the comparison of the three time measures with respective thresholds indicates that in the recent past no buffer overflow has occurred and the queue has not been empty, or that no buffer overflow has occurred and there has been at least one packet loss triggered directly by the AQM scheme. 
         [0059]    A second embodiment of the invention increases the frequency of packet drop decisions when the queue length is rapidly drifting towards saturating and possibly overflowing the available buffer space. Application of the methodology in the second embodiment increases the frequency of early packet drop events before the buffer overflows, helping the TCP sources achieve a faster restoration of full-utilization throughput at the bottleneck link during the time that follows a change of bottleneck rate. 
         [0060]    The second embodiment methodology relies on the comparison of the IQL with a threshold b safe &gt;b max , where b max  is the AQL threshold above which the AQM scheme can ordinarily update the parameters that control the packet drop decisions, so that the frequency of the packet drop decisions increases. As the IQL grows larger than b safe , the AQM scheme triggers packet losses at time intervals whose duration depends on the distance between the IQL and b safe : the larger the distance, the shorter the time interval between consecutive packet drop decisions. When the AQL also crosses b safe , the AQM scheme updates the parameters that control the time separation between consecutive packet drop decisions at time intervals that depend on the distance between the AQL and b safe : the larger the distance, the more frequent the updates of the parameters. Such updates are less frequent than the extra packet losses controlled by the IQL, but more frequent than the updates of drop-decision parameters triggered by the AQM scheme when the AQL is between b max  and b safe . 
         [0061]    A third embodiment provides a methodology for updating the parameters that drive the packet drop decisions when a buffer overflows, to the effect of increasing the frequency of the packet drop decisions, and for imposing a maximum frequency on those updates, so that the frequency of the packet drop decisions does not increase indefinitely. Application of the method ensures that the frequency of the packet drop decisions does not remain locked onto a very small value at times when the traffic mix produces fast oscillations of the queue length. 
         [0062]      FIG. 4  shows the benefits of the application of the method of the first embodiment to the PED scheme, under the same traffic configuration that produced the plot of  FIG. 2 . 
         [0063]    Referring to  FIG. 5 , application of the second and third embodiment methods of the invention to the PED scheme is shown. As can be seen, more frequent early packet losses when the buffer is about to overflow prepare the TCP sources for a faster throughput restoration after the bottleneck rate settles again. 
         [0064]    The following description refers to an embodiment of the methods of the present invention for the Periodic Early Detection (PED) AQM scheme. A summary of the PED scheme precedes the description of the embodiment. 
       Basic PED Specification 
       [0065]    PED combines three synchronous processes that operate at different timescales. First, at the packet timescale PED drops packets at fixed time intervals when signs of congestion are evident. Second, at the round-trip-time (RTT) timescale a control algorithm adjusts the packet drop rate to the evolution of the AQL, which is maintained by the third process. 
         [0066]    PED uses a drop timer with period τ D  to trigger the sampling of the IQL q and AQL  q . Then it compares q and  q  with respective thresholds b min   PED  and b gate   PED &lt;b min   PED  If Q&gt;b min   PED  AND  q &gt;b gate   PED , PED drops the next incoming packet; otherwise it accepts into the queue the next packet and all the packets that follow, up to the next expiration of the drop period. 
         [0067]    At time intervals not shorter than a time constant T that is large enough to include the RTT values of most TCP connections, PED compares  q  with b min   PED  and with a second threshold b max   PED &gt;b min   PED , increasing τ D  if  q &lt;b min   PED  and decreasing it if  q &gt;b max   PED . The size of the period correction is modulated by α=  q /b min   PED  for period increases and by α=b max   PED /  q  for period decreases. The period τ D  remains unchanged when the AQL sample lies between the two thresholds. The pseudo-code of  FIG. 6  summarizes the update of the drop period after at least a time T has elapsed since the previous update. In the equations, τ D   (l)  is the minimum and also the initial value of the drop period and τ D   (u)  is the maximum value. 
         [0068]    Referring to  FIG. 6 , pseudo-code is shown for an exemplary implementation of a drop period update. The code summarizes the update of the packet drop period after at least a time T has elapsed since the latest drop period update. In the equations of  FIG. 6 , α is either the ratio between the AQL and the minimum PED threshold (for period increases) or the ratio between the maximum PED threshold and the AQL (for period decreases). The period correction is maximum when α=0. 
         [0069]    The period τ q  of the process that maintains the AQL is larger than the inter-departure time of packets of typical size at the full capacity of the link (e.g., τ q ≧1500 B/10 Gbps=1.2 μs), but not larger than a small fraction (e.g., 5%) of the target average delay (τ q ≦0.05·1 ms=50 μs). PED computes  q  as an exponential weighted moving average  q [n]=w·q[n]+(1−w)·  q [n−1], where the weight w is the ratio between the averaging period and the PED time constant: w=τ q /T. 
         [0070]    The following is an exemplary list of configuration parameters that drive the operation of PED, inclusive of exemplary recommended settings for a 10 Gbps link: (a) Q max  is the total buffer space available; Q max =8 MB keeps the average queueing delay well below 5 ms and enables an on-chip implementation of buffer memories; (b) b gate   PED  is the gating PED threshold, 10% of Q max  (b gate   PED =0.8 MB); (c) b min   PED  is the minimum PED threshold, 20% of Q max  (b min   PED =1.6 MB); (d) b max   PED  is the maximum PED threshold, 40% of Q max  (b max   PED =3.2 MB); (e) τ q  is the update period for the AQL (τ q =10 μs); (f) T is the time between consecutive drop period corrections and coincides with the inverse of the cutoff frequency of the low-pass filter that computes  q ; T=500 ms covers most RTT distributions; (g) w is the averaging weight for the AQL (w=τ q lT=0.00002); (h) τ D   (l)  is the minimum and initial drop period, slightly larger than τ q  (τ D   (l) =100 μs); and (i) τ D   (u)  is the maximum drop period, never larger than T (τ D   (u) =500 ms). 
         [0071]    The values of all parameters depend on the link capacity but not on the number, type, and RTT distribution of the TCP flows that traverse the PED buffer. This is the most tangible practical advantage of PED over RED. 
       Application to PED for a First Exemplary Embodiment (Suspension of Drop Period Increases) 
       [0072]    In traffic configurations with large average RTT it takes a long time for the TCP sources to saturate the link capacity again after a global synchronization event. During the throughput restoration time the AQL remains well below b min   PED , so that τ D , increased every time T expires, may easily rise up to its maximum value τ D   (u) . Then, after the AQL crosses b gate   PED , PED can only drop packets at the lowest rate possible. For the first downward correction of the drop period to happen, PED must wait until the AQL exceeds B max   PED , which may be too late for preventing the queue from overflowing and starting the same cycle all over again. 
         [0073]    PED should simply not increase the drop period if the AQL is low just because of ordinary TCP dynamics. The correction should only occur when it is clear that a short drop period has triggered too many packet losses. A new threshold, for example, b lock   PED =b gate   PED /2 enforces the principle: when  q &lt;b lock   PED  the drop period is locked and cannot be updated. Unfortunately, this modification alone creates an opposite risk of queue instability induced by a drop period that is persistently too small. If the AQL grows quickly between b lock   PED  and b gate   PED , it gives no time for the drop period to increase before PED starts dropping packets at a very high rate, causing the buffer to deplete quickly. This way the drop period never gets a chance to reach the value that balances the queue, and the link remains under-utilized. 
         [0074]    This issue is remedied by allowing more frequent updates of the drop period when the AQL is between b lock   PED  and b gate   PED . Instead of waiting for the expiration of T,PED must pace the drop period using a multiple of the period itself (10τ D  as an example works consistently well): the larger the drop period, the less the drop period needs to be increased. Finally, it is desirable to trigger period increases only at times when there is evidence that the drop period is too small. At a time when τ D  is eligible for an increase, the AQL may be found between b lock   PED  and b gate   PED  shortly after a buffer overflow (the drop period is likely too large), or shortly after a queue visit to the empty state (the TCP sources are still working to restore the link throughput), or a long time after a packet loss triggered directly by PED (the drop period is not responsible for the current placement of the AQL): the enhanced PED according to an embodiment of the invention skips the period increase when it detects any of these conditions by comparing the time elapsed since the latest occurrence of each of the three events with respective thresholds derived from the time constant T. 
         [0075]    In the first exemplary embodiment of the invention, PED is implemented with the support of four independent timers: a fast update timer τ u , an overflow timer τ o , a latest AQM drop timer τ d , and an empty buffer timer τ e . The fast update timer τ u  is reset every time the period update timer τ p  expires (τ p  controls the periodic update of the packet drop period), or when the packet drop period τ D  is updated; τ u  expires after a time that is a multiple of the packet drop period, e.g., 10τ D . The overflow timer τ o  is reset every time the buffer overflows and expires after a time equal to the time constant T. The empty buffer timer τ e  is disabled when the buffer becomes empty and reset when the buffer leaves the empty state; it expires after a time T/2. The latest AQM drop timer τ d  is reset every time PED drops a packet (this excludes packet drop events due to buffer overflow) and expires after a time T. When the AQL is updated (upon expiration of the AQL timer τ q ), PED checks if b lock   PED &lt;q&lt;b gate   PED  AND the timer τ u  has expired AND the timer τ o  has expired. If yes, a check is done to determine if q&gt;b gate   PED  AND the timer τ e  is not disabled AND the timer τ e  has expired. If yes, the packet drop period is updated using the PED formula for drop period increases. If not, a check is done to determine if the timer τ d  has expired. If not, the packet drop period is updated using the PED formula for drop period increases, otherwise the drop period is left unchanged. PED also performs the same sequence of operations when the period update timer τ p  expires. 
       Application to PED for a Second Exemplary Embodiment (Early Acceleration of Packet Drop Decisions) 
       [0076]    It is difficult for an AQM scheme to prevent a buffer from overflowing when the amplitude of the bottleneck rate variation is too large compared to the total buffer space. However, even when the buffer does overflow, there is room for improving the AQM response to the effect of shortening the subsequent throughput recovery time and enabling higher link utilization in the long term. With PED, one way to improve the response to sharp bottleneck rate fluctuations is to increase the frequency of packet drop decisions without lowering the drop period when the IQL rapidly drifts towards saturation levels. While accelerated losses help spread the buffer overflow episode over a longer time, producing less catastrophic global synchronization effects, the drop period should not be modified heavily before the new mix of TCP connections has started settling. When  q &gt;b gate   PED  and the IQL exceeds a safety threshold b safe   PED &gt;b max   PED , PED drops the next packet if it has not done so for a suspension time T S   IQL  such that τ D   (l) &lt;T S   IQL &lt;τ D . T S   IQL  should be closer to τ D  when the IQL is closer to b safe   PED  and closer to τ D   (l)  when the IQL approaches Q max . The following exemplary function serves this purpose well: T S   IQL =τ D  exp{[(q−b safe   PED )/(Q max −b safe   PED )]ln(τ D   (l) /τ D )}. This choice of time between consecutive packet drop decisions aims at establishing a monotonic increasing packet drop rate when the IQL continuously exceeds b safe   PED . 
         [0077]    In the second embodiment, the drop period is also lowered if  q &gt;b safe   PED  after a suspension time T S   AQL =τ D  exp{[(  q −b safe   PED )/(Q max −b safe   PED )]ln(τ D   (l) /τ D )} has elapsed since the latest period update (T S   AQL  T S   IQL  because  q  trails q in this particular situation). 
         [0078]    The second embodiment is implemented in PED with the support of two added independent timers. A timer τ s   IQL  is reset every time PED drops a packet. It expires after a time T S   IQL =τ D  exp{[(q−b safe   PED )/(Q max −b safe   PED )]ln(τ D   (l) /τ D )}. The timer τ s   AQL  is reset every time the timer τ p  that controls the periodic update of the packet drop period expires or when the packet drop period is updated; it expires after a time T S   AQL =τ D  exp{[(  q −b safe   PED )/(Q max −b safe   PED )]ln(τ D   (l) /τ D )}. When the timer τ q  for updating the AQL expires, PED checks if q&gt;b safe   PED  AND the timer τ s   IQL  has expired. If yes, PED drops the next incoming packet. Next, PED checks if  q &gt;b safe   PED  AND the timer τ s   IQL  has expired. If yes, PED decreases the packet drop period using the formula for period reductions. PED performs the same checks involving q and  q  upon expiration of the timer τ p  that controls the periodic update of the packet drop period. 
       Application to PED for a Third Exemplary Embodiment (Reduction of Packet Drop Period Upon Buffer Overflow) 
       [0079]    In a third embodiment, the drop period is halved when the buffer overflows, imposing a minimum time T between updates: if the buffer overflows for a time longer than T, it means that the new traffic mix is faster at increasing the link load and will likely require a higher packet drop rate when it settles. 
         [0080]    One exemplary embodiment is implemented in PED with the support of a timer τ p . When the buffer overflows, PED checks if the timer τ p  has expired. If yes, the packet drop period is halved and the timer τ p  is reset. If not, PED leaves the drop period and the timer τ p  unchanged. 
         [0081]    As discussed previously, the exemplary configuration parameters reflect one exemplary embodiment of the present invention. Those skilled in the art would recognize that other parameters and parameter values may be chosen. 
       Operation 
       [0082]    Referring now to  FIG. 7   a , a flow diagram  100  is shown for the implementation of embodiments of the methodology in accordance with the present invention. The flow begins at beginning point A  102 . Next, at a first step  104 , a decision box is reached and it is determined whether a new packet has arrived. If not the flow proceeds to transition point B  106 . If a new packet has arrived, then the flow proceeds to step  107  where it is determined whether the buffer is full. If not another decision box  108  is reached where it is determined whether the AQM is waiting for a packet to drop. If so, a packet is dropped at step  110  and the latest AQM drop timer is reset at step  112 . After step  112  the method proceeds to transition point B  106 . Returning to decision box  108 , if the AQM is not waiting for a packet to drop, then another decision box  114  is reached that determines whether the buffer is empty. If the buffer is empty, then the buffer timer is reset at step  116 . At step  118  a packet is added to the buffer and the method proceeds to transition step B  106 . If at decision box  107  the buffer is full, then at step  120  a packet is dropped. At decision box  122 , it is determined whether the overflow timer has expired. If not, the method proceeds to transition point B  106 . If the overflow timer has expired, then the drop period is updated and the period update timer is reset at step  124 . The overflow timer at step  126  and the fast update timer at step  128  are also reset. The method then proceeds to transition point B  106 . 
         [0083]    Referring to  FIG. 7   b , the method begins again at transition point B  106 . At this point, the flow diagram proceeds to decision box  130  where it is determined whether the packet transmission has ended. If yes, then at decision box  132 , it is determined if the buffer is empty. If so, then the empty buffer timer is disabled at step  134 . If at steps  130  and  132 , the transmission had ended or the buffer was empty, then the flow proceeds towards transition point C  136 . 
         [0084]    Referring to  FIG. 7   c , after reaching transition step C  136 , the method proceeds to decision box  138  where it is determined whether the AQL timer has expired. If not, the method proceeds to transition step E  140 . If the AQL timer has expired, the AQL timer is reset and the AQL value is updated at step  142 . Next, at decision box  144  it is determined whether the AQL threshold is between the AQL lock and AQL gate thresholds. If yes, a number of timers are examined to see if they have expired beginning with the fast update timer at decision box  146 . Next, the overflow timer is checked for expiration at decision box  148 . If yes, it is determined at decision box  150  whether the empty buffer timer has expired. If either the fast update timer or overflow timer has not expired, then the method proceeds toward transition point D  154 . If the AQL value is not within the two thresholds, then the method proceeds toward decision box  156 . 
         [0085]    Returning to decision box  150 , if the empty buffer has not expired, then the method proceeds to decision box  152  where it checks if the AQM drop timer has expired. If so, the method proceeds toward transition point D  154 . If not, or if the empty buffer timer did expire, then the drop period is updated and the period update timer is reset at step  158 . The fast update timer is then also reset at step  160  and the method proceed toward transition point D  154 . 
         [0086]    At decision box  156  of  FIG. 7   c  it is determined whether the AQL value is above the safety threshold. If so, decision box  162  is reached where it is determined whether the AQL suspension time has elapsed. If not, or if the AQL value was not above the safety threshold, then the method proceeds toward transition point D. If the AQL suspension time has elapsed at step  162 , then an AQM drop decision is set at step  164 . Next, a start time for AQL suspension time is set at step  166  and the drop period is updated and the period update timer are reset at step  168 . Next, the fast update timer is reset at step  170 , where following this step, the method proceeds toward beginning transition point A  102 . 
         [0087]    Referring to  FIG. 7   d , the method reaches transition point D  154 . This brings the method to decision box  172  at which it is determined whether the IQL value is above the safety threshold. If so, it is determined whether the IQL suspension time has elapsed. If so, an AQM drop decision is set at step  178  and a start time is set for the IQL suspension time at step  180 . Thereafter, transition point E  182  is reached. If the IQL value was not above the safety threshold at step  172  or if the IQL suspension time did not elapse at  174 , then the method proceeds toward transition point E  182 . 
         [0088]    Referring to  FIG. 7   e , after transition point E  182 , a decision box  184  is reached that determines whether the period update timer has expired. If so, another decision box  186  is reached that determines whether the AQL value is between the lock threshold and the gate threshold. If yes, a first of a number of timers, the overflow timer at decision box  188 , is checked for expiration. If the period update at step  184  or the overflow timer at step  188  have not expired, the method proceeds to transition point A  102 . If the overflow timer at step  188  has expired, then the empty buffer timer is checked for expiration at decision box  190 . If not, the method proceeds to a next decision box  192  that determines whether the latest AQM drop timer has expired. If the AQM drop timer has expired, the method proceeds to transition point A  102 . If the latest drop timer has not expired or if the empty buffer timer at step  190  has expired, then the method proceeds to step  198 . 
         [0089]    At step  186 , if the AQL value is not between the lock threshold and the gate threshold, then the method proceeds to decision box  194 . Here, it is determined whether the AQL value is above the safety threshold. If yes, the method moves to step  196  where the AQM drop decision is set. At next step  198  the drop period is updated and the period update timer is reset. At next step  200 , the fast update timer is reset. The method then proceeds to transition point A  102 . At decision box  194 , if the AQL is not above the safety threshold, a next decision box  202  is reached. Here, it is determined whether the IQL value is above the safety threshold. If yes, the AQM drop decision is set at  204 . If no, the method proceeds to transition point A  102 . 
         [0090]    Referring to  FIG. 8 , there is shown one exemplary embodiment of a communications node  300  that is capable of implementing the methodology of the present invention. As can be seen, the node  300  includes at least one processor  302  which couples to system memory  304  (e.g., any forms of Random Access Memory (RAM) and Read Only Memory (ROM)). The communications node also includes a plurality of input and output ports  305 ,  306 . One or more memory buffers  308  are utilized to buffer the communications traffic that is received at and transmitted from the communications node  300 . As would be understood, the processor executes program code that is stored in memory in order to carry out the prescribed functionality of the communications node. Program code for carrying out the described methodologies of the present invention may be stored in system memory  304  and executed by processor  302 . 
         [0091]    The foregoing description merely illustrates the principles of the invention. It will thus be appreciated that those skilled in the art will be able to devise various arrangements, which, although not explicitly described or shown herein, embody the principles of the invention, and are included within its spirit and scope. Furthermore, all examples and conditional language recited are principally intended expressly to be only for instructive purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions. Moreover, all statements herein reciting principles, aspects, and embodiments of the invention, as well as specific examples thereof, are intended to encompass both structural and functional equivalents thereof. Additionally, it is intended that such equivalents include both currently known equivalents as well as equivalents developed in the future, i.e., any elements developed that perform the same function, regardless of structure. Many other modifications and applications of the principles of the invention will be apparent to those skilled in the art and are contemplated by the teachings herein. Accordingly, the scope of the invention is limited only by the claims.