一句话:提出多模态性能缺陷签名提取工具 PerfSig,通过跨数据因果分析定位根因函数。
生产云环境中的性能缺陷诊断十分困难,提取性能缺陷签名可帮助运维人员快速定位问题并避免重复人工诊断。PerfSig 是一种多模态性能缺陷签名提取工具,能够识别主要异常模式与根因函数。它在系统指标、系统日志和函数调用轨迹等多种机器数据上进行细粒度异常检测,并利用信息论方法跨不同数据开展因果分析,从而定位性能缺陷的根因函数。最终,签名由异常模式与根因函数组合而成。作者实现原型并在六种常用云系统的 20 个真实性能缺陷上评估,成功识别多种细粒度异常模式,并通过多模态因果分析在 19/20 个缺陷中定位根因函数。
Diagnosing a performance bug triggered in production cloud environments is notoriously challenging. Extracting performance bug signatures can help cloud operators quickly pinpoint the problem and avoid repeating manual efforts for diagnosing similar performance bugs. In this paper, we present PerfSig, a multi-modality performance bug signature extraction tool which can identify principal anomaly patterns and root cause functions for performance bugs. PerfSig performs fine-grained anomaly detection over various machine data such as system metrics, system logs, and function call traces. We then conduct causal analysis across different machine data using information theory method to pinpoint the root cause function of a performance bug. PerfSig generates bug signatures as the combination of the identified anomaly patterns and root cause functions. We have implemented a prototype of PerfSig and conducted evaluation using 20 real world performance bugs in six commonly used cloud systems. Our experimental results show that PerfSig captures various kinds of fine-grained anomaly patterns from different machine data and successfully identifies the root cause functions through multi-modality causal analysis for 19 out of 20 tested performance bugs.