期刊文献+

一种CMP结构上的事务存储编程模型设计 被引量:2

A Programming Model for Chip Multi-Processor Based on Transactional Memory
下载PDF
导出
摘要 多核结构上采用由用户显式制导的并行程序设计模型,使用锁和同步变量来实现同步。事务存储模型能够解决由锁机制带来的一系列问题,提高程序的并发性。介绍了在文中提出的一种基于事务存储模型的多核结构(Transactional-Memory based Chip Multiple-Superscaler,TMCMS)上的并行编程模型,以及针对循环程序的执行模型;以FFT程序为例具体介绍了循环结构的并行化方法和编译转换过程。在初步的实验中,将处理单元从1增加到16个时,在所设计的编程模型的支持下,IPC(Instruction PerCycle)有接近线性的增长,说明该并行编程模型能够充分发掘程序中潜在的细粒度线程级并行性,同时保持并行程序设计的简单性。 Traditional parallel programming models have many limitations when applied to multi - core, or programmers have to explicitly identify synchronization on Multiprocessor with locks and synchronous variables. Transactional Memory can solve problems brought by locks and improve parallelism. This paper introduces a programming model on TMCMS (Transactional - Memory based Chip Multiple - Superscaler) which is a CMP architecture based on Transactional - Memory model, and its execution model for loop - based program. FFT program is used as an example to illustrate the method of loop structure paralleling and to describe compiler - directed translation in detail. The performance of the model is evaluated by varying the processor unit size from 1 to 16, and the IPC (instruction per cycle) increases nearly linearly with the number of processor unit. The preliminary experiment results indicate that this programming model can sufficiently exploit fine - grained parallelism in the program while maintaining the simplicity of parallel programming.
出处 《计算机仿真》 CSCD 2007年第6期81-85,共5页 Computer Simulation
基金 国家自然科学基金资助项目(60373043) 安徽省自然科学基金资助项目(050420206) Intel高等教育项目(PO#4507176412) 中国科学院计算技术研究所计算机系统结构重点实验室开放课题。
关键词 多核芯片结构 并行程序设计模型 事务存储 Chip multiprocessor architecture Parallel programming model Transactional memory
  • 相关文献

参考文献10

  • 1Lane Hammond,Basem A Nayfeb,Kunle Olukotun.A Single-Chip Multiprocessor[J].In:IEEE Computer Special Issue on “Billion-Transistor Processors”,September 1997,30(9):79-85.
  • 2Maurice Herlihy and J Eliot,B Moss.Transactional Memory:Architectural Support for Lock-Free Data Structures[C].In:Proceedings of the 20th Annual International Symposium on Computer Architecture,New York,NY,USA:ACM Press,May 1993.289-300.
  • 3Ravi Rajwar and James R Goodman.Transactional Lock-Free Execution of Lock-Based Programs[C].In:Proceedings of the Tenth Symposium on Architectural Support for Programming Languages and Operating Systems,New York,NY,USA:ACM Press,2002.5-17.
  • 4C Scott Ananian and Krste Asanovic and Bradley C Kuszmaul and Charles E Leiserson and Sean Lie.Unbounded Transactional Memory[C].In:Proceedings of the Eleventh International Symposium on High-Performance Computer Architecture,Los Alamitos,CA,USA:IEEE Computer Society Press 2005,26(1):59-69.
  • 5Kevin E Moore.Thread-Level Transactional Memory[M].Wisconsin Industrial Affiliates Meeting,2004.
  • 6Ravi Rajwar and Maurice Herlihy and Konrad Lai.Virtualizing Transactional Memory[C].In:Proceedings of the 32nd Annual International Symposium on Computer Architecture,Washington,DC,USA:IEEE Computer Society,2005.494-505.
  • 7N Shavit and D Touitou.Software Transactional Memory[C].In:Proceedings of the 14th Annual ACM Symposium on Principles of Distributed Computing,New York,NY,USA:ACM Press,1995.204-213.
  • 8Lance Hammond and Vicky Wong and Mike Chen and Brian D Carlstrom and John D Davis and Ben Hertzberg and Manohar K Prabhu and Honggo Wijaya and Christos Kozyrakis and Kunle Olukotun.Transactional Memory Coherence and Consistency[C].In:Proceedings of the 31st Annual International Symposium on Computer Architecture,Washington,DC,USA:IEEE Computer Society,2004,102.
  • 9Lance Hammond,Brian D Carlstrom,Vicky Wong,Ben Hertzberg,Mike Chen,Christos Kozyrakis,and Kunle Olukotun.Programming with Transactional Coherence and Consistency (TCC)[C].In:Proceedings of the 11th international conference on Architectural support for programming languages and operating systems,New York,NY,USA:ACM Press,2004.1-13.
  • 10何裕南,安虹,郭锐,梁博.OpenCMP:一个支持事务存储模型的多核处理器模拟器[J].计算机科学,2007,34(1):248-254. 被引量:5

二级参考文献20

  • 1路放,安虹,梁博,任建.OpenSMT:一个同时多线程处理器模拟器的设计和实现[J].计算机科学,2006,33(1):158-163. 被引量:4
  • 2Tullsen D M,Eggers S J,Levy H M.Simultaneous multithreading:Maximizing on-chip parallelism.22nd Annual International Symposium on Computer Architecture,June 1995
  • 3Marr D T,Binns F,Hill D L,et al.Hyper-threading technology architecture and microarchitecture.Intel Technology Journal,Feb.2002
  • 4Diefendorff K.Power4 Focuses on Memory Bandwidth.Microprocessor Report,Oct.1999
  • 5Clabes J,et al.Design and implementatin of the power5 microprocessor.In ISSCC Digest of Technical Papers,Feb.2004
  • 6Burger D,Austin T M.The SimpleScalar tool set version 2.0:[Technical Report].1342.Computer Sciences Department,University of Wisconsin,June 1997
  • 7Austin T,Ernst D.SimpleScalar Tutorial (for release 4.0).http://SimpleScalar.com/docs/simple_tutorial_v4.pdf
  • 8Martin M M K,Sorin D J,Beckmann B M,et al.Multifacet's General Execution-driven Multiprocessor Simulator (GEMS)Toolset.Computer Architecture News (CAN),September 2005
  • 9SESC:http://sesc.sourceforge.net/index.html
  • 10Nathan L B,Erik G H,Steven K R.Network-Oriented Full-System Simulation using M5.The Sixth Workshop on Computer Architecture Evaluation Using Commercial Workloads,Feb.2003

共引文献4

同被引文献18

  • 1何裕南,安虹,郭锐,梁博.OpenCMP:一个支持事务存储模型的多核处理器模拟器[J].计算机科学,2007,34(1):248-254. 被引量:5
  • 2James R Larus, Ravi R. Transactional Memory[M].New York: Morgan and Claypool,2007.
  • 3Hammond L,Wong V, Chen M,et al.Transactional memory coherence and consistency[C].Proc 31st Annu Int Symp on Computer Architecture,2004:102-113.
  • 4Herlihy M, Luchangco V, Moir M, et al. Software transactional memory for dynamic-sized data structures[C].Boston,MA:Proc 22nd Annu Symp on Principles of Distributed Computing,2003: 92-101.
  • 5Marathe V J,Spear M F, Heriot C,et al.Lowering the overhead of nonblocking software transactional memory[C].Ottawa,Canada: TRANSACT,2006.
  • 6Lie S. Hardware support for unbounded transactional memory [D].Massachusetts Institute of Technology,2004.
  • 7KEIR Fraser.Practical Lock Freedom[D].Cambridge:Computer Laboratory, University of Cambridge,2004.
  • 8Scherer III WN, Scott M L.Advanced contention management for dynamic software transactional memory [C]. 24th Annual ACMSIGACT-SIGOPS Symposium on Principles of Distributed Computing.Las Vegas:ACM Press,2005:240-248.
  • 9Shriraman A,Dwarkadas S,Scott M L.Flexible decoupled transactional memory support[C].Proc of the 35th Annual International Symposium on Computer Architecture(ISCA),2008.
  • 10Gottschlich J,Connors D A.Extending contention managers for user-defined priority-based transactions[C].Proceedings of the 2008 Workshop on Exploiting Parallelism with Transactional Memory and other Hardware Assisted Methods,2008.

引证文献2

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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