...
首页> 外文期刊>Operating systems review >Programming with Transactional Coherence and Consistency (TCC)
【24h】

Programming with Transactional Coherence and Consistency (TCC)

机译:使用事务一致性和一致性(TCC)进行编程

获取原文
获取原文并翻译 | 示例

摘要

Transactional Coherence and Consistency (TCC) offers a way to simplify parallel programming by executing all code within transactions. In TCC systems, transactions serve as the fundamental unit of parallel work, communication and coherence. As each transaction completes, it writes all of its newly produced state to shared memory atomically, while restarting other processors that have speculatively read stale data. With this mechanism, a TCC-based system automatically handles data synchronization correctly, without programmer intervention. To gain the benefits of TCC, programs must be decomposed into transactions. We describe two basic programming language constructs for decomposing programs into transactions, a loop conversion syntax and a general transaction-forking mechanism. With these constructs, writing correct parallel programs requires only small, incremental changes to correct sequential programs. The performance of these programs may then easily be optimized, based on feedback from real program execution, using a few simple techniques.
机译:事务一致性和一致性(TCC)提供了一种通过执行事务中的所有代码来简化并行编程的方法。在TCC系统中,事务是并行工作,通信和一致性的基本单元。每个事务完成时,它将所有新产生的状态原子地写入共享内存,同时重新启动已推测读取过时数据的其他处理器。通过这种机制,基于TCC的系统可以自动正确地处理数据同步,而无需程序员干预。为了获得TCC的好处,必须将程序分解为事务。我们描述了两种用于将程序分解为事务的基本编程语言构造,循环转换语法和常规事务派生机制。通过这些结构,编写正确的并行程序只需要进行较小的增量更改即可纠正顺序程序。然后,可以使用一些简单的技术,基于来自真实程序执行的反馈,轻松地优化这些程序的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号