×

Techniques for monitoring and managing wait queues

  • US 8,015,327 B1
  • Filed: 09/17/2007
  • Issued: 09/06/2011
  • Est. Priority Date: 09/17/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for managing a wait queue in a system comprising:

  • defining a plurality of buckets associated with the wait queue, each of the plurality of buckets being associated with one or more queue depth values and one or more counters, each of the one or more queue depth values associated with said each bucket representing a possible value for a depth of the wait queue at a point in time indicating a total number of requests in the wait queue waiting to be serviced at said point in time, wherein said defining the plurality of buckets and associating the one or more queue depth values and the one or more counters with each of the plurality of buckets are performed prior to receiving requests for service;

    receiving said requests for service; and

    for each of said requests for service received, performing;

    determining a current depth of the wait queue indicating all requests currently included in the wait queue waiting to be serviced;

    selecting a bucket from said plurality of buckets based on the current depth of the wait queue and a first of one or more queue depth values associated with the bucket selected, wherein said bucket selected is associated with one or more queue depth values including the first queue depth value equal to the current depth of the wait queue;

    recording information by updating said one or more counters of the bucket selected; and

    placing said each request in the wait queue if there is another request currently being serviced or if there is at least one other request currently in the wait queue.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×