Multi-spectral reuse distance: Divining spatial information from temporal data

Anthony M. Cabrera, Roger D. Chamberlain, Jonathan C. Beard

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

The problem of efficiently feeding processing elements and finding ways to reduce data movement is pervasive in computing. Efficient modeling of both temporal and spatial locality of memory references is invaluable in identifying superfluous data movement in a given application. To this end, we present a new way to infer both spatial and temporal locality using reuse distance analysis. This is accomplished by performing reuse distance analysis at different data block granularities: specifically, 64B, 4KiB, and 2MiB sizes. This process of simultaneously observing reuse distance with multiple granularities is called multi-spectral reuse distance. This approach allows for a qualitative analysis of spatial locality, through observing the shifting of mass in an application's reuse signature at different granularities. Furthermore, the shift of mass is empirically measured by calculating the Earth Mover's Distance between reuse signatures of an application. From the characterization, it is possible to determine how spatially dense the memory references of an application are based on the degree to which the mass has shifted (or not shifted) and how close (or far) the Earth Mover's Distance is to zero as the data block granularity is increased. It is also possible to determine an appropriate page size from this information, and whether or not a given page is being fully utilized. From the applications profiled, it is observed that not all applications will benefit from having a larger page size. Additionally, larger data block granularities subsuming smaller ones suggest that larger pages will allow for more spatial locality exploitation, but examining the memory footprint will show whether those larger pages are fully utilized or not.

Original languageEnglish
Title of host publication2019 IEEE High Performance Extreme Computing Conference, HPEC 2019
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781728150208
DOIs
StatePublished - Sep 2019
Externally publishedYes
Event2019 IEEE High Performance Extreme Computing Conference, HPEC 2019 - Waltham, United States
Duration: Sep 24 2019Sep 26 2019

Publication series

Name2019 IEEE High Performance Extreme Computing Conference, HPEC 2019

Conference

Conference2019 IEEE High Performance Extreme Computing Conference, HPEC 2019
Country/TerritoryUnited States
CityWaltham
Period09/24/1909/26/19

Funding

ACKNOWLEDGMENT The authors would like to thank colleagues at Arm Research who contributed to this work through referrals to related work, helpful implementation-oriented suggestions, and spirited discussions around reuse distance. The research is supported in part by NSF grants CNS-1527510 and CNS-1763503. The authors would like to thank colleagues at Arm Research who contributed to this work through referrals to related work, helpful implementation-oriented suggestions, and spirited discussions around reuse distance. The research is supported in part by NSF grants CNS-1527510 and CNS-1763503.

FundersFunder number
Arm Research
National Science Foundation1763503, CNS-1527510, CNS-1763503
National Sleep Foundation

    Fingerprint

    Dive into the research topics of 'Multi-spectral reuse distance: Divining spatial information from temporal data'. Together they form a unique fingerprint.

    Cite this