发明名称 Monitoring thread usage to dynamically control a thread pool
摘要 A method, system, and program for monitoring thread usage to dynamically control a thread pool are provided. An application running on the server system invokes a listener thread on a listener socket for receiving client requests at the server system and passing the client requests to one of multiple threads waiting in a thread pool. Additionally, the application sends an ioctl call in blocking mode on the listener thread. A TCP layer within the server system detects the listener thread in blocking mode and monitors a thread count of at least one of a number of incoming requests waiting to be processed and a number of said plurality of threads remaining idle in the thread pool over a sample period. Once the TCP layer detects a thread usage event, the ioctl call is returned indicating the thread usage event with the thread count, such that a number of threads in the thread pool may be dynamically adjusted to handle the thread count.
申请公布号 US2005086359(A1) 申请公布日期 2005.04.21
申请号 US20030687236 申请日期 2003.10.16
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BANERJEE DWIP N.;BARATAKKE KAVITHA V.M.;JAIN VINIT;VENKATSUBRA VENKAT
分类号 G06F9/46;G06F9/50;G06F15/16;(IPC1-7):G06F15/16 主分类号 G06F9/46
代理机构 代理人
主权项
地址