会员体验
专利管家(专利管理)
工作空间(专利管理)
风险监控(情报监控)
数据分析(专利分析)
侵权分析(诉讼无效)
联系我们
交流群
官方交流:
QQ群: 891211   
微信请扫码    >>>
现在联系顾问~
热词
    • 3. 发明申请
    • MONITORING THREAD USAGE TO DYNAMICALLY CONTROL A THREAD POOL
    • 监控螺纹用于动态控制螺纹池
    • US20080126539A1
    • 2008-05-29
    • US12027044
    • 2008-02-06
    • DWIP N. BANERJEEKAVITHA VITTAL MURTHY BARATAKKEVINIT JAINVENKAT VENKATSUBRA
    • DWIP N. BANERJEEKAVITHA VITTAL MURTHY BARATAKKEVINIT JAINVENKAT VENKATSUBRA
    • G06F15/173
    • G06F9/5027G06F9/544G06F2209/5018G06F2209/508
    • 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.
    • 提供了一种用于监视线程使用以动态控制线程池的方法,系统和程序。 在服务器系统上运行的应用程序调用侦听器套接字上的侦听器线程,以便在服务器系统上接收客户端请求,并将客户端请求传递给等待线程池的多个线程之一。 此外,应用程序在侦听器线程上以阻塞模式发送ioctl调用。 服务器系统内的TCP层以阻塞模式检测侦听器线程,并且监视等待被处理的多个传入请求中的至少一个的线程计数,并且线程池中的多个线程在一个样本上保持空闲 期。 一旦TCP层检测到线程使用事件,将返回指示线程计数的线程使用事件的ioctl调用,以使线程池中的线程数可以被动态调整以处理线程计数。