Patent ID: 11907564
Assignee: YADRO INTERNATIONAL LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 4:
5. A method for determining an amount of garbage collection requests to be initiated by a computer system, the method executable by an electronic device associated with the computer system, the method comprising:
acquiring historical data representative of an amount of initiated I/O requests, excluding garbage collection requests, to be processed by the computer system over a pre-determined period of time;
determining, based on the historical data, a maximum number of initiated I/O requests;
determining, based on the historical data, an average number of initiated I/O requests over the pre-determined period of time;
determining, based on the average number of initiated I/O requests, a normal state threshold number of initiated I/O requests;
determining, based on the maximum number of initiated I/O requests, a high-load state threshold number of initiated I/O requests corresponding to a high-load state, wherein the high-load state threshold number is higher than the normal state threshold number;
acquiring a number of currently initiated I/O requests, excluding garbage collection requests, to be processed by the computer system;
determining that the number of currently initiated I/O requests is lower than the high-load state threshold number;
after determining that the number of currently initiated I/O requests is lower than the high-load state threshold number, determining a difference between the number of currently initiated I/O requests and the normal state threshold number; and
initiating an amount of garbage collection requests equal to the difference between the number of currently initiated I/O requests and the normal state threshold number.