iBuddy: Inverse Buddy for Enhancing Memory Allocation/Deallocation Performance on Multi-Core Systems

被引:3
|
作者
Park, Heekwon [1 ]
Choi, Jongmoo [2 ]
Lee, Donghee [3 ]
Noh, Sam H. [4 ]
机构
[1] Univ Pittsburgh, Dept Comp Sci, Pittsburgh, PA 30332 USA
[2] Dankook Univ, Dept Software Sci, Yongin, South Korea
[3] Univ Seoul, Dept Comp Sci, Seoul, South Korea
[4] Hongik Univ, Sch Comp & Informat Engn, Seoul, South Korea
基金
新加坡国家研究基金会;
关键词
Dynamic memory manager; splitting and coalescing; Buddy algorithm;
D O I
10.1109/TC.2013.2296049
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We present a new buddy system for memory allocation that we call the lazy iBuddy system. This system is motivated by two observations of the widely used lazy buddy system on multi-core systems. First, most memory requests are for single page frames. However, the lazy buddy algorithm used in Linux continuously splits and coalesces memory blocks for single page frame requests even though the lazy layer is employed. Second, on multi-core systems, responses to bursty memory requests are delayed by lock contention caused by concurrent accesses of the multi-cores. The lazy iBuddy system overcomes the first problem by managing each page frame individually and coalescing pages only when an allocation of multiple page frames is requested. We devise the lazy iBuddy algorithm so that single page frame allocation can be done in O(1). The second problem is alleviated by dividing main memory into multiple buddy spaces and applying a fine-grained locking mechanism. Performance evaluation results based on various workloads on the XEON 16core with 32 GB main memory show that the lazy iBuddy system can improve memory allocation/deallocation time by up to 47 percent with an average of 35 percent compared with the lazy buddy system for the various configurations that we considered.
引用
收藏
页码:720 / 732
页数:13
相关论文
共 50 条
  • [1] Memory performance attacks: Denial of memory service in multi-core systems
    Moscibroda, Thomas
    Mutlu, Onur
    USENIX ASSOCIATION PROCEEDINGS OF THE 16TH USENIX SECURITY SYMPOSIUM, 2007, : 257 - 274
  • [2] A Non-blocking Buddy System for Scalable Memory Allocation on Multi-core Machines Poster extended abstract
    Marotta, Romolo
    Ianni, Mauro
    Scarselli, Andrea
    Pellegrini, Alessandro
    Quaglia, Francesco
    2018 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2018, : 164 - 165
  • [3] MESS: Memory Performance Debugging on Embedded Multi-core Systems
    Chattopadhyay, Sudipta
    MODEL CHECKING SOFTWARE, SPIN 2015, 2015, 9232 : 105 - 125
  • [4] Combine Thread with Memory Scheduling for Maximizing Performance in Multi-core Systems
    Jia, Gangyong
    Han, Guangjie
    Shi, Liang
    Wan, Jian
    Dai, Dong
    2014 20TH IEEE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2014, : 298 - 305
  • [5] Interference-Aware Memory Allocation for Real-Time Multi-Core Systems
    Reder, Simon
    Becker, Juergen
    2020 IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2020), 2020, : 148 - 159
  • [6] An Elastic Multi-Core Allocation Mechanism for Database Systems
    Dominico, Simone
    de Almeida, Eduardo C.
    Meira, Jorge A.
    Alves, Marco A. Z.
    2018 IEEE 34TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2018, : 473 - 484
  • [7] Enhancing the scalability and memory usage of HashSieve on multi-core CPUs
    Mariano, Artur
    Bischof, Christian
    2016 24TH EUROMICRO INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED, AND NETWORK-BASED PROCESSING (PDP), 2016, : 545 - 552
  • [8] Memory Affinity: Balancing Performance, Power, Thermal and Fairness for Multi-core Systems
    Jia, Gangyong
    Li, Xi
    Wang, Chao
    Zhou, Xuehai
    Zhu, Zongwei
    2012 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2012, : 605 - 609
  • [9] A Performance Conserving Approach for Reducing Memory Power Consumption in Multi-Core Systems
    Fang, Juan
    Lu, Jiajia
    Wang, Mengxuan
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2019, 28 (07)
  • [10] Performance Evaluation of LAMMPS on Multi-core Systems
    Cha, Kwangho
    2013 IEEE 15TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS & 2013 IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (HPCC_EUC), 2013, : 812 - 819