期刊文献+

基于并串结合机制的数据竞争消除系统设计与实现

Design and Implementation on the Data Race Free System Based on Combining Parallel and Serial Mechanism
下载PDF
导出
摘要 数据竞争是多线程程序最为常见的问题之一,数据竞争的出现会导致程序的原子性遭到破坏,从而使得推理程序的行为和改进程序的性能更加困难.为解决数据竞争带来的问题,提出了一种运行时的数据竞争消除系统DRFS(Data-Race-Free-System).DRFS将多线程程序的执行分为并行执行和串行执行两种模式,采用合理有效的模式切换机制将两种模式结合执行,为并行程序提供一个无数据竞争的运行环境.实验结果表明,DRFS在保证并行程序不会出现数据竞争的同时,并未引入很大的性能开销. Data races is one of the most common multithreaded program problems.Data races makes atomic program is destroyed,thus making the reasoning process behavior and improved program performance more challenging.to solve the problem introduced by dara races of parallelprograms,DRFS is proposed.This paper present DRFS(DataRace-Free-System),a novel multi-threading runtime that divides the execution of multithread programs into two parallel mode and serial mode,DRFS adopts existing hardware support page protection mechanism,to eliminate multithreaded shared-memory data races,which provides a data-race-free environment for parallel programs.The Experimental results demonstrate that DRFS guarantes the free of data races while incuring acceptable performance and memory overhead.
出处 《微电子学与计算机》 CSCD 北大核心 2016年第7期89-92,97,共5页 Microelectronics & Computer
基金 国家"八六三"高技术研究发展计划基金项目(2012AA010901)
关键词 数据竞争 并行程序 串并结合 共享内存 data race parallel program serial parallel combination shared memory
  • 相关文献

参考文献5

  • 1Savage S, BurrowsM, NelsonG, et al. Eraser: a d ynamic data race detector for multithreaded programs [J]. Journal of Frontiers of Computer Science Si Teehnolo gy, 2011,5(12) :1085-1093.
  • 2吴学光,文艳军,王戟,傅秀涛,綦艳霞,顾斌.多重中断C程序中数据竞争及原子性检测[J].计算机科学与探索,2011,5(12):1085-1093. 被引量:6
  • 3Savage S, Burrows Michael, Nelson Greg, et al. Eraser: a dynamic data race detector for multithreadel pro- grams[J]. Acm Sigops Operation Systems Review, 1997,15(4) :391-394.
  • 4Prodromos Gerakios, Papaspyrou N, Sogonas K, et al. Race-free and Memory-safe Multithreading:Design and Implementation in Cyclone[R]. TLDP Int. 2010.
  • 5Amdahl GM. Validity of the single-processor approach to achieving large scale computing capabilities[C]// Proceedings of the American Federationof Information Processing Societies. New York, N Y, USA: ACM,1967:483—485.

二级参考文献11

  • 1Hatcli J, Robby, Dwyer M B. Verifying atomicity speci- fications for concurrent object-oriented software using model-checking[C]//LNCS 2937: Proceedings of the 5th International Conference on Verification, Model Checking and Abstract Interpretation (VMCAI 2004), Venice, Italy, Jan 11-13, 2004. Berlin, Heidelberg: Springer-Verlag, 2004: 175-190.
  • 2Flanagan C. Verifying commit-atomicity using model- checking[C]//Proceedings of the 1 lth International Model Checking Software SPIN Workshop, 2004: 252-266.
  • 3Praun C, Gross T. Static detection of atomicity violations in object oriented programs[J]. Journal of Object Technol- ogy, 2004, 3(6): 103-122.
  • 4Freund S N, Qadeer S. Checking concise for multithreaded software[J]. Journal of nology, 2004, 3(6): 81-101. specifications Object Tech-.
  • 5Flanagan C, Qadeer S. A type and effect system for atom- icity[C]//Proceedings of the ACM SIGPLAN 2003 Con- ference on Programming Language Design and Imple- mentation (PLDI '03). New York, NY, USA: ACM, 2003: 338-349.
  • 6Flanagan C, Qadeer S. Types for atomicity[C]//Procee- dings of the 2003 ACM SIGPLAN International Work- shop on Types in Languages Design and Implementation (TLDI '03). New York, NY, USA: ACM, 2003: 1-12.
  • 7Wang ity[J], Liqiang, Stoller S D. Run-time analysis for atomic- Electronic Notes in Theoretical Computer Science, 2003, 89(2): 191-209.
  • 8Flanagan C, Freund S N. Atomizer: a dynamic atomicity checker for multithreaded programs[C]//Proceedings of the 31st ACM SIGPLAN-SIGACT Symposium on Prin- ciples of Programming Languages (POPL '04). New York, NY, USA: ACM, 2004: 256-267.
  • 9Vojdani V, Vene V. Goblint: path-sensitive data race analysis[J]. Annales Univ Sci Budapest: Sect Comp, 2009 30: 141-155.
  • 10Schwarz M D, Seidl H, Vojdani V. Static analysis of interrupt-driven programs synchronized via the priority ceiling protocol[C]HProceedings of the 38th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Pro- gramming Languages (POPL '11). New York, NY, USA: ACM, 2011: 93-104.

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部