2017 · 30 citations · 9 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureOperating SystemsParallel ComputingCache Behavior AnalysisCommunication OverheadHardware DebuggingHigh-throughput ComputingPerformance Bottleneck AnalysisPerformance ModelingCache AnalysisCache Miss AnalysisPerformance Bottleneck DetectionPerformance DebuggingRoot CausesSystem Noise CharacterizationWorkloadWorkload Prediction
Analyzing system-noise incurred to high-throughput systems (e.g., Spark, RDBMS) from the underlying machines must be in the granularity of the message- or request-level to find the root causes of performance anomalies, because messages are passed through many components in very short periods. To this end, we consider using Precise Event Based Sampling (PEBS) equipped in Intel CPUs at higher sampling rates than used normally is promising. It saves context information (e.g., the general purpose registers) at occurrences of various hardware events such as cache misses. The information can be used to associate performance anomalies caused by system noise with specific messages. One challenge is that quantitative analysis of PEBS overhead with high sampling rates has not yet been studied. This is critical because high sampling rates can cause severe overhead but performance problems are often reproducible only in real environments. In this paper, we evaluate the overhead of PEBS and show: (1) every time PEBS saves context information, the target workload slows down by 200-300 ns due to the CPU overhead of PEBS, (2) the CPU overhead can be used to predict actual overhead incurred with complex workloads including multi-threaded ones with high accuracy, and (3) PEBS incurs cache pollution and extra memory IO since PEBS writes data into the CPU cache, and the severity of cache pollution is affected both by the sampling rate and the buffer size allocated for PEBS. To the best of our knowledge, we are the first to quantitatively analyze the overhead of PEBS.
9
Proceedings of the 2017 USENIX Annual Technical Conference (USENIX ATC ’17)
Do Le Quoc, Martin S. Beck, Pramod Bhatotia et al. · 2017 · 611 citations
Making sense of performance in data analytics frameworks
Kay Ousterhout, Ryan Rasti, Sylvia Ratnasamy et al. · Networked Systems Design and Implementation · 2015 · 332 citations
lprof: a non-intrusive request flow profiler for distributed systems
Xu Zhao, Yongle Zhang, David Lion et al. · TSpace (University of Toronto) · 2014 · 103 citations · Full text