| CPC G06F 12/0862 (2013.01) [G06F 2212/1024 (2013.01)] | 14 Claims |

|
1. A method of operating a swap memory device configured to communicate with a host device and a main memory device, wherein the swap memory device includes a memory controller, a data buffer memory, and a volatile memory device, the method comprising:
storing a target data block including target data;
receiving, from the host device, a request corresponding to the target data;
determining, by the swap memory device, a first address of the target data and a second address of the target data block that includes the target data, based on the request;
providing, by the swap memory device, the target data to the host device based on the first address; and
providing, by the swap memory device, the target data block to the main memory device based on the second address,
wherein the determining of the first address of the target data and the second address of the target data block that includes the target data based on the request comprises:
determining, by the memory controller, whether the target data block is loaded to the data buffer memory;
in response to determining that the target data block is not loaded to the data buffer memory, loading, by the memory controller, the target data block from the volatile memory device to the data buffer memory; and
determining, by the memory controller, the first address and the second address, after loading the target data block to the data buffer memory.
|