arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.06267cs.PL
收藏

Actor语言的高效确定性记录和重放

Efficient and Deterministic Record & Replay for Actor Languages

Dominik Aumayr, Stefan Marr, Clément Béra, Elisa Gonzalez Boix, Hanspeter Mössenböck

摘要:

随着并行商用硬件的普及,开发人员转向高级并发模型,如演员模型,以降低并发软件的复杂性。然而,调试并发软件是困难的,特别是对于支持工具集有限的并发模型。这类工具通常只处理底层线程和锁,这是在错误的抽象级别上,甚至可能引入额外的复杂性。为了改善这种情况,我们提出了一个低开销的记录和重放方法的演员语言。它允许根据先前记录的跟踪确定性地调试并发问题。我们的评估表明,在Savina套件的基准测试上进行跟踪的平均运行时开销为10%(最小为0%,最大为10%)。20%)。对于现代Web应用程序Acme-Air,我们看到HTTP请求的延迟最多增加了1%,跟踪数据增加了约1.4 MB/s。这些结果是确定性重放调试的演员系统在生产中的第一步。

英文摘要:

With the ubiquity of parallel commodity hardware, developers turn to high-level concurrency models such as the actor model to lower the complexity of concurrent software. However, debugging concurrent software is hard, especially for concurrency models with a limited set of supporting tools. Such tools often deal only with the underlying threads and locks, which is at the wrong abstraction level and may even introduce additional complexity. To improve on this situation, we present a low-overhead record & replay approach for actor languages. It allows one to debug concurrency issues deterministically based on a previously recorded trace. Our evaluation shows that the average run-time overhead for tracing on benchmarks from the Savina suite is 10% (min. 0%, max. 20%). For Acme-Air, a modern web application, we see a maximum increase of 1% in latency for HTTP requests and about 1.4 MB/s of trace data. These results are a first step towards deterministic replay debugging of actor systems in production.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