Data-driven Spatial Locality

被引:3
|
作者
Miucin, Svetozar [1 ]
Fedorova, Alexandra [1 ]
机构
[1] Univ British Columbia, Vancouver, BC, Canada
关键词
memory performance; spatial locality; graph algorithms; random forests; CACHE; FRAMEWORK;
D O I
10.1145/3240302.3240417
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Researchers and practitioners dedicate a lot of effort to improving spatial locality in their programs. Hardware caches rely on spatial locality for efficient operation; when it is absent, they waste memory bandwidth and cache space by fetching data that is never used before it is evicted. Improving spatial locality is difficult. For the most part, these are manual efforts by expert programmers, requiring substantial insight into the program's data layout and data access pattern. This work introduces Access Graphs: a novel abstraction of memory access patterns that exposes spatial locality features and allows for automatic computation of better memory layouts. Using access graphs and a set of analysis algorithms and tools, we are able to significantly improve simulated cache miss rates by changing data layout. Further, we use random forest classifiers to automatically identify features of the data that correlate with how the data is actually used. We build a memory allocator that uses these features to guide data allocation at runtime and achieves a better spatial locality and improved performance as a result.
引用
收藏
页码:243 / 253
页数:11
相关论文
共 50 条
  • [1] Data-Driven Locality-Aware Batch Scheduling
    Gonthier, Maxime
    Larsson, Elisabeth
    Marchal, Loris
    Nettelblad, Carl
    Thibault, Samuel
    [J]. 2024 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS, IPDPSW 2024, 2024, : 202 - 211
  • [2] Data-driven inference for the spatial scan statistic
    Alexandre CL Almeida
    Anderson R Duarte
    Luiz H Duczmal
    Fernando LP Oliveira
    Ricardo HC Takahashi
    [J]. International Journal of Health Geographics, 10
  • [3] Data-driven inference for the spatial scan statistic
    Almeida, Alexandre C. L.
    Duarte, Anderson R.
    Duczmal, Luiz H.
    Oliveira, Fernando L. P.
    Takahashi, Ricardo H. C.
    [J]. INTERNATIONAL JOURNAL OF HEALTH GEOGRAPHICS, 2011, 10
  • [4] Temporal Data-Driven Sleep Scheduling and Spatial Data-Driven Anomaly Detection for Clustered Wireless Sensor Networks
    Li, Gang
    He, Bin
    Huang, Hongwei
    Tang, Limin
    [J]. SENSORS, 2016, 16 (10)
  • [5] A Spatial Data-Driven Approach for Mineral Prospectivity Mapping
    Senanayake, Indishe P.
    Kiem, Anthony S.
    Hancock, Gregory R.
    Metelka, Vaclav
    Folkes, Chris B.
    Blevin, Phillip L.
    Budd, Anthony R.
    [J]. REMOTE SENSING, 2023, 15 (16)
  • [6] A data-driven spatial approach to characterize the flood hazard
    Mostafiz, Rubayet Bin
    Rahim, Md Adilur
    Friedland, Carol J. J.
    Rohli, Robert V. V.
    Bushra, Nazla
    Orooji, Fatemeh
    [J]. FRONTIERS IN BIG DATA, 2022, 5
  • [7] DATA-DRIVEN
    Lev-Ram, Michal
    [J]. FORTUNE, 2016, 174 (05) : 76 - 81
  • [8] Predictive Task Assignment in Spatial Crowdsourcing: A Data-driven Approach
    Zhao, Yan
    Zheng, Kai
    Cui, Yue
    Su, Han
    Zhu, Feida
    Zhou, Xiaofang
    [J]. 2020 IEEE 36TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2020), 2020, : 13 - 24
  • [9] Landslide size matters: A new data-driven, spatial prototype
    Lombardo, Luigi
    Tanyas, Hakan
    Huser, Raphael
    Guzzetti, Fausto
    Castro-Camilo, Daniela
    [J]. ENGINEERING GEOLOGY, 2021, 293
  • [10] Data-driven virtual sensing for spatial distribution of temperature and humidity
    Kowli, Anupama
    Rani, Vinita
    Sanap, Mayur
    [J]. JOURNAL OF BUILDING ENGINEERING, 2023, 67