Virtualization has recently been applied to consumer electronic (CE) devices such as smart TVs and smartphones. In these virtualized CE devices, memory is a valuable resource, because the virtual machines (VMs) on the devices must share the same physical memory. However, physical memory is usually partitioned and allocated to each VM. This partitioning technique may result in memory shortages, which can seriously degrade application performance. This paper proposes a new swap mechanism for virtualized CE devices with flash memory. This proposed mechanism reduces memory consumption by compressing and sharing unused pages. This swap mechanism stores the unused page in memory of another VM, to increase the available memory of the original VM. The proposed swap mechanism is implemented on the Xen hypervisor and Linux. The mechanism improves the application performance by up to 38% by significantly reducing the number of swap-out requests. The swap-out requests are reduced by up to 88% compared to previous swap mechanisms. Moreover, the mechanism reduces memory consumption of the swap area by up to 79%.
Bibliographical notePublisher Copyright:
© 2015 IEEE.
- Consumer electronic devices
- Memory compression
- Page sharing
ASJC Scopus subject areas
- Media Technology
- Electrical and Electronic Engineering