×

Dynamic receive queue balancing with high and low thresholds

  • US 8,346,999 B2
  • Filed: 12/15/2009
  • Issued: 01/01/2013
  • Est. Priority Date: 12/15/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • assigning a network application to at least one first core processing unit, from among a plurality of core processing units;

    assigning a first receive queue to said first core processing unit, wherein the first receive queue is configured to receive packet flow associated with the network application;

    defining a high threshold for the first receive queue, said high threshold defining a point above which said first receive queue is at risk of an overload condition;

    monitoring the packet flow in the first receive queue and comparing a packet flow level in the first receive queue to the high threshold;

    wherein if the packet flow level exceeds the threshold based on the comparing, generating a queue status message indicating that the packet flow level in the first queue has exceeded the queue high threshold;

    defining a low threshold for at least a second receive queue, the low threshold being a percentage of the overall capacity of the second receive queue and below the high threshold; and

    monitoring a packet flow of the second receive queue and comparing a packet flow level of the second receive queue to the low threshold;

    wherein if the packet flow level in the second receive queue falls below the low threshold, generating the status message that further indicates that the packet flow level in the second queue is below the low threshold;

    wherein if the packet flow level in the second queue remains above the low threshold, adjusting the low threshold incrementally upward a predetermined amount or until the low threshold is above the packet flow level in the second queue.

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