# US 2025/0085861 A1 · Systems and methods for improving memory write performance

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

- Number: US 2025/0085861 A1
- Document ID: US20250085861A1
- Status: Published application
- Kind: A1
- Application number: 18/464,874
- Filed: 2023-09-11
- Published: 2025-03-13
- Earliest claimed: 2023-09-11
- Assignees: QUALCOMM Incorporated
- Applicants: Qualcomm Incorporated
- Inventors: Santhosh Reddy AKAVARAM; Chintalapati BHARATH SAI VARMA; Prakhar SRIVASTAVA; Sri Ananda Sai JANNABHATLA; Reddy Vijay GUDI
- Web page: https://patentgrep.com/patent/US20250085861A1

## CPC

- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/10: Address translation
- G06F 3/061: {Improving I/O performance}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods improve write performance of a UFS device comprising N logical units (LUNs) and N write buffers (WBs), where N is a positive integer. Each WB is mapped to a respective LUN. Each WB has a respective WB lifetime estimate value and a respective WB lifetime threshold (TH) value. A determination is made as to whether the WB lifetime estimate value associated with at least a first WB of the N WBs is equal to or is greater than the respective WB TH value, and if so, the first WB is remapped to a second LUN of the N LUNs and a second WB of the N WBs is remapped to the first LUN. The remapping is based at least in part on the WB lifetime estimate value associated with the second WB indicating that the second WB has more lifetime remaining than the first WB.

## Claims

### Claim 1

A method for improving write performance of a Universal Flash Storage (UFS) device, the UFS device comprising N logical units (LUNs) and N write buffers (WBs), each of the N WBs being mapped to a respective LUN of the N LUNs, where N is a positive integer that is greater than or equal to two, each of the N WBs having a respective WB lifetime estimate value and a respective WB lifetime threshold (TH) value associated therewith, the N WB lifetime estimate values being indicative of an amount of lifetime remaining in the N WBs, respectively, the method comprising:
determining whether the WB lifetime estimate value associated with at least a first WB of the N WBs is equal to or is greater than the respective WB TH value associated with the first WB; and
if a determination is made that the WB lifetime estimate value associated with the first WB is equal to or is greater than the WB TH value associated with the first WB, remapping the first WB to a second LUN of the N LUNs and remapping a second WB of the N WBs to the first LUN, the remapping being based at least in part on the WB lifetime estimate value associated with the second WB indicating that the second WB has more lifetime remaining than the first WB.

### Claim 2 (depends on 1)

The method of claim 1, wherein the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate value associated with the first WB.

### Claim 3 (depends on 2)

The method of claim 2, wherein the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate values associated with all of the WBs, and wherein the method further comprises:
prior to remapping, comparing the N WB lifetime estimate values to one another and determining that the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate values associated with all of the other WBs.

### Claim 4 (depends on 3)

The method of claim 3, wherein the step of determining whether the WB lifetime estimate value associated with at least the first WB is equal to or is greater than the WB TH value associated with the first WB comprises:
determining whether the N WB lifetime estimate values associated with the N WBs are equal to or are greater than the N WB TH values, respectively, associated with the N WBs, respectively.

### Claim 5 (depends on 1)

The method of claim 1, wherein the N WBs comprise single-level-cell (SLC) NAND flash memory cells and wherein the flash memory cells of the main memory portion of the UFS device comprises triple-level-cell (TLC) NAND flash memory cells.

### Claim 6 (depends on 1)

The method of claim 1, wherein the step of determining whether the WB lifetime estimate value associated with at least a first WB of the N WBs is equal to or is greater than the respective WB TH value associated with the first WB is performed by control logic of the UFS device.

### Claim 7 (depends on 6)

The method of claim 6, wherein the step of remapping the first WB to the second LUN of the N LUNs and remapping the second WB of the N WBs to the first LUN is performed in part by a host processor that is in communication with the UFS device via an interface and is performed in part by WB-to-LUN remapping logic of control logic of the UFS device.

### Claim 8

A system for improving write performance of a flash memory device of the system, the system comprising:
a Universal Flash Storage (UFS) device, the UFS device comprising N logical units (LUNs), N write buffers (WBs) and control logic, each of the N WBs being mapped to a respective LUN of the N LUNs, where N is a positive integer that is greater than or equal to two, each of the N WBs having a respective WB lifetime estimate value and a respective WB lifetime threshold (TH) value associated therewith, the N WB lifetime estimate values being indicative of an amount of lifetime remaining in the N WBs, respectively, and wherein the control logic is configured to determine whether any of the WB lifetime estimate values are equal to or are greater than the respective WB TH values; and
a host processor configured to perform a remapping algorithm if a determination is made that the WB lifetime estimate value associated with at least a first WB of the N WBs is equal to or is greater than the WB TH value associated with the first WB, the remapping algorithm remapping the first WB to a second LUN of the N LUNs and remapping a second WB of the N WBs to the first LUN, wherein the remapping is based at least in part on the WB lifetime estimate value associated with the second WB indicating that the second WB has more lifetime remaining than the first WB.

