主权项 |
1. A computer program product comprising a non-transitory computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:
for a given period of time, determine average write throughput to a solid-state storage device over the given period of time; responsive to determining the average write throughput to the solid-state storage device over the given period of time is greater than a high throughput threshold, increment a time register; responsive to determining the average write throughput to the solid-state storage device over the given period of time is less than a low throughput threshold, decrement the time register; responsive to the time register exceeding a high throttle threshold, set throttling on write throughput to the solid-state storage device; and responsive to the time register falling below a low throttle threshold, remove throttling on write throughput to the solid-state storage device. |