Invention Grant
US08239872B2 Method and system for controlling distribution of work items to threads in a server
有权
控制工作项目分配给服务器线程的方法和系统
- Patent Title: Method and system for controlling distribution of work items to threads in a server
- Patent Title (中): 控制工作项目分配给服务器线程的方法和系统
-
Application No.: US12314481Application Date: 2008-12-11
-
Publication No.: US08239872B2Publication Date: 2012-08-07
- Inventor: Serban Tatu
- Applicant: Serban Tatu
- Applicant Address: US TX Houston
- Assignee: Hewlett-Packard Development Company, L.P.
- Current Assignee: Hewlett-Packard Development Company, L.P.
- Current Assignee Address: US TX Houston
- Main IPC: G06F9/00
- IPC: G06F9/00

Abstract:
A system and method are presented to control distribution of work items to threads in a server. The system and method include a permit dispenser that keeps track of permits, and a plurality of thread pools each including a queue with a configurable size, being configured with a desired concurrency and a size of the queue that is equal to a total number of work items to be executed by pool threads in the thread pool. The number of permits specifies a total number of threads available for executing the work items in the server. Each pool thread executes a work item in the thread pool, determines whether a thread surplus or a thread deficit exists, and shrinks or grows the thread pool respectively.
Public/Granted literature
- US20100153962A1 Method and system for controlling distribution of work items to threads in a server Public/Granted day:2010-06-17
Information query