### Claim 9 (depends on 8)

The system of claim 8, wherein the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate value associated with the first WB.

### Claim 10 (depends on 9)

The system of claim 9, wherein the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate values associated with all of the WBs, and wherein the host processor further comprises:
logic configured to perform a comparison algorithm prior to performing the remapping algorithm, the comparison algorithm comparing the N WB lifetime estimate values to one another to determine which of the WB lifetime estimate values is less than all of the other WB lifetime estimate values, and wherein the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate values associated with all of the other WBs.

### Claim 11 (depends on 8)

The system of claim 8, wherein the N WBs comprise single-level-cell (SLC) NAND flash memory cells and wherein the UFS device comprises triple-level-cell (TLC) NAND flash memory cells that are accessed via the N LUNs.

### Claim 12 (depends on 8)

The system of claim 8, wherein the system is embedded in a System-On-A-Chip (SoC) integrated circuit (IC) package of a portable computing device (PCD).

### Claim 13 (depends on 8)

The system of claim 8, further comprising:
WB-to-LUN remapping logic that receives results of the remapping algorithm performed by the logic of the host processor completes remapping the first WB to the second LUN of the N LUNs and remapping the second WB of the N WBs to the first LUN.

### Claim 14 (depends on 13)

The system of claim 13, further comprising:
N WB TH registers configured to store the N WB TH values, the control logic being configured to write and read the N WB TH registers; and
N WB lifetime estimate registers configured to store the N WB lifetime estimate values, the control logic being configured to write and read the N WB TH registers.

### Claim 15

A computer program embodied on a non-transitory computer-readable medium and comprising computer instructions for execution by a processor or controller for improving write performance of a Universal Flash Storage (UFS) device, the UFS device comprising N logical units (LUNs) and N write buffers (WBs), each of the N WBs being mapped to a respective LUN of the N LUNs, where N is a positive integer that is greater than or equal to two, each of the N WBs having a respective WB lifetime estimate value and a respective WB lifetime threshold (TH) value associated therewith, the N WB lifetime estimate values being indicative of an amount of lifetime remaining in the N WBs, respectively, the computer program comprising:
a first set of instructions for determining whether the WB lifetime estimate value associated with at least a first WB of the N WBs is equal to or is greater than the respective WB TH value associated with the first WB; and
a second set of computer instructions, wherein if a determination is made that the WB lifetime estimate value associated with the first WB is equal to or is greater than the WB TH value associated with the first WB, the second set of computer instructions remaps the first WB to a second LUN of the N LUNs and remaps a second WB of the N WBs to the first LUN, the remapping being based at least in part on the WB lifetime estimate value associated with the second WB indicating that the second WB has more lifetime remaining than the first WB.

### Claim 16 (depends on 15)

The computer program of claim 15, wherein the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate value associated with the first WB.

### Claim 17 (depends on 16)

The computer program of claim 16, wherein the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate values associated with all of the WBs, and wherein the computer program further comprises:
a third set of computer instructions that is performed prior to the second set of computer instructions being performed, the third set of computer instructions comparing the N WB lifetime estimate values to one another to determine which of the WB lifetime estimate values is the lowest WB lifetime estimate value, and wherein the WB lifetime estimate value associated with the second WB is less than the WB lifetime estimate values associated with all of the other WBs.

### Claim 18 (depends on 15)

The computer program of claim 15, wherein the first set of computer instructions for determining whether the WB lifetime estimate value associated with at least the first WB is equal to or is greater than the WB TH value associated with the first WB comprises:
computer instructions for determining whether the N WB lifetime estimate values associated with the N WBs are equal to or are greater than the N WB TH values, respectively, associated with the N WBs, respectively.

### Claim 19 (depends on 15)

The computer program of claim 15, wherein the N WBs comprise single-level-cell (SLC) NAND flash memory cells and wherein the flash memory cells of the main memory portion of the UFS device comprises triple-level-cell (TLC) NAND flash memory cells.

### Claim 20 (depends on 15)

The computer program of claim 15, wherein first set of computer instructions is executed by control logic of the UFS device.
