电子学报 ›› 2009, Vol. 37 ›› Issue (2): 248-252.

• 论文 • 上一篇    下一篇

一种支持事务内I/O操作的事务存储系统结构

刘 轶1, 李明修2, 张 昕2, 李 鹤2, 焦 林2, 钱德沛1,2   

  1. 1. 北京航空航天大学计算机学院,北京 100191;2. 西安交通大学 计算机系,陕西西安 710049
  • 收稿日期:2008-01-15 修回日期:2008-08-10 出版日期:2009-02-25 发布日期:2009-02-25

Transactional Memory Architecture Supporting I/O Operations within Transactions

LIU Yi1, LI Ming-xiu2, ZHANG Xin2, LI He2, JIAO Lin2, QIAN De-pei1,2   

  1. 1. School of Computer,Beihang University,Beijing 100083,China;2. Department of Computer,Xi’an Jiaotong University,Xi’an,Shaanxi 710049,China
  • Received:2008-01-15 Revised:2008-08-10 Online:2009-02-25 Published:2009-02-25

摘要: 本文提出了一种支持事务内I/O操作的硬件事务存储系统结构.该系统基于多核处理器结构和已有的cache一致性机制,通过增加事务缓冲区和相关硬软件,实现对事务的支持.事务内I/O操作的实现基于事务提交锁的部分提交以及事务线程的阻塞/唤醒机制,解决了事务内I/O操作所面临的回滚、事务迁移和缓冲区溢出等问题.系统在模拟器中实现,并利用5个测试程序对系统的性能进行了评价分析,结果表明事务程序在系统中的性能相对于锁程序得到提升.

关键词: 事务存储, 多核处理器, 编程模型, I/O操作

Abstract: To support I/O operations inside transactions,this paper proposes a hardware transactional memory system architecture based on multi-core processor and current cache coherent mechanisms,It supports transactions by adding transactional buffer and related hardware and software.I/O operations within transactions are implemented by partial commit based on commit-lock,and blocking / waking-up of transactional threads.This solution solves or avoids the problems that I/O operations within transactions faced,including rollback,transaction migration and transactional buffer overflow.The system has been implemented by simulation.Its performance is evaluated by 5 benchmark applications.Simulation results show that the transactional programs executed in our system outperformed traditional lock-based programs.

Key words: transactional memory, multi-core processor, programming model, I/O operation

中图分类号: