首页 | 本学科首页   官方微博 | 高级检索  
     

基于POSIX线程库的线程池反馈算法的设计与实现
引用本文:吴炜荣,梁阿磊,吴刚.基于POSIX线程库的线程池反馈算法的设计与实现[J].微型电脑应用,2006,22(5):52-55,58.
作者姓名:吴炜荣  梁阿磊  吴刚
作者单位:上海交通大学软件学院,上海,200240
摘    要:本文提出了一种基于POSIX线程库的线程池反馈算法,通过对线程池响应进间和吞吐量进行监控,对线程池的下一步行为进行决策,调整线程池中的线程数及线程单次处理的任务数。实验结果显示,这种算法能很好地稳定线程池吞吐量和响应时间,避免性能出现大幅波动。

关 键 词:线程池  POSIX  反馈算法
文章编号:1007-757X(2006)04-0052-04
收稿时间:2005-09-02
修稿时间:2005-09-02

Design and Implementation of a Feedback Algorithm of Thread Pool Based on POSIX Thread Library
Wu Weirong,Liang Alei,Wu Gang.Design and Implementation of a Feedback Algorithm of Thread Pool Based on POSIX Thread Library[J].Microcomputer Applications,2006,22(5):52-55,58.
Authors:Wu Weirong  Liang Alei  Wu Gang
Abstract:In this paper, we propose a feedback algorithm of thread pool based on POSIX thread library. The number of thread and the tasks which will be handled in a single thread is adjusted and the behavior of the thread pool is determined by monitoring the response time and throughput of thread pool. The experiment shows that this algorithm can stabilize the throughput and response time, avoiding the huge performance fluctuation.
Keywords:Thread pool POSIX Feedback Algorithm  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号