Log-Structured Translation Table Updates for Lower Lock Contention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data storage systems face inefficiencies in managing translation tables (TTs) for metadata pages due to in-place updates, leading to increased contention and latency, especially when using a log-structured system (LSS) for metadata, which can result in excessive lock contention and cache resource consumption.

Innovation Solution

Implement a log-structured system (LSS) for translation tables (TTs) by maintaining a unified cache structure for TT entries and using entry-level locking instead of page-level locking, along with a unified hash table to manage both TT cache entries and TT log entries, reducing contention and optimizing cache usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If in-place updates are used for translation table entries, then update speed is improved, but lock contention increases and cache resource consumption increases

Engineering Contradiction:
Improveupdate speedVSAvoidlock contention
Core Design Contradiction:
SpeedVSEase of manufacture

Solution Approach 1:

The translation table is divided into multiple pages, and locking is applied at the page level rather than entry level. This segmentation allows multiple entries within the same page to be updated concurrently without requiring individual entry locks, reducing overall lock contention while maintaining update speed.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system introduces a new dimension of organization by implementing a log-structured storage system for translation table updates. Instead of directly updating entries in the main translation table, updates are logged and applied asynchronously, separating the update path from the access path and reducing lock contention.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Device complexity

If in-place updates are used for translation table entries, then device complexity is reduced, but cache resource consumption increases

Engineering Contradiction:
Improvedevice complexityVSAvoidcache resource consumption
Core Design Contradiction:
Device complexityVSQuantity of substance

Solution Approach 1:

Update operations are extracted from the main translation table access path and placed into a separate log structure. This allows the main translation table to be read without requiring updates to be immediately reflected in cache, reducing cache resource consumption while maintaining simple device architecture.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Updates are recorded in advance in a log structure before being applied to the translation table. This preliminary action allows the system to track changes without immediately modifying the main translation table, reducing cache resource consumption while keeping device complexity low.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If log-structured system is used for metadata, then productivity is improved, but lock contention increases

Engineering Contradiction:
ImproveproductivityVSAvoidlock contention
Core Design Contradiction:
ProductivityVSEase of manufacture

Solution Approach 1:

The log-structured metadata system is divided into multiple segments or pages, each with its own locking mechanism. This segmentation allows concurrent access to different segments, improving productivity while reducing lock contention through parallel processing capabilities.

Inventive Principle:
Principle #1Segmentation

4Measurement precision

If entry-level locking is used instead of page-level locking, then access precision is improved, but lock contention increases

Engineering Contradiction:
Improveaccess precisionVSAvoidlock contention
Core Design Contradiction:
Measurement precisionVSEase of manufacture

Solution Approach 1:

The system segments the translation table into pages and applies locking at the page level rather than individual entry level. This segmentation provides sufficient access precision for most operations while dramatically reducing lock contention by allowing multiple entries within the same page to be accessed concurrently.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12386746B2Techniques for destaging translation table updates and accessing translation table entries in a log-structured system
Publication Date: 2025.08.12 DELL PROD LP
  • US12386746B2 patent drawing
  • US12386746B2 patent drawing
  • US12386746B2 patent drawing

AI summary

In at least one embodiment, processing can include: receiving, from a client, a request to access a metadata (MD) page, wherein the request specifies a lock type denoting a particular level of access to the MD page that is being requested by the request; and responsive to receiving the request, performing first processing including: locking the MD page and a corresponding translation table entry E1 for the MD page in accordance with the lock type denoting a particular level of access being requested, wherein E1 maps a logical address LA1 of the MD page to a physical storage or location PA1 on non-volatile storage where the MD page is stored; and subsequent to said locking, returning a response including the MD page to the client.