Storage device managing a multi-tier cache memory and operating method thereof
AssigneeSK hynix Inc.
InventorKyung Soo Lee
Life of this patent
Estimating the term…
Abstract
A storage device may include: a memory device; a cache memory device including a first cache memory which caches first data among data stored in the plurality of pages and a second cache memory which caches second data among the data stored in the plurality of pages; and a memory controller for counting a number of times that each of the plurality of pages is read and a number of times that each of the plurality of pages is written, based on a read request or a write request which are received from a host, and, moving the first data from the first cache memory to the second cache memory when the first data is stored in a first page and a number of times that the first page is read and a number of times that the first page is written satisfy a predetermined condition.
Claims15
A storage device comprising:
- a memory device including a plurality of pages;
- a cache memory device including a first cache memory which caches first data among data stored in the plurality of pages and a second cache memory which caches second data among the data stored in the plurality of pages;
- and
- a memory controller configured to:
- count a number of times that each of the plurality of pages is read and a number of times that each of the plurality of pages is written, based on a read request or a write request, which are received from a host, and
- move the first data from the first cache memory to the second cache memory when a number of times that a first page which stores the first data is read and a number of times that the first page is written satisfy a predetermined condition,
- wherein the predetermined condition is the number of times that the first page is read is equal to or greater than a threshold value and the number of times that the first page is written is one.
A method for operating a storage device including a first cache memory and a second cache memory, the method comprising:
- storing, in the first cache memory, first data among data stored in a plurality of pages included in a memory device and storing, in the second cache memory, second data among the data stored in the plurality of pages included in the memory device;
- counting a number of times that a page corresponding to a read request or a write request is read or a number of times that the page is written, when the read request or the write request is received from a host;
- and
- moving the first data from the first cache memory to the second cache memory when a number of times that a first page which stores the first data is read and a number of times that the first page is written satisfy a predetermined condition,
- wherein the predetermined condition is the number of times that the first page is read is equal to or greater than a threshold value and the number of times that the first page is written is one.
An operating method of a controller, the method comprising:
- caching, into a first cache, page data stored or to be stored in pages within a memory device in response to a first request for accessing the page data;
- moving at least a part of the cached data into a second cache when a number of times that the part is read is equal to or greater than a threshold value and a number of times that the part is written is one;
- and
- providing the cached data from one of the first and second caches in response to a second request for accessing the page data.
Dependencies are inferred from the claim text.