×

Adjusting input/output operation arrival times to represent a token bucket that enforces maximum rate and burst size limits

  • US 9,537,777 B1
  • Filed: 03/30/2015
  • Issued: 01/03/2017
  • Est. Priority Date: 03/30/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method of using an input/output time parameter to represent a number of tokens in a token bucket in order to enforce a maximum rate limit for input/output operations directed to a storage resource, comprising executing, on at least one processor, the steps of:

  • setting a minimum permitted input/output operation inter-arrival time period to an inverse of the maximum rate limit;

    processing an initially received input/output operation by setting the input/output time parameter to an arrival time of the initial input/output operation; and

    processing each subsequently received input/output operation bysetting an inter-arrival time period parameter to a difference between an arrival time of the received input/output operation and the input/output time parameter,determining whether the inter-arrival time period parameter is less than the minimum permitted input/output operation inter-arrival time, andin response to determining that the inter-arrival time period parameter is not less than the minimum permitted input/output operation inter-arrival time, determining that there is at least one token available in the token bucket and accordingly allowing the input/output operation to be performed on the storage resource, and decrementing the number of tokens in the token bucket by adding the minimum permitted input/output operation inter-arrival time to the input/output time parameter.

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