CPC G06F 3/0611 (2013.01) [G06F 3/0655 (2013.01); G06F 3/0679 (2013.01)] | 19 Claims |
1. A method, comprising:
receiving a write request to a system;
calculating, based on operating parameters of the system, a total processing time associated with servicing the write request in the system;
determining an actual time taken to store data specified in the write request;
in response to determining that the actual time is less than the total processing time, delaying sending a completion message for the write request to an I/O interface;
monitoring resource usage of the system;
receiving another write request to the system; and
selecting, based on the resource usage, a first mode or a second mode, wherein:
in the first mode, a completion message for the another write request is not delayed;
in the second mode, the completion message for the another write request is delayed when an actual time taken to store data associated with the another write request is less than a total processing time calculated for the another write request; and
the second mode is selected if the resource usage satisfies a threshold condition.
|