# US 2021/0064535 A1 · Memory system including heterogeneous memories, computer system including the memory system, and data management method thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0064535 A1
- Document ID: US20210064535A1
- Status: Published application
- Kind: A1
- Application number: 16/839,708
- Filed: 2020-04-03
- Published: 2021-03-04
- Earliest claimed: 2019-08-27
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: Mi Seon HAN; Myoung Seo KIM; Yun Jeong MUN; Eui Cheol LIM
- Web page: https://patentgrep.com/patent/US20210064535A1

## CPC

- G06F 12/0882: Page mode
- G06F 3/0611: {in relation to response time}
- G06F 3/064: {Management of blocks}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 11/3433: {for load management (allocation of a server based on load conditions G06F9/505; load rebalancing G06F9/5083; redistributing the load in a network by a load balancer H04L67/1029)}
- G06F 11/3471: {Address tracing}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/1009: using page tables, e.g. page table structures
- G06F 12/123: with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
- G06F 13/1657: {Access to multiple memories}
- G06F 13/1673: {using buffers}
- G06F 13/1689: {Synchronisation and timing concerns (synchronisation on a memory bus G06F13/4234)}
- G06F 2212/1016: Performance improvement
- G06F 2212/1024: Latency reduction
- G06F 2212/205: Hybrid memory, e.g. using both volatile and non-volatile memory
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A memory system includes a first memory device having a first memory that includes a plurality of access management regions and a first access latency, each of the access management regions including a plurality of pages, the first memory device configured to detect a hot access management region having an access count that reaches a preset value from the plurality of access management regions, and detect one or more hot pages included in the hot access management region; and a second memory device having a second access latency that is different from the first access latency of the first memory device. Data stored in the one or more hot pages is migrated to the second memory device.

## Claims

### Claim 1

A memory system, comprising:
a first memory device having a first memory that includes a plurality of access management regions and a first access latency, each of the access management regions including a plurality of pages, the first memory device configured to detect a hot access management region having an access count that reaches a preset value from the plurality of access management regions, and detect one or more hot pages included in the hot access management region; and
a second memory device having a second access latency that is different from the first access latency of the first memory device,
wherein data stored in the one or more hot pages is migrated to the second memory device.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein:
the first memory device further comprises a first controller configured to control an operation of the first memory, and
wherein the first controller comprises:
a memory comprising an access count table for storing access counts of the plurality of access management regions and a plurality of bit vectors respectively corresponding to the plurality of access management regions, each of the bit vectors including bits that correspond to a plurality of pages included in each of the plurality of access management regions; and
an access manager, when a page in one of the plurality of access management regions is accessed, configured to store an access count of an accessed access management region in a space of the access count table corresponding to the accessed access management region and set a bit corresponding to an accessed page, among bits of a bit vector corresponding to the accessed access management region, to a value indicative of a set state,
wherein the first access latency is longer than the second access latency.

### Claim 3 (depends on 2)

The memory system according to claim 2, wherein the first controller is configured to:
check whether the hot access management region is present among the plurality of access management regions based on the access count table when a hot access management region check command is received from an external device, and
transmit a result of the checking to the external device.

### Claim 4 (depends on 3)

The memory system according to claim 3, wherein the first controller is configured to:
check a bit vector corresponding to the hot access management region, among the plurality of bit vectors, when the hot access management region is present,
detect the one or more hot pages, corresponding to bits set to the value indicative of the set state among bits of the bit vector corresponding to the hot access management region, from pages in the hot access management region, and
transmit, to the external device, information related to the one or more hot pages.

### Claim 5 (depends on 4)

The memory system according to claim 4, wherein the first controller is configured to transmit, to the second memory device, the data stored in the one or more hot pages.

### Claim 6 (depends on 3)

The memory system according to claim 3, wherein the first controller is configured to transmit, to the external device, information indicating that the hot access management region is not present when the hot access management region is not present in the first memory.

### Claim 7 (depends on 3)

The memory system according to claim 3, wherein the first controller is configured to perform a data migration operation for exchanging hot data stored in the one or more hot pages included in the hot access management region of the first memory with data stored in a second memory of the second memory device when a data migration command is received from the external device.

### Claim 8 (depends on 7)

The memory system according to claim 7, wherein:
the first memory comprises a non-volatile memory, and
the second memory comprises a volatile memory.

### Claim 9 (depends on 8)

The memory system according to claim 8, wherein:
the non-volatile memory comprises a phase change RAM (PCRAM), and
the volatile memory comprises a dynamic random access memory (DRAM).

### Claim 10 (depends on 3)

The memory system according to claim 3, wherein the first controller is configured to reset values stored in the access count table and values in the plurality of bit vectors when a reset command is received from the external device.

