Resizable Hash-Based Indexing for Key-Value SSD Metadata

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Key-value solid state drives (KVSSDs) face performance bottlenecks due to data conversion mismatches between host applications and storage devices, leading to inefficient metadata management and unpredictable workloads, which hinder scalable and efficient data access.

Innovation Solution

A resizable hash-based indexing (RHIK) scheme that uses a two-level hash table with a directory layer in DRAM and a record layer in flash, transforming variable-sized keys into fixed-size key hashes for efficient metadata management, ensuring predictable access costs and fast membership checking through probabilistic operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple data conversion layers are used to bridge host application and storage device interfaces, then compatibility and flexibility are improved, but data management overhead and performance bottlenecks increase

Engineering Contradiction:
ImprovecompatibilityVSAvoiddata management overhead
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent extracts the key-to-physical-address mapping functionality from the complex multi-layer conversion chain and implements it directly in the storage device controller. By taking out the essential mapping function and implementing it natively in the storage device rather than through multiple host-mediated conversion layers, the system maintains compatibility while significantly reducing data management overhead and eliminating performance bottlenecks associated with repeated data conversions and metadata management on the host side

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a dedicated key-to-physical-address mapping structure as an intermediary component within the storage device controller. This intermediary layer directly maps variable-length keys to physical storage addresses without requiring multiple conversion steps through host software, thereby maintaining system compatibility while reducing the complexity of data management operations

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If variable-sized keys are supported to increase data flexibility, then adaptability is improved, but metadata management complexity and access time increase

Engineering Contradiction:
Improvedata flexibilityVSAvoidmetadata access time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent changes the parameter representation by hashing variable-sized keys into fixed-size hash values for storage in the mapping structure. This parameter transformation allows the system to maintain full support for variable-sized keys (improving data flexibility) while the fixed-size hash representation enables constant-time metadata access (reducing metadata access time), thereby resolving the contradiction between flexibility and access speed

Inventive Principle:
Principle #35Parameter changes

3Speed

If fixed-size key hashes are used to speed up metadata access, then access speed is improved, but information representation efficiency decreases

Engineering Contradiction:
Improvemetadata access speedVSAvoidkey information representation
Core Design Contradiction:
SpeedVSLoss of information

Solution Approach 1:

The patent creates a hash copy of the variable-sized key and stores this fixed-size copy in the key-to-physical-address mapping structure. The hash copy enables fast constant-time metadata access for lookups, while the original variable-sized key is preserved in the data structure for actual storage and retrieval operations. This copying approach maintains full key information representation capability while achieving high-speed metadata access through the fixed-size hash copy

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11474699B1Systems and methods for optimizing data management within key value storage
Publication Date: 2022.10.18 FLORIDA INTERNATIONAL UNIVERSITY
  • US11474699B1 patent drawing
  • US11474699B1 patent drawing
  • US11474699B1 patent drawing

AI summary

Systems and methods for optimizing the internal metadata management of key-value solid state drives (KVSSDs) are provided. A key-to-physical-address (K2P) mapping scheme (resizable hash-based indexing) that focuses on index resizing and space optimization can be used. The resizable metadata management scheme can efficiently handle a highly variable workload in an incredibly large keyspace. It can provide predictable metadata access cost, as well as fast membership checking. The metadata management structure can be designed to ensure near-constant performance in terms of metadata access cost and fast membership checking.