# US 2021/0334218 A1 · Memory system, memory controller, and operation method of memory system

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

- Number: US 2021/0334218 A1
- Document ID: US20210334218A1
- Status: Published application
- Kind: A1
- Application number: 17/012,735
- Filed: 2020-09-04
- Published: 2021-10-28
- Earliest claimed: 2020-04-22
- Assignees: SK hynix Inc.
- Applicants: SK hynix Inc.
- Inventors: In JUNG
- Web page: https://patentgrep.com/patent/US20210334218A1

## CPC

- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/109: for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence)
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 2212/608: Details relating to cache mapping
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments of the present disclosure relate to a memory system, a memory controller, and an operation method of a memory system. According to embodiments of the present disclosure, the memory system, before updating a mapping table which includes mapping information between logical addresses and physical addresses, may assign a portion of a map cache area for caching a plurality of map segments in the mapping table as a map update area for updating the mapping table, and may load a subset of the plurality of map segments to the map update area. Accordingly, it is possible to quickly update a mapping table and to optimize update performance for a mapping table within a limit that guarantees caching performance to a predetermined level or higher.

## Claims

### Claim 1

A memory system comprising:
a memory device; and
a memory controller coupled to the memory device, and configured to:
before updating a mapping table which includes mapping information between logical addresses and physical addresses, assign a portion of a map cache area for caching a plurality of map segments in the mapping table as a map update area for updating the mapping table; and
load a subset of the plurality of map segments to the map update area.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein the memory controller is configured to assign the portion of the map cache area as the map update area when the number of writable pages in an open memory block of the memory device for processing write commands received from a host is less than or equal to a threshold number of pages.

### Claim 3 (depends on 2)

The memory system of claim 2, wherein the sub-area in the map update area is a sub-area in which the map segment is not cached or a sub-area in which any of N least recently used map segments, the hit counts of which per a first period of time are less than a threshold hit count, is cached.

### Claim 4 (depends on 2)

The memory system of claim 2, wherein the memory controller is configured to load, to the map update area, a target map segment, which is a map segment comprising a logical address of data written to the open memory block, among the plurality of map segments.

### Claim 5 (depends on 4)

The memory system of claim 4, wherein the memory controller is configured to manage a list of the target map segments in an array.

### Claim 6 (depends on 1)

The memory system of claim 1, wherein the memory controller is configured to change a size of the map update area by comparing a hit ratio of the map cache area with a reference hit ratio when a ratio of write commands to all commands received from a host for a second period of time is greater than or equal to a threshold ratio.

### Claim 7 (depends on 6)

The memory system of claim 6, wherein the reference hit ratio is changed in proportion to the size of the map update area.

### Claim 8 (depends on 6)

The memory system of claim 6, wherein the memory controller is configured to increase the size of the map update area when the hit ratio of the map cache area is greater than or equal to the reference hit ratio during a third period of time.

### Claim 9 (depends on 6)

The memory system of claim 6, wherein the memory controller is configured to decrease the size of the map update area when the hit ratio of the map cache area is less than the reference hit ratio during a third period of time.

### Claim 10

A memory controller comprising:
a memory interface configured to communicate with a memory device; and
a control circuit coupled to the memory device, and configured to:
before updating a mapping table which includes mapping information between logical addresses and physical addresses, assign a portion of a map cache area for caching a plurality of map segments in the mapping table as a map update area for updating the mapping table; and
load a subset of the plurality of map segments to the map update area.

### Claim 11 (depends on 10)

The memory controller of claim 10, wherein the control circuit is configured to assign the portion of the map cache area as the map update area when the number of writable pages in an open memory block of the memory device for processing write commands received from a host is less than or equal to a threshold number of pages.

### Claim 12 (depends on 11)

The memory controller of claim 11, wherein the sub-area in the map update area is a sub-area in which the map segment is not cached or a sub-area in which any of N least recently used map segments, the hit counts of which per a first period of time are less than a threshold hit count, is cached.

### Claim 13 (depends on 11)

The memory controller of claim 11, wherein the control circuit is configured to load, to the map update area, a target map segment, which is a map segment comprising a logical address of data written to the open memory block, among the plurality of map segments.

### Claim 14 (depends on 13)

The memory controller of claim 13, wherein the control circuit is configured to manage a list of the target map segments in an array.

### Claim 15 (depends on 10)

The memory controller of claim 10, wherein the control circuit is configured to change a size of the map update area by comparing a hit ratio of the map cache area with a reference hit ratio when a ratio of write commands to all commands received from a host for a second period of time is greater than or equal to a threshold ratio.

### Claim 16 (depends on 15)

The memory controller of claim 15, wherein the reference hit ratio is changed in proportion to the size of the map update area.

### Claim 17

An operation method of a memory system comprising a memory device and a memory controller configured to control the memory device, the method comprising:
before updating a mapping table which includes mapping information between logical addresses and physical addresses, assigning a portion of a map cache area for caching a plurality of map segments in the mapping table as a map update area for updating the mapping table; and
loading a subset of the plurality of map segments to the map update area.

### Claim 18 (depends on 17)

The method of claim 17, further comprising assigning the portion of the map cache area as the map update area when the number of writable pages in an open memory block of the memory device for processing write commands received from a host is less than or equal to a threshold number of pages.

### Claim 19 (depends on 18)

The method of claim 18, wherein the sub-area in the map update area is a sub-area in which the map segment is not cached or a sub-area in which any of N least recently used map segments, the hit counts of which per a first period of time are less than a threshold hit count, is cached.

### Claim 20 (depends on 17)

The method of claim 17, further comprising changing a size of the map update area, based on a result of comparing a hit ratio of the map cache area with a reference hit ratio when a ratio of write commands to all commands received from a host for a second period of time is greater than or equal to a threshold ratio.
