计算机技术与发展Issue(2):37-40,4.DOI:10.3969/j.jssn.1673-2013.02.009
基于平均时间的线程池尺寸自适应调整算法
Pool Size Adaptive Adjusting Algorithm Based on Average Time
摘要
Abstract
To realize adaptive adjusting the thread pool size,improve the operation speed of concurrent processing program,efficiency and reduce the system resource spending,a thread pool size adaptive adjusting algorithm based on task average time is presented. Firstly,some characteristics of the thread pool and the task time period of users request are studied,then the concept of task average processing time is put forward. After that,the correlation between the task average processing time and thread pool size under the different types of tasks is analyzed. A kind of adaptive adjustment algorithm is put forward. The experimental results show that the algorithm can adaptively adjust thread pool size to the appropriate area,effectively improving the overall performance of application program.关键词
线程池/线程池尺寸/平均处理时间/自适应调整Key words
thread pool/thread pool size/average process time/adaptive adjusting分类
信息技术与安全科学引用本文复制引用
黄智泉,刘正熙..基于平均时间的线程池尺寸自适应调整算法[J].计算机技术与发展,2013,(2):37-40,4.基金项目
国家“973”重点基础研究发展计划项目(2009CB320803) (2009CB320803)