CPC G06F 16/182 (2019.01) [G06F 16/9017 (2019.01); G06F 16/9027 (2019.01); G06F 16/906 (2019.01); G06F 18/214 (2023.01); G06N 20/00 (2019.01)] | 16 Claims |
1. A computer implemented method for automatically managing storage resources of a distributed file system, the method comprising:
obtaining actual past storage usage data of a first directory from a plurality of directories of the distributed file system extending from a past time to a current time;
detecting a space quota limit for the first directory, the space quota limit defining a maximum limit on total storage for the first directory and associated with a pre-defined expected future time defining a maximum time for use of resources of the first directory;
determining projected storage usage data of the first directory representing a projected storage usage for the first directory over a future time period and as a function of both of: a first derivative of a curve representing the actual past storage usage data projected to at least the expected future time, the first derivative being a rate of change of the projected storage usage over time; and a first derivative of a moving average of the curve projected to at least the expected future time indicative of an average rate of change of the projected storage usage over time;
wherein the first derivative of a moving average of the curve defines a first slope indicating the rate of change of the projected storage usage over time; and the first derivative of the moving average of the curve defines a second slope indicating the average rate of change of the projected storage usage over time;
obtaining an aggregated correction coefficient providing an indication of aggregated projected storage usage needs of all other remaining distributed file system directories relative to the projected storage usage data of the first directory; and
in response to determining an expected value of the projected storage usage data at the expected future time is inconsistent with the space quota limit, adjusting the space quota limit for the first directory to a new quota limit based on the expected value weighted by the aggregated correction coefficient;
wherein the projected storage usage data for the first directory is computed as one of: a median and an average curve of the first derivative of the curve projected to at least the expected future time and the first derivative of the moving average of the curve projected to the expected future time and utilized to calculate the expected value.
|