Wait-Free Global Virtual Time Computation in Shared Memory TimeWarp Systems

Alessandro Pellegrini, F. Quaglia
{"title":"Wait-Free Global Virtual Time Computation in Shared Memory TimeWarp Systems","authors":"Alessandro Pellegrini, F. Quaglia","doi":"10.1109/SBAC-PAD.2014.38","DOIUrl":null,"url":null,"abstract":"Global Virtual Time (GVT) is a powerful abstraction used to discriminate what events belong (and what do not belong) to the past history of a parallel/distributed computation. For high performance simulation systems based on the Time Warp synchronization protocol, where concurrent simulation objects are allowed to process their events speculatively and causal consistency is achieved via rollback/recovery techniques, GVT is used to determine which portion of the simulation can be considered as committed. Hence it is the base for actuating memory recovery (e.g. of obsolete logs that were taken in order to support state recoverability) and nonrevocable operations (e.g. I/O). For shared memory implementations of simulation platforms based on the Time Warp protocol, the reference GVT algorithm is the one presented by Fujimoto and Hybinette [1]. However, this algorithm relies on critical sections that make it non-wait-free, and which can hamper scalability. In this article we present a waitfree shared memory GVT algorithm that requires no critical section. Rather, correct coordination across the processes while computing the GVT value is achieved via memory atomic operations, namely compare-and-swap. The price paid by our proposal is an increase in the number of GVT computation phases, as opposed to the single phase required by the proposal in [1]. However, as we show via the results of an experimental study, the wait-free nature of the phases carried out in our GVT algorithm pays-off in reducing the actual cost incurred by the proposal in [1].","PeriodicalId":176377,"journal":{"name":"2014 IEEE 26th International Symposium on Computer Architecture and High Performance Computing","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-10-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"14","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 IEEE 26th International Symposium on Computer Architecture and High Performance Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SBAC-PAD.2014.38","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 14

Abstract

Global Virtual Time (GVT) is a powerful abstraction used to discriminate what events belong (and what do not belong) to the past history of a parallel/distributed computation. For high performance simulation systems based on the Time Warp synchronization protocol, where concurrent simulation objects are allowed to process their events speculatively and causal consistency is achieved via rollback/recovery techniques, GVT is used to determine which portion of the simulation can be considered as committed. Hence it is the base for actuating memory recovery (e.g. of obsolete logs that were taken in order to support state recoverability) and nonrevocable operations (e.g. I/O). For shared memory implementations of simulation platforms based on the Time Warp protocol, the reference GVT algorithm is the one presented by Fujimoto and Hybinette [1]. However, this algorithm relies on critical sections that make it non-wait-free, and which can hamper scalability. In this article we present a waitfree shared memory GVT algorithm that requires no critical section. Rather, correct coordination across the processes while computing the GVT value is achieved via memory atomic operations, namely compare-and-swap. The price paid by our proposal is an increase in the number of GVT computation phases, as opposed to the single phase required by the proposal in [1]. However, as we show via the results of an experimental study, the wait-free nature of the phases carried out in our GVT algorithm pays-off in reducing the actual cost incurred by the proposal in [1].
共享内存时间扭曲系统中的无等待全局虚拟时间计算
全局虚拟时间(GVT)是一个强大的抽象,用于区分哪些事件属于(哪些不属于)并行/分布式计算的过去历史。对于基于Time Warp同步协议的高性能仿真系统,允许并发仿真对象推测性地处理它们的事件,并通过回滚/恢复技术实现因果一致性,GVT用于确定仿真的哪一部分可以被视为已提交。因此,它是实现内存恢复(例如,为了支持状态可恢复性而获取的过时日志)和不可撤销操作(例如I/O)的基础。对于基于Time Warp协议的仿真平台的共享内存实现,参考的GVT算法是Fujimoto和Hybinette[1]提出的算法。然而,该算法依赖于使其非无等待的临界区,这可能会妨碍可伸缩性。在本文中,我们提出了一种不需要临界区的无等待共享内存GVT算法。相反,在计算GVT值时,跨进程的正确协调是通过内存原子操作(即比较-交换)实现的。我们的方案所付出的代价是GVT计算阶段数的增加,而不是[1]中方案所要求的单相。然而,正如我们通过实验研究的结果所表明的那样,我们的GVT算法中所进行的阶段的无等待性质在减少[1]中提议所产生的实际成本方面得到了回报。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书