System and method for integrating overprovisioned memory devices
AssigneeSamsung Electronics Co., Ltd.
InventorsKrishna Malladi, Jongmin Gim, Hongzhong Zheng
Life of this patent
Estimating the term…
Abstract
A memory device includes a memory interface to a host computer and a memory overprovisioning logic configured to provide a virtual memory capacity to a host operating system (OS). A kernel driver module of the host OS is configured to manage the virtual memory capacity of the memory device provided by the memory overprovisioning logic of the memory device and provide a fast swap of anonymous pages to a frontswap space and file pages to a cleancache space of the memory device based on the virtual memory capacity of the memory device.
Claims17
A memory device comprising:
- a memory interface to a host computer;
- and
- a memory overprovisioning logic configured to provide a virtual memory capacity to a host operating system (OS),
- wherein a kernel driver module of the host OS is configured to manage the virtual memory capacity of the memory device provided by the memory overprovisioning logic of the memory device and provide a fast swap of anonymous pages to a frontswap space and file pages to a cleancache space of the memory device based on the virtual memory capacity of the memory device,
- wherein the kernel driver module provides a frontswap application programming interface (API) call and a cleancache API call, and
- wherein the frontswap API call of the kernel driver module provides a hook to intercept the anonymous pages before the anonymous pages are migrated to a swap space of a secondary swap system, and instead migrates the anonymous pages to the frontswap space of the memory space.
A memory device comprising:
- a memory interface to a host computer;
- and
- a memory overprovisioning logic configured to provide a virtual memory capacity to a host operating system (OS),
- wherein a kernel driver module of the host OS is configured to manage the virtual memory capacity of the memory device provided by the memory overprovisioning logic of the memory device and provide a fast swap of anonymous pages to a frontswap space and file pages to a cleancache space of the memory device based on the virtual memory capacity of the memory device,
- wherein the kernel driver module provides a frontswap application programming interface (API) call and a cleancache API call, and
- wherein the cleancache API call of the kernel driver module provides a hook to intercept the file pages before the file pages are migrated to a file system of a secondary swap system, and instead migrates the file pages to the cleancache space of the memory device.
A method comprising:
- providing a memory device comprising a memory overprovisioning logic configured to provide a virtual memory capacity to a host operating system (OS);
- configuring the memory device as a block memory device over a memory interface to a host computer;
- loading a kernel driver module from a kernel of the host OS during a runtime;
- and
- providing a fast swap of anonymous pages to a frontswap space and file pages to a cleancache space of the memory device using the kernel driver module based on the virtual memory capacity of the memory device,
- wherein the kernel driver module provides a frontswap application programming interface (API) call and a cleancache API call, wherein the frontswap API call of the kernel driver module provides a hook to intercept the anonymous pages before the anonymous pages are migrated to a swap space of a secondary swap system, and instead migrates the anonymous pages to the frontswap space of the memory space, and wherein the cleancache API call of the kernel driver module provides a hook to intercept the file pages before the file pages are migrated to a file system of the secondary swap system, and instead migrates the file pages to the cleancache space of the memory device.
Dependencies are inferred from the claim text.