ICC-NCQ Command Scheduling for Shingled Magnetic Recording Drives

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Shingled-written magnetic recording (SMR) drives face performance issues due to frequent changes in physical block addresses, leading to higher command completion times, and existing protocols like NCQ and ICC do not adequately constrain operations to meet host deadlines.

Innovation Solution

Implementing Isochronous Command Queuing (ICC-NCQ) with priority and deadline information, along with estimated command access times, to optimize command completion times by selecting the most efficient storage plan for SMR drives, which includes writing to a write-twice cache, exception region, or I-region based on availability and deadline constraints.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Volume of stationary object

If shingled tracks are written in sequence to increase areal density, then storage capacity is improved, but command completion time increases due to sequential writing constraints

Engineering Contradiction:
Improvestorage capacityVSAvoidcommand completion time
Core Design Contradiction:
Volume of stationary objectVSLoss of time

Solution Approach 1:

The patent segments the storage medium into multiple regions (I-regions for sequential shingled writing, E-regions for exception handling, and write-twice cache regions for high-priority data). This segmentation allows different types of operations to occur in parallel across different regions, reducing overall command completion time while maintaining the high areal density of shingled writing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a write-twice cache region where data is preliminarily written before being moved to the final destination in an I-region. This preliminary action allows high-priority or deadline-constrained data to be quickly written to the cache, meeting timing requirements, while the slower sequential write to the I-region occurs in the background.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If dynamic LBA-PBA mapping is used to manage shingled regions, then adaptability is improved, but device complexity increases due to frequent remapping

Engineering Contradiction:
Improvedynamic address mappingVSAvoidcontroller complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary indirection layer between the host interface and the physical storage medium. The controller maintains mapping tables that translate logical block addresses to physical block addresses, and this indirection layer absorbs the complexity of dynamic remapping, garbage collection, and region management. The host sees a simple sequential address space while the controller handles the complex SMR constraints in the background.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If garbage collection is performed to maintain SMR integrity, then data reliability is improved, but productivity decreases due to additional write operations

Engineering Contradiction:
Improvedata integrityVSAvoidwrite throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent performs garbage collection continuously in the background rather than in batch operations. The controller continuously monitors the storage medium and performs remapping and consolidation operations during idle periods or low-utilization times, ensuring data integrity is maintained without causing significant interruptions to normal write operations. This continuous background operation minimizes the impact on overall write throughput.

Inventive Principle:
Principle #20Continuity of useful action

4Productivity

If NCQ protocol is used to optimize command execution order, then productivity is improved, but timing control for host deadlines becomes difficult

Engineering Contradiction:
Improvecommand execution efficiencyVSAvoiddeadline meeting accuracy
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent implements a dynamic command scheduling system that adjusts command execution priorities based on real-time conditions. The controller evaluates each incoming command's deadline requirement and dynamically assigns priority levels, allowing deadline-constrained commands to preempt lower-priority operations. This dynamic prioritization maintains high productivity through NCQ-style reordering while ensuring that time-critical commands meet their deadlines.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS8874875B2ICC-NCQ command scheduling for shingle-written magnetic recording (SMR) Drives
Publication Date: 2014.10.28 WESTERN DIGITAL TECHNOLOGIES INC
  • US8874875B2 patent drawing
  • US8874875B2 patent drawing
  • US8874875B2 patent drawing

AI summary

ICC-NCQ priority and deadline information in conjunction with an estimation of command access time that is specific to SMR drives are used improve command queue optimization. Estimated completion times are determined based on the internal subcommands that the drive has to execute to complete the host read or write command taking into account whether all or part of the data will be or already is stored in write-twice cache, E-region and/or I-region. The command processor selects the next command for execution based on calculated access times with adjusted priority based on the specified deadline for the command. As the deadline approaches, the priority of the command increases. For high priority data writes as specified by a host, an optimized storage plan is selected as appropriate using the “write-twice cache” (WTC) region, E-region or I-region.