On-line memorry defragmentation for NVM-based persistent heaps

Lin Li, Wei Ping Jiang, Rui Pan, Jinyu Zhan, Zili Shao, Xiankui Xiong · 2017

Due to the durability of NVM, we are facing the great challenge of performing efficient memory defragmentation on persistent heaps. To address the problem, we propose an Online Persistent Memory Defragmentation (OPMD) method to manage persistent heaps. Employing two segment trees to track memory allocation and deallocation operations, our method can amortize the cost of global scan, and determine the most valuable objects needed to be moved in logarithmic time. OPMD adopts software transactional memory to move objects and updates object references in constant time using object metadata. We conduct extensive experiments to test the impact of OPMD on the throughput of the operations of linked list and hash table.

Read the paper · More papers on PaperTik