Publication:
Precise event sampling on AMD versus intel: quantitative and qualitative comparison

dc.contributor.coauthorChabbi, Milind
dc.contributor.coauthorKelly, Paul H. J.
dc.contributor.departmentDepartment of Computer Engineering
dc.contributor.kuauthorSasongko, Muhammad Aditya
dc.contributor.kuauthorErten, Didem Unat
dc.contributor.schoolcollegeinstituteCollege of Engineering
dc.date.accessioned2025-01-19T10:34:09Z
dc.date.issued2023
dc.description.abstractPrecise event sampling is a profiling feature in commodity processors that can sample hardware events and accurately locate the instructions that trigger the events. This feature has been used in a large number of tools to detect application performance issues. Although precise event sampling is readily supported in modern multicore architectures, vendor supports exhibit great differences that affect their accuracy, stability, overhead, and functionality. This work presents the most comprehensive study to date on benchmarking the event sampling features of Intel PEBS and AMD IBS and performs in-depth analysis on key differences through series of microbenchmarks. Our qualitative and quantitative analysis shows that PEBS allows finer-grained and more accurate sampling of hardware events, while IBS offers richer set of information at each sample though it suffers from lower accuracy and stability. Moreover, OS signal delivery, which is a common method used by the profiling software, introduces significant time overhead to the original overhead incurred by the hardware mechanisms in both PEBS and IBS. We also found that both PEBS and IBS have bias in sampling events across multiple different locations in a code. Lastly, we demonstrate how our findings on microbenchmarks under different thread counts hold for a full-fledged profiling tool that runs on the state-of-the-art Intel and AMD machines. Overall our detailed comparisons serve as a great reference and provide invaluable information for hardware designers and profiling tool developers.
dc.description.indexedbyWOS
dc.description.indexedbyScopus
dc.description.issue5
dc.description.openaccessGreen Published, hybrid
dc.description.publisherscopeInternational
dc.description.sponsoredbyTubitakEuN/A
dc.description.sponsorshipManuscript received 24 June 2022; revised 17 February 2023; accepted 9 March 2023. Date of publication 14 March 2023; date of current version 24 March 2023. This work was supported in part by the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme under Grant 949587 and in part by the Scientific and Technological Research Council of Turkey (TUBITAK), under Grant 120E492. The work of Didem Unat was supported in part by the Royal Society-Newton Advanced Fellowship. Recommended for acceptance by T. Estrada. (Corresponding author: Muhammad Aditya Sasongko.)
dc.description.volume34
dc.identifier.doi10.1109/TPDS.2023.3257105
dc.identifier.eissn1558-2183
dc.identifier.issn1045-9219
dc.identifier.quartileQ1
dc.identifier.scopus2-s2.0-85151425065
dc.identifier.urihttps://doi.org/10.1109/TPDS.2023.3257105
dc.identifier.urihttps://hdl.handle.net/20.500.14288/26745
dc.identifier.wos958579600003
dc.keywordsRegisters
dc.keywordsHardware
dc.keywordsMonitoring
dc.keywordsPhasor measurement units
dc.keywordsInstruction sets
dc.keywordsBenchmark testing
dc.keywordsSoftware
dc.keywordsPrecise event sampling
dc.keywordsPMUs
dc.keywordsProfiling
dc.language.isoeng
dc.publisherIEEE Computer Soc
dc.relation.grantnoEuropean Research Council (ERC) - uropean Union's Horizon 2020 research and innovation programme [949587]; Scientific and Technological Research Council of Turkey (TUBITAK) [120E492]; Royal Society-Newton Advanced Fellowship; European Research Council (ERC) [949587] Funding Source: European Research Council (ERC)
dc.relation.ispartofIEEE Transactions on Parallel and Distributed Systems
dc.subjectComputer Science
dc.titlePrecise event sampling on AMD versus intel: quantitative and qualitative comparison
dc.typeJournal Article
dspace.entity.typePublication
local.contributor.kuauthorSasongko, Muhammad Aditya
local.contributor.kuauthorErten, Didem Unat
local.publication.orgunit1College of Engineering
local.publication.orgunit2Department of Computer Engineering
relation.isOrgUnitOfPublication89352e43-bf09-4ef4-82f6-6f9d0174ebae
relation.isOrgUnitOfPublication.latestForDiscovery89352e43-bf09-4ef4-82f6-6f9d0174ebae
relation.isParentOrgUnitOfPublication8e756b23-2d4a-4ce8-b1b3-62c794a8c164
relation.isParentOrgUnitOfPublication.latestForDiscovery8e756b23-2d4a-4ce8-b1b3-62c794a8c164

Files

Original bundle

Now showing 1 - 1 of 1
Thumbnail Image
Name:
IR05461.pdf
Size:
2.27 MB
Format:
Adobe Portable Document Format