StevenJiaxun, Tang, Mingcan Xiang, Yang Wang, Bo Wu, Jianjun Chen, Tongping Liu
{"title":"Scaler: Efficient and Effective Cross Flow Analysis","authors":"StevenJiaxun, Tang, Mingcan Xiang, Yang Wang, Bo Wu, Jianjun Chen, Tongping Liu","doi":"arxiv-2409.00854","DOIUrl":null,"url":null,"abstract":"Performance analysis is challenging as different components (e.g.,different\nlibraries, and applications) of a complex system can interact with each other.\nHowever, few existing tools focus on understanding such interactions. To bridge\nthis gap, we propose a novel analysis method \"Cross Flow Analysis (XFA)\" that\nmonitors the interactions/flows across these components. We also built the\nScaler profiler that provides a holistic view of the time spent on each\ncomponent (e.g., library or application) and every API inside each component.\nThis paper proposes multiple new techniques, such as Universal Shadow Table,\nand Relation-Aware Data Folding. These techniques enable Scaler to achieve low\nruntime overhead, low memory overhead, and high profiling accuracy. Based on\nour extensive experimental results, Scaler detects multiple unknown performance\nissues inside widely-used applications, and therefore will be a useful\ncomplement to existing work. The reproduction package including the source code, benchmarks, and\nevaluation scripts, can be found at https://doi.org/10.5281/zenodo.13336658.","PeriodicalId":501291,"journal":{"name":"arXiv - CS - Performance","volume":"43 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Performance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.00854","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Performance analysis is challenging as different components (e.g.,different
libraries, and applications) of a complex system can interact with each other.
However, few existing tools focus on understanding such interactions. To bridge
this gap, we propose a novel analysis method "Cross Flow Analysis (XFA)" that
monitors the interactions/flows across these components. We also built the
Scaler profiler that provides a holistic view of the time spent on each
component (e.g., library or application) and every API inside each component.
This paper proposes multiple new techniques, such as Universal Shadow Table,
and Relation-Aware Data Folding. These techniques enable Scaler to achieve low
runtime overhead, low memory overhead, and high profiling accuracy. Based on
our extensive experimental results, Scaler detects multiple unknown performance
issues inside widely-used applications, and therefore will be a useful
complement to existing work. The reproduction package including the source code, benchmarks, and
evaluation scripts, can be found at https://doi.org/10.5281/zenodo.13336658.