摘要
在线程环境设计中存在三种结构不同的线程模型:多对一、一对一和多对多,一直以来,线程模型的特性分析仍然主要位于感性层面,缺乏完整的测试数据验证。FreeBSD5提供了基于三种线程模型的线程环境,为评测不同线程环境的性能提供了条件。论文以FreeBSD5下的测试结果为基础,结合Linux下一对一模型线程库NPTL的测试结果,分析了三种模型的不同特点,指出一对一模型和多对多模型均具有良好的性能,同时,基于SchedulerActivations的多对多模型也有很大的发展空间。
There exist three threading models in designation of threading environment:M:1,1:1,M:N.Most of threading model analyses are based on sensibility as to now,without good benchmark results.FreeBSD5 provides three threading environments with different threading models,which is very valuable for testing.The issue here analyzes the threading models mentioned before with the benchmark results from FreeBSD5 as well as from Linux NPTL.We concludes that 1:1 and M:N models are both of good performance,and M:N model based on Scheduler Activations has a good future.
出处
《计算机工程与应用》
CSCD
北大核心
2005年第27期1-3,6,共4页
Computer Engineering and Applications
基金
国家863高技术研究发展计划项目"软件专项-服务器操作系统"(编号:2002AA1Z2101)
关键词
线程模型
性能评测
多处理机
threading model,performance evaluation ,multi-processor