### Claim 11

A computer system, comprising:
a central processing unit (CPU); and
a memory system electrically coupled to the CPU through a system bus,
wherein the memory system comprises:
a first memory device having a first memory that includes a plurality of access management regions and a first access latency, each of the access management regions including a plurality of pages, the first memory device configured to detect a hot access management region having an access count that reaches a preset value from the plurality of access management regions, and detect one or more hot pages included in the hot access management region; and
a second memory device having a second access latency different from the first access latency of the first memory device,
wherein data stored in the one or more hot pages is migrated to the second memory device.

### Claim 12 (depends on 11)

The computer system according to claim 11, wherein:
the first memory device further comprises a first controller configured to control an operation of the first memory, and
wherein the first controller comprises:
a memory comprising an access count table for storing access counts of the plurality of access management regions and a plurality of bit vectors respectively corresponding to the plurality of access management regions, each of the bit vectors including bits that correspond to a plurality of pages included in each of the plurality of access management regions; and
an access manager, when a page in one of the plurality of access management regions is accessed, the access manager stores an access count of an accessed access management region in a space of the access count table corresponding to the accessed access management region and set a bit corresponding to an accessed page, among bits of a bit vector corresponding to the accessed access management region, to a value indicative of a set state,
wherein the first access latency is longer than the second access latency.

### Claim 13 (depends on 12)

The computer system according to claim 12, wherein the first controller is configured to:
check whether the hot access management region is present among the plurality of access management regions based on the access count table when a hot access management region check command is received from the CPU, and
transmit a result of the checking to the CPU.

### Claim 14 (depends on 13)

The computer system according to claim 13, wherein the CPU is configured to transmit, to the first memory device, the hot access management region check command for checking whether the hot access management region is present in the first memory every preset cycle.

### Claim 15

A data management method for a computer system comprising a central processing unit (CPU) and first and second memory devices, the method comprising:
transmitting, by the CPU, a hot access management region check command to the first memory device for checking whether a hot access management region is present in a first memory of the first memory device;
transmitting, by the first memory device, a first response or a second response to the CPU in response to the hot access management region check command, the first respond including information related to one or more hot pages in the hot access management region, the second response indicating that the hot access management region is not present in the first memory; and
transmitting, by the CPU, a data migration command for exchanging hot data, stored in the one or more hot pages of the first memory, with cold data in a second memory of the second memory device, to the first and second memory devices when the first response is received from the first memory device, the first memory device having longer access latency than the second memory device.

### Claim 16 (depends on 15)

The data management method according to claim 15, wherein the transmitting of the hot access management region check command to the first memory device is performed every preset cycle.

### Claim 17 (depends on 15)

The data management method according to claim 15, further comprising, after transmitting the data migration command to the memory device:
reading, by the second memory device, the cold data from a cold page of the second memory and temporarily storing the cold data in a buffer memory;
reading, by the first memory device, the hot data from the one or more hot pages of the first memory and transmitting the hot data to the second memory;
storing, by the second memory device, the hot data received from the first memory device in the cold page of the second memory;
transmitting, by the second memory device, the cold data temporarily stored in the buffer memory to the first memory device; and
storing, by the first memory device, the cold data received from the second memory device in the one or more hot pages of the first memory.

### Claim 18 (depends on 15)

The data management method according to claim 15, further comprising, after transmitting the hot access management region check command to the first memory device:
checking, by the first memory device, an access count of each of a plurality of access management regions in the first memory;
determining, by the first memory device, whether the hot access management region having an access count that reaches a preset value is present in the plurality of access management regions; and
detecting, by the first memory device, the one or more pages, corresponding to bits set to a value indicative of a set state among bits of a bit vector corresponding to the hot access management region.

### Claim 19

A memory device, comprising:
a non-volatile memory; and
a controller configured to control an operation of the non-volatile memory,
wherein the controller is configured to divide the non-volatile memory into a plurality of access management regions, each of which comprises a plurality of pages, include an access count table for storing an access count of each of the plurality of access management regions and a plurality of bit vectors configured with bits corresponding to a plurality of pages included in each of the plurality of access management regions, store an access count of an accessed access management region of the plurality of access management regions in a space of the access count table corresponding to the accessed access management region when the non-volatile memory is accessed, and set, as a first value, a bit corresponding to an accessed page among bits of a bit vector corresponding to the accessed access management region.

### Claim 20 (depends on 19)

The memory device according to claim 19, further comprising a volatile memory,
wherein the controller is configured to migrate, to the volatile memory, data stored in one or more pages corresponding to one or more bits having the first value in a bit vector, the bit vector corresponding to an access management region having an access count that reaches a preset value among the plurality of access management regions in the non-volatile memory.
