phase-change RAM (PRAM) will most likely become the next generation of mainstream memory technology instead of dynamic RAM (DRAM) because of its good properties.In order to minimize the performance degradation on latency and endurance caused by PRAM
we use PRAM with a small size DRAM and both PRAM and DRAM are mapped into single physical main memory address space in Linux.However
the typical Linux kernel is not develop for hybrid memory architecture
which cannot reduce the PDRAM power consumption.Therefore
we use the memory management algorithm based on hybrid memory architecture PDRAM
which not only can manage different page frames
but also can allocate page frames according to the general access characteristics of pages on virtual address space and migrate page frames dynamically.It can store frequently read data in PRAM and frequently written data in DRAM
which can reduces around 50% power consumption of main memory increased by only 0.4% latency and increase the lifetime of PRAM.