节点文献
软事务存储中的放弃管理
Abort Manage in Software Transactional Memory
【摘要】 在事务存储的逻辑中,当事务被迫放弃之后,立即作为一个全新事务重新计算,重新参与共享内存的竞争,结果可能造成自己再次放弃或其它事务放弃,导致整体系统性能的降低。认为被迫放弃是一种回避,尽管事务放弃了已经做过的计算,但没有放弃对共享内存的访问权。针对软事务存储中事务的反复放弃或过多的放弃,提出一种放弃管理(abort manage)策略,在事务被迫放弃计算之后,由放弃管理器统一管理这些放弃事务,将它们与没有放弃的事务区分开。当其它事务完成计算之后,帮助那些放弃事务获得共享内存,从而减少放弃事务的数量,间接提高整体系统的吞吐量。通过实验数据的对比,反映放弃管理能够有效地改善软事务存储的性能。
【Abstract】 In software transactional memory,transactions are aborted forcefully because correctness,which must be retried as new transactions immediately.After aborted and retried,transactions may conflict again,leading to more aborts and degrading the overall throughput.An abort manage algorithm that control all aborted transactions was presented.The results showed that forcefully aborted transactions are not same as the new and normal aborted ones,which avoid conflict and give chance to the others.After a while,these transactions restart.So the forcefully aborted transactions avoid conflict and should be helped to access the share memory.
【Key words】 concurrent; Software Transactional Memory(STM),; contention; abort;
- 【文献出处】 四川大学学报(工程科学版) ,Journal of Sichuan University(Engineering Science Edition) , 编辑部邮箱 ,2011年06期
- 【分类号】TP311.11
- 【下载频次】61