Adaptive resource management of a data processing system
First Claim
1. A computer-implemented method for resource management of a data processing system, the method comprising:
- for each of a plurality of programs running within the data processing system;
assigning a priority to the program based on a role of the program wherein the role is determined from entitlement information obtained from the program, wherein the entitlement information defines functionality or resources that the program is entitled to request or utilize during execution;
storing a program identifier identifying the program in a priority band of a priority queue, wherein the priority queue includes a plurality of priority bands, each priority band being associated with one of a plurality of priorities, wherein the storing includes storing a data structure associated with the program identifier containing entitlement information obtained from the program;
in response to a request to reduce memory usage of the data processing system, retrieving a program identifier from the priority band of the priority queue that has lowest priority and having at least one program identifier stored therein; and
performing a memory recovery operation on the program having the retrieved program identifier.
0 Assignments
0 Petitions
Accused Products
Abstract
A method for resource management of a data processing system is described herein. According to one embodiment, a token is periodically pushed into a memory usage queue, where the token includes a timestamp indicating time entering the memory usage queue. The memory usage queue stores a plurality of memory page identifiers (IDs) identifying a plurality of memory pages currently allocated to a plurality of programs running within the data processing system. In response to a request to reduce memory usage, a token is popped from the memory usage queue. A timestamp of the popped token is then compared with current time to determine whether a memory usage reduction action should be performed.
-
Citations
16 Claims
-
1. A computer-implemented method for resource management of a data processing system, the method comprising:
-
for each of a plurality of programs running within the data processing system; assigning a priority to the program based on a role of the program wherein the role is determined from entitlement information obtained from the program, wherein the entitlement information defines functionality or resources that the program is entitled to request or utilize during execution; storing a program identifier identifying the program in a priority band of a priority queue, wherein the priority queue includes a plurality of priority bands, each priority band being associated with one of a plurality of priorities, wherein the storing includes storing a data structure associated with the program identifier containing entitlement information obtained from the program; in response to a request to reduce memory usage of the data processing system, retrieving a program identifier from the priority band of the priority queue that has lowest priority and having at least one program identifier stored therein; and performing a memory recovery operation on the program having the retrieved program identifier. - View Dependent Claims (2, 3, 4, 5, 6, 7, 15, 16)
-
-
8. A non-transitory computer-readable storage medium having instructions stored therein, which when executed by a processor, cause the processor to perform a method for resource management of a data processing system, the method comprising:
-
for each of a plurality of programs running within the data processing system; assigning a priority to the program based on a role of the program wherein the role is determined from entitlement information obtained from the program, wherein the entitlement information defines functionality or resources that the program is entitled to request or utilize during execution; storing a program identifier identifying the program in a priority band of a priority queue, wherein the priority queue includes a plurality of priority bands, each priority band being associated with one of a plurality of priorities, wherein the storing includes storing a data structure associated with the program identifier containing entitlement information obtained from the program; in response to a request to reduce memory usage of the data processing system, retrieving a program identifier from the priority band of the priority queue that has lowest priority and having at least one program identifier stored therein; and performing a memory recover operation on the program having the retrieved program identifier. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification