Providing Optimal Number of Threads to Applications Performing Multi-tasking Using Threads
First Claim
1. A method of supporting an application in a system, said method comprising:
- maintaining a historical data representing a number of threads required to support execution of said application at different prior time instances;
determining an optimum number of threads to be provided at a present time based on said historical data;
providing said optimum number of threads in said system; and
enabling said application to execute a plurality of tasks using said optimum number of threads.
1 Assignment
0 Petitions
Accused Products
Abstract
In an environment in which applications perform multi-tasking by using threads, the optimum number of threads to be provided to an application is determined based on historical data. Due to the use of the historical data, optimum number of threads can be accurately determined, leading to better response times for service requests, without creating unneeded overhead on system processing the service requests. In one embodiment, various status information (of potentially several prior weeks) such as number of tasks received and pending, system resources status (e.g. idle processor time and aggreate memory usage in the system), is maintained. In addition, a table may be maintained to indicate the optimum number of threads for a given combination of status information values. Thus, based on the expected status scenario, the optimum number of threads can be determined and provided at various points of time.
40 Citations
18 Claims
-
1. A method of supporting an application in a system, said method comprising:
-
maintaining a historical data representing a number of threads required to support execution of said application at different prior time instances;
determining an optimum number of threads to be provided at a present time based on said historical data;
providing said optimum number of threads in said system; and
enabling said application to execute a plurality of tasks using said optimum number of threads. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer readable medium carrying one or more sequences of instructions for causing a system to support an application, wherein execution of said one or more sequences of instructions by one or more processors contained in said system causes said one or more processors to perform the actions of:
-
maintaining a historical data representing a number of threads required to support execution of said application at different prior time instances;
determining an optimum number of threads to be provided at a present time based on said historical data;
providing said optimum number of threads in said system; and
enabling said application to execute a plurality of tasks using said optimum number of threads. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification