# US 2025/0165143 A1 · System and method for reducing memory footprint for data stored in a compressed memory subsystem

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

- Number: US 2025/0165143 A1
- Document ID: US20250165143A1
- Status: Published application
- Kind: A1
- Application number: 18/513,393
- Filed: 2023-11-17
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Kan WANG; Norris GENG; Richard SENIOR; Christopher KOOB; Pranav VERMA; Suresh Kumar VENKUMAHANTI; Gurvinder Singh CHHABRA
- Web page: https://patentgrep.com/patent/US20250165143A1

## CPC

- G06F 3/0608: {Saving storage space on storage systems}
- G06F 12/023: {Free address space management}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/0673: {Single storage device}
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/401: Compressed data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for reducing a memory footprint of data stored in a compressed memory subsystem is described. The method includes selecting a read/write data to store in the compressed memory subsystem. The method also includes searching a first compressed data storage pool of the compressed memory subsystem corresponding to a compressed size of the read/write data to identify a first free data block. The method further includes storing the read/write data in a second free data block from a second compressed data storage pool of the compressed memory subsystem corresponding to a compressed size of the read/write data if the first compressed data storage pool is exhausted.

## Claims

### Claim 1

A method for reducing a memory footprint of data stored in a compressed memory subsystem, the method comprising:
selecting a read/write data to store in the compressed memory subsystem;
searching a first compressed data storage pool of the compressed memory subsystem corresponding to a compressed size of the read/write data to identify a first free data block; and
storing the read/write data in a second free data block from a second compressed data storage pool of the compressed memory subsystem corresponding to a compressed size of the read/write data if the first compressed data storage pool is exhausted.

### Claim 2 (depends on 1)

The method of claim 1, further comprising the storing compressed read/write data in the first free data block from the first compressed data storage pool of the compressed memory subsystem if the first compressed data storage pool is not exhausted.

### Claim 3 (depends on 1)

The method of claim 1, in which the second compressed data storage pool of the compressed memory subsystem comprises a next available larger data storage pool of the compressed memory subsystem.

### Claim 4 (depends on 1)

The method of claim 1, in which the second compressed data storage pool of the compressed memory subsystem comprises a largest compressed data storage pool of the compressed memory subsystem.

### Claim 5 (depends on 1)

The method of claim 1, further comprising generating meta data to identify a location of the read/write data within the compressed memory subsystem.

### Claim 6 (depends on 5)

The method of claim 5, in which the meta data comprises a block index field and a block type field.

### Claim 7 (depends on 5)

The method of claim 5, further comprising encoding up-binning in the meta data.

### Claim 8 (depends on 1)

The method of claim 1, in which storing the read/write data further comprises:
detecting a free data block from the first compressed data storage pool of the compressed memory subsystem; and
moving the read/write data from the second free data block of the second compressed data storage pool to the free data block in the first compressed data storage pool of the compressed memory subsystem.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
marking a cache line as dirty in a level two (L2) cache when the cache line is in a borrowed block; and
setting the cache line in memory to zeros to expedite return of the borrowed block.

### Claim 10 (depends on 1)

The method of claim 1, further comprising issuing a hardware interrupt when a free data block is unavailable in each data storage pool of the compressed memory subsystem.

### Claim 11

A non-transitory computer-readable medium having program code recorded thereon for reducing a memory footprint of data stored in a compressed memory subsystem, the program code being executed by a processor and comprising:
program code to select a read/write data to store in the compressed memory subsystem;
program code to search a first compressed data storage pool of the compressed memory subsystem corresponding to a compressed size of the read/write data to identify a first free data block; and
program code to store the read/write data in a second free data block from a second compressed data storage pool of the compressed memory subsystem corresponding to a compressed size of the read/write data if the first compressed data storage pool is exhausted.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, further comprising program code to store the compressed read/write data in the first free data block from the first compressed data storage pool of the compressed memory subsystem if the first compressed data storage pool is not exhausted.

### Claim 13 (depends on 11)

The non-transitory computer-readable medium of claim 11, in which the second compressed data storage pool of the compressed memory subsystem comprises a next available larger data storage pool of the compressed memory subsystem.

### Claim 14 (depends on 11)

The non-transitory computer-readable medium of claim 11, in which the second compressed data storage pool of the compressed memory subsystem comprises a largest compressed data storage pool of the compressed memory subsystem.

### Claim 15 (depends on 11)

The non-transitory computer-readable medium of claim 11, further comprising program code to generate meta data to identify a location of the read/write data within the compressed memory subsystem.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, in which the meta data comprises a block index field and a block type field.

### Claim 17 (depends on 15)

The non-transitory computer-readable medium of claim 15, further comprising program code to encode up-binning in the meta data.

### Claim 18 (depends on 11)

The non-transitory computer-readable medium of claim 11, in which the program code to store the read/write data further comprises:
program code to detect a free data block from the first compressed data storage pool of the compressed memory subsystem; and
program code to move the read/write data from the second free data block of the second compressed data storage pool to the free data block in the first compressed data storage pool of the compressed memory subsystem.

### Claim 19 (depends on 11)

The non-transitory computer-readable medium of claim 11, further comprising:
program code to mark a cache line as dirty in a level two (L2) cache when the cache line is in a borrowed block; and
program code to set the cache line in memory to zeros to expedite return of the borrowed block.

### Claim 20 (depends on 11)

The non-transitory computer-readable medium of claim 11, further comprising program code to issue a hardware interrupt when a free data block is unavailable in each data storage pool of the compressed memory subsystem.
