首页> 外文期刊>Computer architecture news >Towards Practical Default-On Multi-Core Record/Replay
【24h】

Towards Practical Default-On Multi-Core Record/Replay

机译:迈向实用的默认开启多核记录/重放

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

摘要

We present Castor, a record/replay system for multi-core applications that provides consistently low and predictable overheads. With Castor, developers can leave record and replay on by default, making it practical to record and reproduce production bugs, or employ fault tolerance to recover from hardware failures. Castor is inspired by several observations: First, an efficient mechanism for logging non-deterministic events is critical for recording demanding workloads with low overhead. Through careful use of hardware we were able to increase log throughput by 10× or more, e.g., we could record a server handling 10× more requests per second for the same record overhead. Second, most applications can be recorded without modifying source code by using the compiler to instrument language level sources of non-determinism, in conjunction with more familiar techniques like shared library interposition. Third, while Castor cannot deterministically replay all data races, this limitation is generally unimportant in practice, contrary to what prior work has assumed. Castor currently supports applications written in C, C++, and Go on FreeBSD. We have evaluated Castor on parallel and server workloads, including a commercial implementation of memcached in Go, which runs Castor in production.
机译:我们介绍Castor,这是一种用于多核应用程序的记录/重放系统,可提供始终如一的低且可预测的开销。使用Castor,开发人员可以默认保留记录并重播,从而可以记录和重现生产错误,或者使用容错能力从硬件故障中恢复。 Castor受以下观察启发:第一,记录非确定性事件的有效机制对于以低开销记录苛刻的工作负载至关重要。通过谨慎使用硬件,我们能够将日志吞吐量提高10倍或更多,例如,我们可以记录一台服务器,每秒以相同的记录开销处理10倍以上的请求。其次,通过使用编译器来检测非确定性的语言级别源,并结合共享库插入等更熟悉的技术,可以记录大多数应用程序而无需修改源代码。第三,虽然Castor无法确定性地重播所有数据争用,但实际上,与以前的工作相反,此限制实际上并不重要。 Castor当前支持在FreeBSD上用C,C ++和Go编写的应用程序。我们已经评估了Castor在并行和服务器工作负载上的性能,包括Go中memcached的商业实现,该实现在生产中运行Castor。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号