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

采用自适应采样率以收集具有代表性执行轨迹样本的软件运行时监控

Software Runtime Monitoring with Adaptive Sampling Rate to Collect Representative Samples of Execution Traces

Jhonny Mertz, Ingrid Nunes

AI总结:

本研究提出一种带统计学基础算法的自适应软件运行时监控流程,可动态调整采样率,在较低性能影响下提升执行轨迹样本代表性,效果优于传统反比采样策略。

摘要:

在运行时监控软件系统是理解工作负载、调试和实现自适应的关键。这一过程通常涉及收集并存储可观测的软件数据,这些数据可进行在线或离线分析。尽管收集系统数据十分有用,但它可能会延迟响应时间并与系统争夺资源,从而对系统执行产生显著影响。应对这一问题的典型方法是筛选部分待监控的系统组件并对数据进行采样。尽管这些方法朝着在收集的信息量与对系统性能的影响之间取得理想平衡的方向迈进了一步,但它们要么专注于收集特定类型的数据,要么可能采集到无法反映实际系统行为的样本。为此,我们提出一种自适应运行时监控流程,可在监控软件系统时动态调整采样率。该流程包含具备统计学基础的算法,旨在在不损害系统性能的前提下提升所收集样本的代表性。我们针对一个广泛使用的基准测试中的五个应用开展了评估。结果表明,与主要替代策略(采样率与吞吐量成反比)相比,我们的方法所收集样本的误差(RMSE)降低了9-54%,而性能影响仅高出1-6%。

英文摘要:

Monitoring software systems at runtime is key for understanding workloads, debugging, and self-adaptation. It typically involves collecting and storing observable software data, which can be analyzed online or offline. Despite the usefulness of collecting system data, it may significantly impact the system execution by delaying response times and competing with system resources. The typical approach to cope with this is to filter portions of the system to be monitored and to sample data. Although these approaches are a step towards achieving a desired trade-off between the amount of collected information and the impact on the system performance, they focus on collecting data of a particular type or may capture a sample that does not correspond to the actual system behavior. In response, we propose an adaptive runtime monitoring process to dynamically adapt the sampling rate while monitoring software systems. It includes algorithms with statistical foundations to improve the representativeness of collected samples without compromising the system performance. Our evaluation targets five applications of a widely used benchmark. It shows that the error (RMSE) of the samples collected with our approach is 9-54% lower than the main alternative strategy (sampling rate inversely proportional to the throughput), with 1-6% higher performance impact.

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

↑