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

基于长并行距离优先的确定性多线程调度
引用本文:马超,尹杰,江凌波,甄凯.基于长并行距离优先的确定性多线程调度[J].小型微型计算机系统,2012(10):2177-2181.
作者姓名:马超  尹杰  江凌波  甄凯
作者单位:清华大学计算机科学与技术系;西安电子科技大学软件学院
基金项目:国家“八六三”高技术研究发展计划项目(2011AA01A203)资助
摘    要:随着多核技术的不断发展,多线程技术更加广泛地应用于计算机软件中.但由于执行的不确定性,多线程程序的排错和调试存在着很大的困难.确定性多线程系统可以使多线程程序以确定的方式执行,即多次执行同一个多线程程序的顺序和结果是相同的,这可以大大简化多线程程序的排错和调试.但是,确定性多线程系统会导致多线程程序性能的下降.本文提出一种基于长并行距离优先的确定性多线程调度算法,优先执行并行距离长的线程,减少线程总体等待时间,从而提高多线程程序的效率.实验结果表明,本文方法可以使多线程程序的性能提升10%,并且具有很好的可扩展性.

关 键 词:确定性多线程  长并行距离优先  性能  可扩展性

Deterministic Multithreaded Scheduling Based on Long Parallel Distance Priority
MA Chao,YIN Jie,JIANG Ling-bo,ZHEN Kai.Deterministic Multithreaded Scheduling Based on Long Parallel Distance Priority[J].Mini-micro Systems,2012(10):2177-2181.
Authors:MA Chao  YIN Jie  JIANG Ling-bo  ZHEN Kai
Affiliation:1,2 1(Department of Computer Science and Technolgy,Tsinghua University,Beijing 100084,China) 2(College of Software Engineering,Xidian University,Xi’an 710126,China)
Abstract:With the development of the multi-core technique,multithread programming is widely used in the computer software.Because of non-determinism,it is difficult to debug and test multithreaded programs.Deterministic multithreaded systems make a multithreaded program executed in determinate order and hence present the same result at all time,which is of great benefit to debug and test multithreaded programs.However,deterministic multithreaded systems cause performance decrease severely.This paper presents a novel scheduling method for deterministic multithreaded systems based on long parallel distance priority.This approach always chooses the thread that need to execute the longest parallel codes to be scheduled,and thus the total waiting time of all the threads is reduced.Evaluation shows that the performance is improved by 10% and our approach has high scalability.
Keywords:deterministic multithreaded  long parallel distance priority  performance  scalability
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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