Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3240302.3240425acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmemsysConference Proceedingsconference-collections
research-article
Public Access

Fine-grained data usage analysis by access sampling: seeing the data that is not there

Published: 01 October 2018 Publication History

Abstract

Estimating active data usage is a basic problem in memory system analysis, management and optimization. Fine-grained usage analysis is costly because it requires monitoring data access.
This paper presents efficient fine-grained analysis through access sampling. By taking random samples at some frequency ratio, e.g. 1% of cache misses, it infers the size of the other data accessed in the rest of the trace. Since the analysis deduces the total amount of data accessed by inspecting a subset of accesses, it is seeing the data that is not there. The paper presents the analysis and its evaluation using 8 program traces. The error of data-size prediction is 33% at 1% sampling and 6% at 10% sampling. The new technique is significantly more accurate than two previous models. One is based on skewed distributions, i.e. the "80-20" law. The other is the well-known Good-Turing frequency estimation.

References

[1]
Kristof Beyls and Erik H. D'Hollander. 2006. Discovery of locality-improving refactoring by reuse path analysis. In Proceedings of High Performance Computing and Communications. Springer. Lecture Notes in Computer Science, Vol. 4208. 220--229.
[2]
Daniel Byrne, Nilufer Onder, and Zhenlin Wang. 2018. mPart: miss-ratio curve guided partitioning in key-value stores. In Proceedings of the International Symposium on Memory Management. 84--95.
[3]
Dong Chen, Fangzhou Liu, Chen Ding, and Sreepathi Pai. 2018. Locality analysis through static parallel sampling. In Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation. 557--570.
[4]
David Eklov and Erik Hagersten. 2010. StatStack: Efficient modeling of LRU caches. In Proceedings of the IEEE International Symposium on Performance Analysis of Systems and Software. 55--65.
[5]
Christos Faloutsos, Yossi Matias, and Abraham Silberschatz. 1996. Modeling Skewed Distribution Using Multifractals and the '80-20' Law. In Proceedings of International Conference on Very Large Data Bases. 307--317. http://www.vldb.org/conf/1996/P307.PDF
[6]
Xiameng Hu, Xiaolin Wang, Lan Zhou, Yingwei Luo, Chen Ding, and Zhenlin Wang. 2016. Kinetic Modeling of Data Eviction in Cache. In Proceedings of USENIX Annual Technical Conference. 351--364. https://www.usenix.org/conference/atc16/technical-sessions/presentation/hu
[7]
Yannis E. Ioannidis and Viswanath Poosala. 1995. Balancing Histogram Optimality and Practicality for Query Result Size Estimation. In Proceedings of the ACM SIGMOD International Conference on Management of Data. 233--244.
[8]
M. K. Qureshi and Y. N. Patt. 2006. Utility-Based Cache Partitioning: A Low-Overhead, High-Performance, Runtime Mechanism to Partition Shared Caches. In Proceedings of the International Symposium on Microarchitecture.
[9]
Manfred R. Schroeder. 1991. Fractals, chaos, power laws - minutes from an infinite paradise. Freeman. http://www.worldcat.org/oclc/21522909
[10]
David K. Tam, Reza Azimi, Livio Soares, and Michael Stumm. 2009. RapidMRC: approximating L2 miss rate curves on commodity systems for online optimizations. In Proceedings of the International Conference on Architectural Support for Programming Languages and Operating Systems. 121--132.
[11]
Carl A. Waldspurger, Trausti Saemundsson, Irfan Ahmad, and Nohhyun Park. 2017. Cache Modeling and Optimization using Miniature Simulations. In Proceedings of USENIX Annual Technical Conference. 487--498. https://www.usenix.org/conference/atc17/technical-sessions/presentation/waldspurger
[12]
Wang et al. 2015. Optimal Program Symbiosis in Shared Cache. In Proceedings of the IEEE International Symposium on Cluster Computing and the Grid.
[13]
Xiaoya Xiang, Chen Ding, Hao Luo, and Bin Bao. 2013. HOTL: a higher order theory of locality. In Proceedings of the International Conference on Architectural Support for Programming Languages and Operating Systems. 343--356.
[14]
Yaocheng Xiang, Xiaolin Wang, Zihui Huang, Zeyu Wang, Yingwei Luo, and Zhenlin Wang. 2018. DCAPS: dynamic cache allocation with partial sharing. In Proceedings of the EuroSys Conference. 13:1--13:15.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
MEMSYS '18: Proceedings of the International Symposium on Memory Systems
October 2018
361 pages
ISBN:9781450364751
DOI:10.1145/3240302
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 October 2018

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Funding Sources

Conference

MEMSYS '18
MEMSYS '18: The International Symposium on Memory Systems
October 1 - 4, 2018
Virginia, Alexandria, USA

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 236
    Total Downloads
  • Downloads (Last 12 months)34
  • Downloads (Last 6 weeks)13
Reflects downloads up to 03 Oct 2024

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media