×

Providing optimal number of threads to applications performing multi-tasking using threads

  • US 7,681,196 B2
  • Filed: 11/18/2004
  • Issued: 03/16/2010
  • Est. Priority Date: 11/18/2004
  • Status: Active Grant
First Claim
Patent Images

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 in a near future based on said historical data;

    providing said optimum number of threads at a present time to said application in said system;

    receiving a plurality of service requests after said providing;

    placing a plurality of tasks in a task queue, wherein said plurality of tasks are required to be executed to process said plurality of service requests, wherein each of said threads is designed to examine said task queue and then select and execute any of the pending tasks in said task queue; and

    enabling said application to execute said plurality of tasks using said optimum number of threads,whereby said optimum number of threads are provided to said application before said plurality of service requests are received by said system.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×