Acyclic orientation graph coloring for software-managed memory allocation

被引:0
|
作者
WANG Li [1 ]
XUE JingLing [1 ,2 ]
YANG XueJun [1 ]
机构
[1] School of Computer,National University of Defense Technology
[2] School of Computer Science and Engineering,University of New South Wales
基金
中国国家自然科学基金;
关键词
graph coloring; memory coloring; interval coloring; acyclic orientation; software-managed memory;
D O I
暂无
中图分类号
O157.5 [图论];
学科分类号
摘要
This paper presents a novel compiler algorithm,called acyclic orientation graph coloring(AOG coloring),for managing data objects in software-managed memory allocation.The key insight is that softwaremanaged memory allocation could be solved as an interval coloring problem,or equivalently,an acyclic orientation problem.We generalize graph coloring register allocation to interval coloring memory allocation by maintaining an acyclic orientation to the currently colored subgraph.This is achieved with some well-crafted heuristics,including Aggressive Simplify that does not necessarily preserve colorability and Best-Fit Select that assigns intervals(i.e.,colors)to nodes by possibly adjusting the colors already assigned to other nodes earlier.Our algorithm generalizes and subsumes as a special case the classical graph coloring register allocation algorithm without notably increased complexity:it deals with memory allocation while preserving the elegance and practicality of traditional graph coloring register allocation.We have implemented our algorithm and tested it on Appel’s 27921 interference graphs for scalars(augmented with node weights).Our algorithm outperforms Memory Coloring,the best in the literature,for software-managed memory allocation,on 98.64%graphs,in which,the gaps are more than 20%on 68.31%graphs and worse only on 0.29%graphs.We also tested it on all the 73 DIMACS weighted benchmarks(weighted graphs),AOG Coloring outperforms Memory Coloring on all of the benchmarks,in which,the gaps are more than 20%on 83.56%graphs.
引用
收藏
页码:40 / 57
页数:18
相关论文
共 50 条
  • [1] Acyclic orientation graph coloring for software-managed memory allocation
    Li Wang
    JingLing Xue
    XueJun Yang
    Science China Information Sciences, 2014, 57 : 1 - 18
  • [2] Acyclic orientation graph coloring for software-managed memory allocation
    Wang Li
    Xue JingLing
    Yang XueJun
    SCIENCE CHINA-INFORMATION SCIENCES, 2014, 57 (09) : 1 - 18
  • [3] Comparability Graph Coloring for Optimizing Utilization of Software-Managed Stream Register Files for Stream Processors
    Yang, Xuejun
    Wang, Li
    Xue, Jingling
    Wu, Qingbo
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2012, 9 (01)
  • [4] A Tuning Framework for Software-Managed Memory Hierarchies
    Ren, Manman
    Park, Ji Young
    Houston, Mike
    Aiken, Alex
    Daily, William J.
    PACT'08: PROCEEDINGS OF THE SEVENTEENTH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2008, : 280 - 291
  • [5] A Memory Optimization Technique for Software-Managed Scratchpad Memory in GPUs
    Moazeni, Maryam
    Bui, Alex
    Sarrafzadeh, Majid
    2009 IEEE 7TH SYMPOSIUM ON APPLICATION SPECIFIC PROCESSORS (SASP 2009), 2009, : 43 - +
  • [6] Characterizing the Overhead of Software-Managed Hybrid Main Memory
    Bock, Santiago
    Childers, Bruce R.
    Melhem, Rami
    Mosse, Daniel
    2015 IEEE 23RD INTERNATIONAL SYMPOSIUM ON MODELING, ANALYSIS, AND SIMULATION OF COMPUTER AND TELECOMMUNICATION SYSTEMS (MASCOTS 2015), 2015, : 33 - 42
  • [7] Design and Implementation of Software-Managed Caches for Multicores with Local Memory
    Seo, Sangmin
    Lee, Jaejin
    Sura, Zehra
    HPCA-15 2009: FIFTEENTH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, PROCEEDINGS, 2009, : 55 - +
  • [8] Software-managed address translation
    Jacob, B
    Mudge, T
    THIRD INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE - PROCEEDINGS, 1997, : 156 - 167
  • [9] SoMMA: A software-managed memory architecture for multi-issue processors
    Jost, Tiago Trevisan
    Nazar, Gabriel Luca
    Carro, Luigi
    MICROPROCESSORS AND MICROSYSTEMS, 2020, 77 (77)
  • [10] Concurrent Migration of Multiple Pages in Software-Managed Hybrid Main Memory
    Bock, Santiago
    Childers, Bruce R.
    Melhem, Rami
    Mosse, Daniel
    PROCEEDINGS OF THE 34TH IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2016, : 420 - 423