# US 8,578,098 B2 · System and method for increasing cache size

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

- Number: US 8,578,098 B2
- Document ID: US8578098B2
- Status: Granted
- Kind: B2
- Application number: 13/363,784
- Filed: 2012-02-01
- Published: 2012-07-26
- Granted: 2013-11-05
- Earliest claimed: 2009-05-18
- Assignees: Hola Networks Ltd.
- Applicants: Derry Shribman; Ofer Vilenski
- Inventors: Derry Shribman; Ofer Vilenski
- Web page: https://patentgrep.com/patent/US8578098B2

## CPC

- G06F 12/0846: Cache with multiple tag or data arrays being simultaneously accessible
- G06F 12/023: {Free address space management}
- G06F 12/0851: {Cache with interleaved addressing}
- G06F 12/0871: Allocation or management of cache space
- G06F 12/0875: with dedicated cache, e.g. instruction or stack
- G06F 12/12: Replacement control
- G06F 12/128: adapted to multidimensional cache systems, e.g. set-associative, multicache, multiset or multilevel
- G06F 16/172: Caching, prefetching or hoarding of files
- G06F 12/0842: for multiprocessing or multitasking
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/403: Error protection encoding, e.g. using parity or ECC codes
- G06F 2212/452: Instruction code
- G06F 2212/604: Details relating to cache allocation
- G06F 2212/6042: Allocation of cache space to multiple users or processors
- G06F 2212/621: Coherency control relating to peripheral accessing, e.g. from DMA or I/O device
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for increasing cache size is provided. Generally, the system contains a memory and a processor. The processor is configured by the memory to perform the steps of: categorizing storage blocks within a storage device as within a first category of storage blocks if the storage blocks that are available to the system for storing data when needed; categorizing storage blocks within the storage device as within a second category of storage blocks if the storage blocks contain application data therein; and categorizing storage blocks within the storage device as within a third category of storage blocks if the storage blocks are storing cached data and are available for storing application data if no first category of storage blocks are available to the system.

## Claims

### Claim 1

A system for increasing cache size, comprising:
a memory; and
a processor configured by the memory to perform the steps of:
categorizing storage blocks within a storage device within a first category of storage blocks if the storage blocks are available to the system for storing data when needed;
categorizing storage blocks within the storage device within a second category of storage blocks if the storage blocks contain application data therein; and
categorizing storage blocks within the storage device within a third category of storage blocks if the storage blocks are storing cached data and are available for storing application data if no first category of storage blocks are available to the system.

### Claim 2 (depends on 1)

The system of claim 1, wherein the steps of categorizing storage blocks as within the first, second, or third category of storage blocks is provided by adding a data tag having one of the categories to metadata of each storage block.

### Claim 3 (depends on 1)

The system of claim 1, wherein when the system receives a request from an application to save application data, the processor determines if the storage device contains storage blocks categorized as within the first category of storage blocks, and if there are storage blocks categorized as within the first category of storage blocks, the operating system allocates the storage blocks categorized as within the first category of storage blocks for new data storage.

### Claim 4 (depends on 3)

The system of claim 3, wherein if the storage device does not contain storage blocks categorized as within the first category of storage blocks, the memory allocates the storage blocks categorized as within the third category of storage blocks for new data storage.

### Claim 5 (depends on 1)

The system of claim 1, wherein the processor is further configured by the memory to perform the steps of:
parsing a received file system command; and
determining if the file system command is for a deterministic block operation or a non-deterministic block operation.

### Claim 6 (depends on 5)

The system of claim 5, wherein the processor is further configured by the memory to perform the steps of:
looking for a storage block categorized as within the first category of storage blocks if the file system command is for a non-deterministic block allocation;
returning an error message if no storage block categorized as within the first category of storage blocks is located; and
marking a storage block categorized as within the first category of storage blocks as within the third category of storage blocks if a storage block is located that is categorized as within the first category of storage blocks.

### Claim 7 (depends on 5)

The system of claim 5, wherein the processor is further configured by the memory to perform the steps of:
looking for a storage block categorized as within the first category of storage blocks if the file system command is for a deterministic block allocation; marking a storage block categorized as within the first category of storage blocks as within the second category of storage blocks if a storage block is located that is categorized as within the first category of storage blocks; and
looking for a storage block categorized as within the third category of storage blocks that is currently being used for non-deterministic storage if a storage block categorized as within the first category of storage blocks is not found.

### Claim 8 (depends on 7)

The system of claim 7, wherein the processor is further configured by the memory to perform the steps of:
marking a found storage block categorized as within the third category of storage blocks as within the second category of storage blocks if during looking for a storage block categorized as within the third category of storage blocks a block categorized as within the third category of storage blocks was found; and
returning an error message if no storage block categorized as within the third category of storage blocks was found.

### Claim 9 (depends on 5)

The system of claim 5, wherein the processor is further configured by the memory to perform the steps of:
if the file system command is for non-deterministic block operation, determining whether a storage block is categorized as within the third category of storage blocks;
if the storage block is categorized as within the third category of storage blocks, writing to the storage block categorized as within the third category of storage blocks; and
if the storage block is not categorized as within the third category of storage blocks, returning an error message showing that the storage block categorized as within the third category of storage blocks does not exist.

### Claim 10 (depends on 1)

The system of claim 1, wherein the processor is further configured by the memory to perform the step of releasing a storage block having data from the storage device.

### Claim 11 (depends on 10)

The system of claim 10, wherein the processor is further configured by the memory to perform the steps of:
parsing a received file system command; and
determining if the file system command is for reliable operation.

### Claim 12 (depends on 11)

The system of claim 11, wherein the processor is further configured by the memory to perform the steps of:
if the command is for non-deterministic block operation, determining if a storage block is categorized as within the third category of storage blocks; and
if the storage block is categorized as within the third category of storage blocks, releasing the storage block categorized as within the third category of storage blocks and marking the released storage block as within the first category of storage blocks.

### Claim 13 (depends on 11)

The system of claim 11, wherein, if the command is for reliable block operation, the processor is further configured by the memory to perform the step of releasing a storage block and marking the released storage block as within the first category of storage blocks.

### Claim 14 (depends on 5)

The system of claim 5, wherein if the file system command is for either a deterministic block operation or a non-deterministic block operation the command is forwarded to a file system within the operating system for performing deterministic or non-deterministic block operation.

### Claim 15 (depends on 5)

The system of claim 5, wherein if the file system command is for a non-deterministic block operation the command is forwarded to a secondary file system for performing non-deterministic block operation.

### Claim 16 (depends on 1)

The system of claim 1, wherein the system presents storage blocks in the first and third categories as free for storing data.

### Claim 17

A system for increasing cache size, comprising:
a memory; and
a processor configured by the memory to perform the steps of:
categorizing storage blocks within a storage device as “free” storage blocks if the storage blocks are available to the system for storing data when needed;
categorizing storage blocks within the storage device as “used” if the storage blocks contain application data therein; and
categorizing storage blocks within the storage device as “semifree” if the storage blocks are storing cached data and are available for storing application data if no “free” storage blocks are available to the system.
