Title :
Synergistic coupling of SSD and hard disk for QoS-aware virtual memory
Author :
Ke Liu ; Xuechen Zhang ; Davis, Kyle ; Song Jiang
Author_Institution :
ECE Dept., Wayne State Univ., Detroit, MI, USA
Abstract :
With significant advantages in capacity, power consumption, and price, solid state disk (SSD) has good potential to be employed as an extension of DRAM (memory), such that applications with large working sets could run efficiently on a modestly configured system. While initial results reported in recent works show promising prospects for this use of SSD by incorporating it into the management of virtual memory, frequent writes from write-intensive programs could quickly wear out SSD, making the idea less practical. We propose a scheme, HybridSwap, that integrates a hard disk with an SSD for virtual memory management, synergistically achieving the advantages of both. In addition, HybridSwap can constrain performance loss caused by swapping according to user-specified QoS requirements. To minimize writes to the SSD without undue performance loss, HybridSwap sequentially swaps a set of pages of virtual memory to the hard disk if they are expected to be read together. Using a history of page access patterns HybridSwap dynamically creates an out-of-memory virtual memory page layout on the swap space spanning the SSD and hard disk such that random reads are served by SSD and sequential reads are asynchronously served by the hard disk with high efficiency. In practice HybridSwap can effectively exploit the aggregate bandwidth of the two devices to accelerate page swapping. We have implemented HybridSwap in a recent Linux kernel, version 2.6.35.7. Our evaluation with representative benchmarks, such as Memcached for key-value store, and scientific programs from the ALGLIB cross-platform numerical analysis and data processing library, shows that the number of writes to SSD can be reduced by 40% with the system´s performance comparable to that with pure SSD swapping, and can satisfy a swapping-related QoS requirement as long as
Keywords :
DRAM chips; Linux; hard discs; numerical analysis; paged storage; power consumption; quality of service; ALGLIB cross-platform numerical analysis; DRAM; HybridSwap; I/O resource; Linux kernel; QoS-aware virtual memory; SSD swapping; aggregate bandwidth; data processing library; hard disk; key-value store; memcached; out-of-memory virtual memory page layout; page access pattern; page swapping; power consumption; price; scientific program; sequential reads; solid state disk; swap space; swapping-related QoS requirement; synergistic coupling; system performance; user-specified QoS requirement; virtual memory management; write-intensive program; Ash; Hard disks; History; Linux; Prefetching; Quality of service; Random access memory; Flash Endurance; Page Swapping; SSD;
Conference_Titel :
Performance Analysis of Systems and Software (ISPASS), 2013 IEEE International Symposium on
Conference_Location :
Austin, TX
Print_ISBN :
978-1-4673-5776-0
Electronic_ISBN :
978-1-4673-5778-4
DOI :
10.1109/ISPASS.2013.6557143