Efficient Memory Management for Structured Data-Layout Optimization

YAN Jianian,CHEN Wenguang,ZHENG Weimin
DOI: https://doi.org/10.16511/j.cnki.qhdxxb.2011.01.013
2011-01-01
Abstract:In the default memory management mode,the memory pool for structured data-layout optimization has to be moved when the pool needs to be expanded.This paper describes a data move-free memory management system(DM3) based on the shared memory mechanism of the POSIX standard interface that avoids this high overhead and improves the memory pool performance.The system uses the shared memory mechanism to controls the mapping of physical memory to virtual memory address spaces at the user level to efficiently manage the memory.The system assigns a memory address space that favors memory expansion while avoiding conflicts with other memory requirements.When there is not enough free address space for expansion,the system remaps the memory addresses to avoid moving data.The system gives a maximum speedup of 9.76 fold compared to the realloc method for various OSs.DM3 is implemented with the POSIX interface,has good portability and usability,and is very efficient.
What problem does this paper attempt to address?