IMPROVING THE CACHE LOCALITY OF MEMORY ALLOCATION

被引:1
|
作者
GRUNWALD, D [1 ]
ZORN, B [1 ]
HENDERSON, R [1 ]
机构
[1] UNIV COLORADO,DEPT COMP SCI,BOULDER,CO 80309
来源
SIGPLAN NOTICES | 1993年 / 28卷 / 06期
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The allocation and disposal of memory is a ubiquitous operation in most programs. Rarely do programmers concern themselves with details of memory allocators; most assume that memory allocators provided by the system perform well. This paper presents a performance evaluation of the reference locality of dynamic storage allocation algorithms based on trace-driven simulation of five large allocation-intensive C programs. In this paper, we show how the design of a memory allocator can significantly affect the reference locality for various applications. Our measurements show that poor locality in sequential-fit allocation algorithms reduces program performance, both by increasing paging and cache miss rates. While increased paging can be debilitating on any architecture, cache misses rates are also important for modem computer architectures. We show that algorithms attempting to be space-efficient by coalescing adjacent free objects show poor reference locality, possibly negating the benefits of space efficiency. At the other extreme, algorithms can expend considerable effort to increase reference locality yet gain little in total execution performance. Our measurements suggest an allocator design that is both very fast and has good locality of reference.
引用
收藏
页码:177 / 186
页数:10
相关论文
共 50 条
  • [1] Improving cache locality with blocked array layouts
    Athanasaki, E
    Koziris, N
    [J]. 12TH EUROMICRO CONFERENCE ON PARALLEL, DISTRIBUTED AND NETWORK-BASED PROCESSING, PROCEEDINGS, 2004, : 308 - 317
  • [2] Locality-driven MRC Construction and Cache Allocation
    Fu, Jianyu
    Arteaga, Dulcardo
    Zhao, Ming
    [J]. HPDC '18: PROCEEDINGS OF THE 27TH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE PARALLEL AND DISTRIBUTED COMPUTING: POSTERS/DOCTORAL CONSORTIUM, 2018, : 19 - 20
  • [3] Locality Protected Dynamic Cache Allocation Scheme on GPUs
    Zhang, Yang
    Xing, Zuocheng
    Zhou, Li
    Zhu, Chunsheng
    [J]. 2016 IEEE TRUSTCOM/BIGDATASE/ISPA, 2016, : 1524 - 1530
  • [4] LOCALITY ASPECTS AND CACHE MEMORY UTILITY IN MICROCOMPUTERS
    BURKHARDT, WH
    [J]. MICROPROCESSING AND MICROPROGRAMMING, 1989, 26 (01): : 51 - 62
  • [5] Locality-Driven Dynamic Flash Cache Allocation
    Xu, Liang
    Xia, Qianbin
    Xiao, Weijun
    [J]. 2017 IEEE 15TH INTL CONF ON DEPENDABLE, AUTONOMIC AND SECURE COMPUTING, 15TH INTL CONF ON PERVASIVE INTELLIGENCE AND COMPUTING, 3RD INTL CONF ON BIG DATA INTELLIGENCE AND COMPUTING AND CYBER SCIENCE AND TECHNOLOGY CONGRESS(DASC/PICOM/DATACOM/CYBERSCI, 2017, : 185 - 193
  • [6] Improving Cache Memory Utilization
    Serhan, Sami I.
    Abdel-Haq, Hamed M.
    [J]. PROCEEDINGS OF WORLD ACADEMY OF SCIENCE, ENGINEERING AND TECHNOLOGY, VOL 20, 2007, 20 : 299 - 304
  • [7] Improving cache locality by a combination of loop and data transformations
    Kandemir, M
    Ramanujam, J
    Choudhary, A
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 1999, 48 (02) : 159 - 167
  • [8] Improving Test Execution Time with Improved Cache Locality
    Stratis, Panagiotis
    [J]. PROCEEDINGS OF THE 2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C 2017), 2017, : 82 - 84
  • [9] Improving cache locality for GPU-based volume rendering
    Sugimoto, Yuki
    Ino, Fumihiko
    Hagihara, Kenichi
    [J]. PARALLEL COMPUTING, 2014, 40 (5-6) : 59 - 69
  • [10] A parametrized loop fusion algorithm for improving parallelism and cache locality
    Singhai, SK
    McKinley, KS
    [J]. COMPUTER JOURNAL, 1997, 40 (06): : 340 - 355