Method, server system and computer program product for managing resources
AssigneeEMC IP Holding Company LLC
InventorsJunping Zhao, Fan Guo, Kun Wang
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a method, a server system and a computer program product of managing resources. The method may comprise receiving a request for a first amount of resources of the dedicated processing unit from an application with an assigned priority. The method may further comprise determining a total amount of resources of the dedicated processing unit to be occupied by the application based on the request. The method may also comprise in response to the total amount approximating or exceeding a predetermined quota associated with the priority, allocating the first amount of resources of the general-purpose processing unit to the application.
Claims20
A method of managing resources, comprising:
- receiving a request for a first amount of resources of a dedicated processing unit from an application with an assigned priority;
- determining, based on the request, a total amount of resources of the dedicated processing unit to be occupied by the application;
- in response to the total amount approximating or exceeding a predetermined quota associated with the priority, allocating the first amount of resources of a general-purpose processing unit to the application;
- in response to the application releasing a portion of resources of the dedicated processing unit occupied previously, determining whether a total amount of resources of the dedicated processing unit occupied by the application after the releasing is below the predetermined quota by a threshold difference;
- and
- in response to the total amount of resources after the releasing being below the predetermined quota by the threshold difference, migrating at least a portion of data occupying the allocated resources of the general-purpose processing unit to the resources of the dedicated processing unit.
A server system, comprising:
- a dedicated processing unit;
- a general-purpose processing unit;
- and
- a controller configured to:
- receive a request for a first amount of resources of the dedicated processing unit from an application with an assigned priority;
- determine, based on the request, a total amount of resources of the dedicated processing unit to be occupied by the application;
- in response to the total amount approximating or exceeding a predetermined quota associated with the priority, allocate the first amount of resources of the general-purpose processing unit to the application;
- in response to the application releasing a portion of resources of the dedicated processing unit occupied previously, determine whether a total amount of resources of the dedicated processing unit occupied by the application after the releasing is below the predetermined quota by a threshold difference;
- and
- in response to the total amount of resources after the releasing being below the predetermined quota by the threshold difference, migrate at least a portion of data occupying the allocated resources of the general-purpose processing unit to the resources of the dedicated processing unit.
A computer program product being tangibly stored on a non-volatile computer readable medium and including machine executable instructions which, when executed, cause a machine to perform a method of managing resources, the method comprising:
- receiving a request for a first amount of resources of a dedicated processing unit from an application with an assigned priority;
- determining, based on the request, a total amount of resources of the dedicated processing unit to be occupied by the application;
- in response to the total amount approximating or exceeding a predetermined quota associated with the priority, allocating the first amount of resources of a general-purpose processing unit to the application;
- in response to the application releasing a portion of resources of the dedicated processing unit occupied previously, determining whether a total amount of resources of the dedicated processing unit occupied by the application after the releasing is below the predetermined quota by a threshold difference;
- and
- in response to the total amount of resources after the releasing being below the predetermined quota by the threshold difference, migrating at least a portion of data occupying the allocated resources of the general-purpose processing unit to the resources of the dedicated processing unit.
Dependencies are inferred from the claim text.