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

Inspector:一个多线程程序的数据源库

Inspector: A Data Provenance Library for Multithreaded Programs

Jörg Thalheim, Pramod Bhatotia, Christof Fetzer

摘要:

数据出处通过记录执行的痕迹来解释计算是如何执行的。出处跟踪在广泛的工作流程中非常有用,可以提高软件系统的可靠性、安全性和效率。在本文中,我们提出督察,POSIX兼容的数据出处库共享内存多线程程序。Inspector库是完全透明的,并且用途:它可以通过简单地交换链接的库来替代pthreads库,甚至不需要重新编译应用程序代码。为了实现这一结果,我们提出了一个并行的起源算法,记录控制,数据和调度依赖使用并发起源图(CPG)。我们实现了我们的算法,通过利用特定于操作系统的机制组合,在编译的二进制代码级别上运行,最近发布了英特尔PT ISA扩展,作为Broadwell微架构的一部分。我们的评估多核平台上使用的应用程序,从多线程基准套件(PARSEC和凤凰)显示合理的起源开销的大多数应用程序。最后,我们简要介绍了三个案例研究,其中通用接口导出的督察正在使用,以提高系统的可靠性,安全性和效率。Inspector库是公开的,可在广泛的其他出处工作流程中进一步使用。

英文摘要:

Data provenance strives for explaining how the computation was performed by recording a trace of the execution. The provenance trace is useful across a wide-range of workflows to improve the dependability, security, and efficiency of software systems. In this paper, we present Inspector, a POSIX-compliant data provenance library for shared-memory multithreaded programs. The Inspector library is completely transparent and easy to use: it can be used as a replacement for the pthreads library by a simple exchange of libraries linked, without even recompiling the application code. To achieve this result, we present a parallel provenance algorithm that records control, data, and schedule dependencies using a Concurrent Provenance Graph (CPG). We implemented our algorithm to operate at the compiled binary code level by leveraging a combination of OS-specific mechanisms, and recently released Intel PT ISA extensions as part of the Broadwell micro-architecture. Our evaluation on a multicore platform using applications from multithreaded benchmarks suites (PARSEC and Phoenix) shows reasonable provenance overheads for a majority of applications. Lastly, we briefly describe three case-studies where the generic interface exported by Inspector is being used to improve the dependability, security, and efficiency of systems. The Inspector library is publicly available for further use in a wide range of other provenance workflows.

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

↑