Patents
US 7,363,369 B2#4910915 Most CitedExpiredUnited States (USPTO)Utility

Monitoring thread usage to dynamically control a thread pool

18Forward Citations (#4910915 Global)
1.0/yrCitation Velocity (#6297409 Global)
3.13Citation PageRank (#7063326 Global)
15Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 18.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for monitoring thread usage in a server system, comprising: sending an ioctl call in blocking mode on a socket designated for listening for incoming client requests to a server communicatively connected to a network and passing said incoming client requests to one from among a plurality of threads waiting in a thread pool; responsive to a TCP layer detecting said listen socket in blocking mode, monitoring 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 said thread pool over a sample per

  2. Claim 2Depends on #1

    The method according to claim 1 for m

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (15)

PatentTitleYearCitations
US 5,761,507 AClient/server architecture supporting concurrent servers within a server with a transaction manager providing server/connection decoupling1998293
US 5,790,809 ARegistry communications middleware1998102
US 5,796,954 AMethod and system for maximizing the use of threads in a file server for processing network requests199834
US 6,175,879 B1Method and system for migrating connections between receive-any and receive-direct threads200179
US 6,240,453 B1Managing unused resources in a service application200131
US 6,247,161 B1Dynamically configured on-chip communications paths based on statistical analysis200153
US 2001029548 A1Method and apparatus for handling events received at a server socket—44
US 6,374,299 B1Enhanced scalable distributed network controller200248
US 6,393,477 B1System and method for an administration server200266
US 2002156897 A1Mechanism for servicing connections by disassociating processing resources from idle connections and monitoring the idle connections for activity—65
US 6,542,467 B2Bandwidth allocation system of virtual path in communication network of asynchronous transfer mode200379
US 2003115168 A1Methods and apparatus for database transaction queuing—13
US 6,651,158 B2Determination of approaching instruction starvation of threads based on a plurality of conditions200338
US 2004003085 A1Active application socket management—54
US 7,051,337 B2Method and apparatus for polling multiple sockets with a single thread and handling events received at the sockets with a pool of threads200643

Non-Patent Literature (1)

  • General Programming Concepts: Writing and Debugging Programs http://www16.boulder.ibm.com/pseries/en<SUB>-</SUB>US/aixprggd/genprogc/understanding<SUB>-</SUB>threads.htm Accessible on Sep. 11, 2003.