期刊文献+

事务存储系统 被引量:8

Transactional Memory System
下载PDF
导出
摘要 多核处理器性能的发挥依靠程序的并行,共享存储并行编程模型为大多数多核处理器所采用,而有效同步多个线程对共享变量的访问是其关键、也是难题.借鉴数据库中事务的思想,人们提出事务存储(transactional memory),旨在提供一种编程简单,对程序正确性推理容易的同步手段.简介了事务存储的起源,诠释了事务存储系统的概念.论述了事务存储的编程接口和执行模型.讨论了事务存储系统所涉及的主要内容,对各种方法和策略进行了比较.对事务存储中有待解决的问题进行了探讨.最后介绍了几个开源的事务存储研究平台. Exploring multi-core processors' performance depends on the parallelism in programs. Shared memory model is widely adopted by multi-core processors, and coordinating access to shared variables among threads is the key and a very difficult problem as well. Lock mechanism is widely used for the synchronization between threads. However, conventional locking techniques in parallel systems have some common problems: priority inversion, convoying and deadlock. Transactional memory (TM) is proposed to make synchronization easy to realize and efficient, which adopts the transaction concept in database systems. Transactions in transactional memory with the atomicity, consistency and isolation properties provide a foundation to ensure that concurrent reads and writes of shared data do not produce inconsistent or incorrect results and execute atomically. Transactional memory attracts a lot of research interests now. Transactional memory research is still in progress and has not been systematized yet. The authors introduce the origin of transactional memory, and attempt to give a definition of transactional memory system. Transactional memory programming interface and its.execution model are shown. TM's design space and its realization strategies are discussed and different techniques used in these aspects are compared. Transactional memory is not a parallel programming panacea. Several open issues are discussed then. Finally, a few open source research platforms are introduced.
出处 《计算机研究与发展》 EI CSCD 北大核心 2009年第8期1386-1398,共13页 Journal of Computer Research and Development
基金 国家"八六三"高技术研究发展计划基金项目(2008AA01Z110) 国家自然科学基金重点项目(60633050)~~
关键词 事务存储 多核处理器 共享存储 并行编程 同步 transactional memory multi-core processor shared memory parallel programming synchronization
  • 相关文献

参考文献6

二级参考文献104

  • 1路放,安虹,梁博,任建.OpenSMT:一个同时多线程处理器模拟器的设计和实现[J].计算机科学,2006,33(1):158-163. 被引量:4
  • 2何裕南,安虹,郭锐,梁博.OpenCMP:一个支持事务存储模型的多核处理器模拟器[J].计算机科学,2007,34(1):248-254. 被引量:5
  • 3Herlihy M, Moss J E B. Transactional memory: Architectural support for lock-free data structures//Proceedings of the Annual Symposium on Computer Architecture. San Diego, USA: IEEE, 1993:289-300
  • 4McDonald A et al. Transactional memory: The hardwaresoftware interface. IEEE Micro, 2007, 27(1): 67-76
  • 5Larus J R R, Ravi, Transactional memory. Synthesis Lectures on Computer Architecture, 2007, 2 : 1-220
  • 6Spear M F et al. Conflict detection and validation strategies for software transactional memory//Proceedings of the 20th International Symposium on Distributed Computing (DISC). Lecture Notes in Computer Science. Stockholm, Sweden: Springer Verlag, 2006
  • 7Marathe V J et al. Lowering the overhead of software transactional memory. University of Rochester: Technical Report 893, 2006
  • 8Jaswanth S et al. RSTM: A relaxed consistency software transactional memory for multicores//Proceedings of the 16th International Conference on Parallel Architecture and Compilation Techniques. Washington DC, USA, 2007: 428- 435
  • 9Dice D, Shalev O, Shavit N. Transactional locking Ⅱ. Distributed Computing, 2006, 4167: 194-208
  • 10Hammond L et al, Programming with transactional coherence and consistency (TCC)//Proceedings of the 11th International Conference on Architectural Support for Programming Languages and Operating Systems. Boston, MA, United States, 2004:1-13

共引文献31

同被引文献118

  • 1王庆先,孙世新,尚明生,刘宴兵.并行计算模型研究[J].计算机科学,2004,31(9):128-131. 被引量:6
  • 2张福新,章隆兵,胡伟武.基于SimpleScalar的龙芯CPU模拟器Sim-Godson[J].计算机学报,2007,30(1):68-73. 被引量:25
  • 3何裕南,安虹,郭锐,梁博.OpenCMP:一个支持事务存储模型的多核处理器模拟器[J].计算机科学,2007,34(1):248-254. 被引量:5
  • 4LAMPORT L. How to make a correct multiprocess program execute correctly on a muhiprocessor[ J]. |EEE Transactions on Computer, 1997, 46(7): 779-782.
  • 5LOMET D B. Process structuring, synchronization, and recovery u- sing atomic actions[ C]// Proceedings of ACM Conference on Lan- guage Design for Reliable Software. New York, USA: ACM, 1977: 128 - 137.
  • 6HAMMOND L, CARLSTROM B D, WONG V, et al. Programming with transactional coherence and consistency [ J]. ACM SIGOPS Op- erating System Review, 2004, 39(11) : 1 -13.
  • 7MOORE K E, BOBBA J, MORAYAN M J, et al. LogTM: Log based transactional memory[ C]// Proceedings of the 12th Interna- tional Symposium on High-Performance Computer Architecture. Pis- cataway: IEEE Press, 2006:227 -238.
  • 8ANANIAN C S, ASANOVIC K, KUSZMAUL B C, et al. Unbound- ed transactional memory[ C]//Proceedings of the 1 l th International Symposium on High-Performance Computer Architecture. Piscat- away: IEEE Press, 2005:316-327.
  • 9SCOTt M L, Rochester software transactional memory [ EB/OL]. [2013 -02 - 15]. http:// www. cs. rochester, edu/research/syn- chroization/rstm.
  • 10FELBER P, FETZER C, RIEGEL T. Dynamic performance tuning of word-based software transactional memory[ C]// Proceedings of the 13th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, New York: ACM, 2008:237-246.

引证文献8

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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