UiCA: Accurate Throughput Prediction of Basic Blocks on Intel Microarchitectures

rbanffy1 pts0 comments

[2107.14210] uiCA: Accurate Throughput Prediction of Basic Blocks on Recent Intel Microarchitectures

-->

Computer Science > Performance

arXiv:2107.14210 (cs)

[Submitted on 29 Jul 2021 (v1), last revised 19 May 2022 (this version, v3)]

Title:uiCA: Accurate Throughput Prediction of Basic Blocks on Recent Intel Microarchitectures

Authors:Andreas Abel, Jan Reineke<br>View a PDF of the paper titled uiCA: Accurate Throughput Prediction of Basic Blocks on Recent Intel Microarchitectures, by Andreas Abel and Jan Reineke

View PDF

Abstract:Performance models that statically predict the steady-state throughput of basic blocks on particular microarchitectures, such as IACA, Ithemal, llvm-mca, OSACA, or CQA, can guide optimizing compilers and aid manual software optimization. However, their utility heavily depends on the accuracy of their predictions. The average error of existing models compared to measurements on the actual hardware has been shown to lie between 9% and 36%. But how good is this? To answer this question, we propose an extremely simple analytical throughput model that may serve as a baseline. Surprisingly, this model is already competitive with the state of the art, indicating that there is significant potential for improvement.

To explore this potential, we develop a simulation-based throughput predictor. To this end, we propose a detailed parametric pipeline model that supports all Intel Core microarchitecture generations released between 2011 and 2021. We evaluate our predictor on an improved version of the BHive benchmark suite and show that its predictions are usually within 1% of measurement results, improving upon prior models by roughly an order of magnitude. The experimental evaluation also demonstrates that several microarchitectural details considered to be rather insignificant in previous work, are in fact essential for accurate prediction.

Our throughput predictor is available as open source at this https URL.

Subjects:

Performance (cs.PF)

Cite as:<br>arXiv:2107.14210 [cs.PF]

(or<br>arXiv:2107.14210v3 [cs.PF] for this version)

https://doi.org/10.48550/arXiv.2107.14210

Focus to learn more

arXiv-issued DOI via DataCite

Journal reference:<br>2022 International Conference on Supercomputing (ICS '22), June 28--30, 2022, Virtual Event, USA

Related DOI:

https://doi.org/10.1145/3524059.3532396

Focus to learn more

DOI(s) linking to related resources

Submission history<br>From: Andreas Abel [view email]<br>[v1]<br>Thu, 29 Jul 2021 17:48:04 UTC (625 KB)

[v2]<br>Thu, 17 Feb 2022 15:53:49 UTC (603 KB)

[v3]<br>Thu, 19 May 2022 20:56:41 UTC (657 KB)

Full-text links:<br>Access Paper:

View a PDF of the paper titled uiCA: Accurate Throughput Prediction of Basic Blocks on Recent Intel Microarchitectures, by Andreas Abel and Jan Reineke<br>View PDF<br>TeX Source

view license

Current browse context:

cs.PF

next >

new<br>recent<br>| 2021-07

Change to browse by:

cs

References & Citations

NASA ADS<br>Google Scholar

Semantic Scholar

DBLP - CS Bibliography

listing | bibtex

Andreas Abel<br>Jan Reineke

export BibTeX citation<br>Loading...

BibTeX formatted citation

&times;

loading...

Data provided by:

Bookmark

Bibliographic Tools

Bibliographic and Citation Tools

Bibliographic Explorer Toggle

Bibliographic Explorer (What is the Explorer?)

Connected Papers Toggle

Connected Papers (What is Connected Papers?)

Litmaps Toggle

Litmaps (What is Litmaps?)

scite.ai Toggle

scite Smart Citations (What are Smart Citations?)

Code, Data, Media

Code, Data and Media Associated with this Article

alphaXiv Toggle

alphaXiv (What is alphaXiv?)

Links to Code Toggle

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub Toggle

DagsHub (What is DagsHub?)

GotitPub Toggle

Gotit.pub (What is GotitPub?)

Huggingface Toggle

Hugging Face (What is Huggingface?)

ScienceCast Toggle

ScienceCast (What is ScienceCast?)

Demos

Demos

Replicate Toggle

Replicate (What is Replicate?)

Spaces Toggle

Hugging Face Spaces (What is Spaces?)

Spaces Toggle

TXYZ.AI (What is TXYZ.AI?)

Related Papers

Recommenders and Search Tools

Link to Influence Flower

Influence Flower (What are Influence Flowers?)

Core recommender toggle

CORE Recommender (What is CORE?)

Author

Venue

Institution

Topic

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 .

Which authors of this paper are endorsers? |<br>Disable MathJax (What is MathJax?)

toggle throughput arxiv accurate prediction basic

Related Articles