Virtual Storage Fast-Path Reads for Compressed Checksum Zones

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The use of zoned checksum schemes like AZCS in storage systems leads to read operation amplification due to data and checksum being stored in separate blocks, exacerbated by compression features, causing increased latency and I/O operations, especially in cloud environments.

Innovation Solution

Implement a fast path read operation that predicts whether data is compressible or not, performing a single read operation to retrieve both data and checksum when possible, and a second read if necessary, avoiding the need for a slow path through the RAID layer.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If zoned checksum scheme (AZCS) is used to store data and checksum in separate blocks, then data integrity verification is improved, but read operation amplification increases

Engineering Contradiction:
Improvedata integrity verificationVSAvoidread operation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies preliminary action by performing a fast path read operation first to retrieve data, then determining whether checksum is present in the data block before deciding whether to perform a second read operation. This preliminary check avoids unnecessary second read operations and reduces read amplification while maintaining data integrity verification.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent segments the read operation into two distinct paths: a fast path that attempts to retrieve both data and checksum in a single read operation, and a slow path that performs separate read operations. This segmentation allows the system to optimize for the common case where checksum is embedded in the data block while still handling the case where checksum is stored separately.

Inventive Principle:
Principle #1Segmentation

2Quantity of substance

If compression is enabled for AZCS zones, then storage efficiency is improved, but read amplification is exacerbated for non-compressible data

Engineering Contradiction:
Improvestorage efficiencyVSAvoidread operation amplification
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The system performs a preliminary fast path read operation to determine whether the data block contains embedded checksum before proceeding to a second read operation. This preliminary action allows the system to handle non-compressible data efficiently by avoiding unnecessary second read operations, thus reducing read amplification while maintaining storage efficiency benefits.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter of checksum storage location dynamically based on data compressibility. For compressible data, checksum is stored separately to maximize compression ratios. For non-compressible data, checksum is embedded within the data block to minimize read amplification. This parameter change optimizes both storage efficiency and read performance.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If separate read operations are performed for data and checksum blocks, then data verification accuracy is improved, but latency increases

Engineering Contradiction:
Improvedata verification accuracyVSAvoidread latency
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs a preliminary fast path read operation to retrieve data and determine whether checksum is embedded in the same block. This preliminary action allows the system to complete verification in a single read operation for the common case, reducing latency while maintaining verification accuracy. Only when checksum is not present does the system proceed to a second read operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent merges the data read operation and checksum read operation into a single fast path read operation when checksum is embedded in the data block. This merging eliminates the need for separate read operations, reducing latency while maintaining data verification accuracy. The system only separates these operations when necessary, based on the embedded checksum determination.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12554427B2Read amplification reduction in a virtual storage system when compression is enabled for a zoned checksum scheme
Publication Date: 2026.02.17 NETAPP INC
  • US12554427B2 patent drawing
  • US12554427B2 patent drawing
  • US12554427B2 patent drawing

AI summary

Systems and methods for reducing read application in a virtual storage system are provided. According to one embodiment, read amplification is reduced when AZCS compression is being utilized by avoiding restarting of a read process via a slow path via a RAID layer of the virtual storage system when a data block associated with a read request and obtained via a first fast path read has been found not to be compressed. Instead, a second fast path read may be performed to obtain the corresponding checksum. Alternatively, or additionally, heuristics may be used to predict the odds of the data block being compressed. For example, when information encoded within a PVBN of the data block that identifies the PVBN as being within a compressed AZCS zone has shown to be sufficiently/insufficiently predictive of the data block being compressed, then a flag may be set to enable/disable fast path reads.