https://arxiv.org/abs/2012.11473 close this message Donate to arXiv Please join the Simons Foundation and our generous member organizations in supporting arXiv during our giving campaign September 23-27. 100% of your contribution will fund improvements and new initiatives to benefit arXiv's global scientific community. DONATE [secure site, no need to create account] Skip to main content Cornell University We gratefully acknowledge support from the Simons Foundation and member institutions. arXiv.org > cs > arXiv:2012.11473 [ ] Help | Advanced Search [All fields ] Search arXiv Cornell University Logo [ ] GO quick links * Login * Help Pages * About Computer Science > Hardware Architecture arXiv:2012.11473 (cs) [Submitted on 21 Dec 2020] Title:From micro-OPs to abstract resources: constructing a simpler CPU performance model through microbenchmarking Authors:Nicolas Derumigny, Fabian Gruber, Theophile Bastian, Christophe Guillon, Louis-Noel Pouchet, Fabrice Rastello Download PDF Abstract: This paper describes PALMED, a tool that automatically builds a resource mapping, a performance model for pipelined, super-scalar, out-of-order CPU architectures. Resource mappings describe the execution of a program by assigning instructions in the program to abstract resources. They can be used to predict the throughput of basic blocks or as a machine model for the backend of an optimizing compiler. PALMED does not require hardware performance counters, and relies solely on runtime measurements to construct resource mappings. This allows it to model not only execution port usage, but also other limiting resources, such as the frontend or the reorder buffer. Also, thanks to a dual representation of resource mappings, our algorithm for constructing mappings scales to large instruction sets, like that of x86. We evaluate the algorithmic contribution of the paper in two ways. First by showing that our approach can reverse engineering an accurate resource mapping from an idealistic performance model produced by an existing port-mapping. We also evaluate the pertinence of our dual representation, as opposed to the standard port-mapping, for throughput modeling by extracting a representative set of basic-blocks from the compiled binaries of the Spec CPU 2017 benchmarks and comparing the throughput predicted by existing machine models to that produced by PALMED. Subjects: Hardware Architecture (cs.AR); Performance (cs.PF) Cite as: arXiv:2012.11473 [cs.AR] (or arXiv:2012.11473v1 [cs.AR] for this version) Submission history From: Nicolas Derumigny [view email] [v1] Mon, 21 Dec 2020 16:42:50 UTC (1,543 KB) Full-text links: Download: * PDF * Other formats (license) Current browse context: cs.AR < prev | next > new | recent | 2012 Change to browse by: cs cs.PF References & Citations * NASA ADS * Google Scholar * Semantic Scholar a export bibtex citation Loading... Bibtex formatted citation x [loading... ] Data provided by: Bookmark BibSonomy logo Mendeley logo Reddit logo ScienceWISE logo (*) About arXivLabs arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs and how to get involved. ( ) Bibliographic Tools Bibliographic and Citation Tools [ ] Bibliographic Explorer Toggle Bibliographic Explorer (What is the Explorer?) ( ) Code Code Associated with this Article [ ] arXiv Links to Code Toggle arXiv Links to Code (What is Links to Code?) ( ) Recommenders Recommenders and Search Tools [ ] Core recommender toggle CORE Recommender (What is CORE?) Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?) * About * Help * Click here to contact arXiv Contact * Click here to subscribe Subscribe * Copyright * Privacy Policy * Web Accessibility Assistance * arXiv Operational Status Get status notifications via email or slack