Patent ID: 11861176
Assignee: NETAPP, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. A distributed storage system comprising:
a processing resource; and
a non-transitory computer-readable medium, coupled to the processing resource, having stored therein instructions that when executed by the processing resource cause the distributed storage system to:
for each volume of a plurality of volumes of the distributed storage system, periodically calculate a target latency for input/output (IO) operations to be processed for the volume during an IO processing interval by:
monitoring and calculating one or more system metrics of the distributed storage system, including one or more of a measure of load on the distributed storage system and a measure of fullness of block storage available within the distributed storage system;
determining a target number of IO operations per second (target IOPS) to be processed during the IO processing interval for the volume based on the one or more system metrics; and
determining the target latency by dividing the IO processing interval by the target number of IO operations; and

smooth-out latency experienced by IO operations received by the distributed storage system by:
responsive to receipt of an IO operation for a given volume of the plurality of volumes at a particular time, delaying processing of the IO operation by placing the IO operation on a queue and associating a latency with the IO operation based on the target latency for the given volume; and
responsive to expiration of a time period based on the first time and the latency, removing the IO operation from the queue and processing the IO operation.