Storage Interrupt Moderation for I/O Thread Wake-Up Control

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional storage systems face inefficiencies in managing storage drives, particularly in flash-based systems, due to unnecessary write operations and lack of direct control by the operating system, leading to reduced reliability and increased overhead.

Innovation Solution

Implementing a direct-mapped flash storage system where the operating system directly addresses data blocks without translation by storage controllers, offloading device management tasks, and utilizing non-volatile RAM for buffering writes to reduce latency and improve efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Extent of automation

If storage controllers translate and manage data blocks, then device management is automated, but overhead increases and reliability decreases

Engineering Contradiction:
Improvedevice management automationVSAvoidstorage system reliability
Core Design Contradiction:
Extent of automationVSReliability

Solution Approach 1:

The patent extracts the data block translation function from the storage controller and relocates it to the operating system. The storage controller now only handles physical sector management, while the OS directly manages data blocks and their mapping to physical locations, eliminating the reliability issues caused by controller translation errors

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a direct mapping layer in the operating system that acts as an intermediary between the application layer and the storage controller. This mapping layer translates logical data block addresses to physical sector addresses, eliminating the need for the storage controller to perform translation and reducing overhead

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If storage controllers manage device operations, then ease of operation is improved, but overhead increases

Engineering Contradiction:
Improvedevice management easeVSAvoidsystem overhead
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The operating system performs self-service by directly managing data block to physical sector mapping without requiring the storage controller to interpret or translate addresses. The OS maintains its own mapping tables and directly issues properly formatted commands to the controller, reducing controller overhead and improving efficiency

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent extracts the address translation and data management functions from the storage controller and places them in the operating system, reducing the controller's workload to essential low-level operations only, thereby reducing overall system overhead

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If write operations are performed frequently, then data is persisted quickly, but reliability decreases due to redundant writes

Engineering Contradiction:
Improvedata persistence speedVSAvoidstorage reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements preliminary action by maintaining a write cache in non-volatile RAM that temporarily holds write operations before they are committed to the storage medium. This allows the system to acknowledge writes quickly while performing actual persistent storage more efficiently, reducing redundant write operations

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses feedback mechanisms to track which data blocks have been written and their current state, allowing it to identify and eliminate redundant write operations by checking the write cache and mapping tables before issuing new write commands to the storage controller

Inventive Principle:
Principle #23Feedback

4Speed

If interrupt moderation is aggressive, then system responsiveness is improved, but latency increases

Engineering Contradiction:
Improvesystem responsivenessVSAvoidinterrupt latency
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent implements dynamic interrupt moderation that adjusts the aggressiveness of interrupt handling based on current system conditions and workload characteristics. The system can switch between aggressive moderation for high-speed responsiveness and less aggressive moderation to reduce latency, optimizing performance for different operational scenarios

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12541313B1Dynamic moderation of interrupts
Publication Date: 2026.02.03 PURE STORAGE INC
  • US12541313B1 patent drawing
  • US12541313B1 patent drawing
  • US12541313B1 patent drawing

AI summary

An illustrative method includes a storage system determining an interrupt time window based on a set of factors, receiving a first interrupt from a storage resource, providing the first interrupt to a processor for waking up an I/O thread to process I/O operations from an I/O queue, receiving a second interrupt from the storage resource, determining that the second interrupt is received within the interrupt time window following the first interrupt, and disabling, based on the interrupt time window, the second interrupt.