Journal of Computer Applications ›› 2010, Vol. 30 ›› Issue (8): 2052-2055.
• Advanced computing • Previous Articles Next Articles
Received:
Revised:
Online:
Published:
Contact:
阳国贵1,姜波2
通讯作者:
基金资助:
Abstract: In a multi-chip multi-core computer system, the indirect cost of thread context switch is affected by the architecture, workload and scheduling strategy. In order to gain a more stable result, the measurement for thread context switch should take account of these factors. Based on the analysis of the Lmbenchs framework and working principle, a new program called LTC was designed and implemented. Considering the requirements of thread performance measurement, load models and scheduling policies were integrated into the LTC. The result shows that LTC is a good tool for analyzing the cost of thread context switch in a multicore system.
Key words: multi-chip multi-core, thread scheduling, switch latency, performance evaluation
摘要: 在多片多核计算机系统中,线程切换的间接开销受到体系结构、负载模式和调度策略的影响,为了获得更为稳定的测试结果,在分析Lmbench测试程序框架和进程切换测试原理的基础上,针对多片多核处理机系统中的线程测试需求,通过集成多种负载模式和调度策略,设计和实现了新的线程切换延时测试程序LTC,为多核系统下的线程切换延时测试与分析提供了有效手段。
关键词: 多片多核, 线程调度, 切换延时, 性能测试
阳国贵 姜波. 线程切换开销分析工具的设计与实现[J]. 计算机应用, 2010, 30(8): 2052-2055.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: https://www.joca.cn/EN/
https://www.joca.cn/EN/Y2010/V30/I8/2052