Performance management based on resource consumption
First Claim
Patent Images
1. A computer-implemented method for performance management of a data processing system, the method comprising:
- selecting a first application program having a first application program type for resource usage monitoring, wherein the first application program is running in a background state while the first application program is executing one or more first application tasks or one or more system tasks and is not directly interacting with the user or directly viewable by a user of the data processing system, and the first application program is not a daemon;
determining a resource consumption threshold and a detection period for the first application program having the first application program type, wherein the resource consumption threshold and the detection period for the first application program are based at least in part on the first application program type;
monitoring a resource usage of the first application program, in response to selecting the first application program for resource usage monitoring and determining the resource consumption threshold and detection period for the first application program;
determining whether the monitored resource usage of the first application program exceeds the resource consumption threshold over the duration of the detection period;
terminating the first application program when the resource usage exceeds the resource consumption threshold over the duration of the detection period;
receiving statistics characterizing one or more previous terminations of a plurality of application programs having the first application program type;
dynamically adjusting the detection period of the first application program type based on the statistics.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus of a device for performance management by terminating application programs that consume an excessive amount of system resources is described. The device receives a resource consumption threshold and a detection period. The device further monitors a resource usage of an application program. The device determines whether the resource usage of the application program exceeds the resource consumption threshold for the detection period. The device further terminates the application program when the resource usage exceeds the resource consumption threshold for the detection period.
39 Citations
27 Claims
-
1. A computer-implemented method for performance management of a data processing system, the method comprising:
-
selecting a first application program having a first application program type for resource usage monitoring, wherein the first application program is running in a background state while the first application program is executing one or more first application tasks or one or more system tasks and is not directly interacting with the user or directly viewable by a user of the data processing system, and the first application program is not a daemon; determining a resource consumption threshold and a detection period for the first application program having the first application program type, wherein the resource consumption threshold and the detection period for the first application program are based at least in part on the first application program type; monitoring a resource usage of the first application program, in response to selecting the first application program for resource usage monitoring and determining the resource consumption threshold and detection period for the first application program; determining whether the monitored resource usage of the first application program exceeds the resource consumption threshold over the duration of the detection period; terminating the first application program when the resource usage exceeds the resource consumption threshold over the duration of the detection period; receiving statistics characterizing one or more previous terminations of a plurality of application programs having the first application program type; dynamically adjusting the detection period of the first application program type based on the statistics. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 22, 23, 25, 27)
-
-
11. A non-transitory machine-readable medium having executable instructions to cause one or more processing units to perform a method of performance management of a data processing system, the method comprising:
-
selecting a first application program for resource usage monitoring, wherein the first application program is running in a background state while the first application program is executing one or more first application tasks or one or more system tasks and is not directly interacting with the user or directly viewable by a user of the data processing system, and the first application program is not a daemon; determining a resource consumption threshold and a detection period for the first application program having a first application program type, wherein the resource consumption threshold and the detection period for the first application program are based at least in part on the first application program type; monitoring resource usage of the first application program, in response to selecting the first application program for resource usage monitoring and determining the resource consumption threshold and detection period for the first application program; determining whether the monitored resource usage of the first application program exceeds the resource consumption threshold over the duration of the detection period; terminating the first application program when the resource usage exceeds the resource consumption threshold over the duration of the detection period; receiving statistics characterizing one or more previous terminations of a plurality of application programs having the first application program type; dynamically adjusting the detection period of the first application program type based on the statistics. - View Dependent Claims (12, 13, 14, 15, 16, 17, 24)
-
-
18. A device to perform performance management, the device comprising:
-
a processing system; a memory coupled to the processing system through a bus; and a process executed from the memory by the processing system causes the processing system to; select a first application program for resource usage monitoring, wherein the first application program is running in a background state while the first application program is executing one or more first application tasks or one or more system tasks and is not directly interacting with the user or directly viewable by a user of the data processing system, and the first application program is not a daemon; determine a resource consumption threshold and a detection period for the first application program having a first application program type, wherein the resource consumption threshold and the detection period for the first application program are based at least in part on the first application program type; monitor a resource usage of the first application program, in response to selecting the first application program for resource usage monitoring and determining the resource consumption threshold and detection period for the first application program; determine whether the monitored resource usage of the first application program exceeds the resource consumption threshold over the duration of the detection period; terminate the first application program when the resource usage exceeds the resource consumption threshold over the duration of the detection period; receive statistics characterizing one or more previous terminations of a plurality of application programs having the first application program type; and dynamically adjust the detection period of the first application program type based on the statistics. - View Dependent Claims (19, 20, 21, 26)
-
Specification