Low Latency File System Address Space Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current file systems face significant read-write delays when handling large files, particularly due to the inefficiencies in address space management, such as multi-stage indirect pointers and B+ tree indexing, which lead to suboptimal IO performance and increased access times.

Innovation Solution

A low-latency file system address space management method that dynamically allocates data blocks based on variable sizes, reducing the need for multiple IO operations by storing data block pointers in a single inode, allowing data blocks to be accessed within a single IO operation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If multi-stage indirect pointers are used to manage large files, then the file size capacity is increased, but the read-write delay is increased due to multiple IO operations

Engineering Contradiction:
Improvefile size capacityVSAvoidread-write delay
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent implements a nested hierarchical pointer structure where first indirect pointers point to second indirect pointers, which in turn point to data blocks. This nesting allows the system to manage large files (improving file size capacity) while minimizing the number of pointer indirections required to access data blocks (reducing read-write delay). The nested structure efficiently combines the benefits of extended addressing with reduced access steps.

Inventive Principle:
Principle #7Nested doll (Nesting)

2Adaptability or versatility

If B+ tree indexing is used to organize data blocks, then the address space management capability is improved, but the IO performance deteriorates due to increased access complexity

Engineering Contradiction:
Improveaddress space management capabilityVSAvoidIO performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent extracts the indexing function from a complex B+ tree structure and implements a simplified direct pointer approach. By taking out only the essential addressing capability and eliminating the hierarchical tree structure, the system maintains adequate address space management while significantly improving IO performance through direct block access without traversal overhead.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of using a top-down hierarchical indexing approach (B+ tree) that requires traversal from root to leaf, the patent inverts the approach by using direct pointers stored in the inode that point directly to data blocks. This inversion eliminates the traversal step and allows immediate access to data blocks, thereby improving IO performance while maintaining address space management capability.

Inventive Principle:
Principle #13The other way round (Inversion)

3Device complexity

If fixed-size data blocks are used for storage, then the address space organization is simplified, but the read-write efficiency is reduced due to excessive number of blocks

Engineering Contradiction:
Improveaddress space organization complexityVSAvoidread-write efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent introduces dynamic block grouping where multiple fixed-size data blocks are grouped together and managed as a unit through indirect pointers. This dynamic grouping allows the system to maintain the simplicity of fixed-size blocks while improving read-write efficiency by reducing the number of individual block operations. The indirect pointers enable batch access to groups of blocks, effectively increasing throughput without complicating the fundamental block structure.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11853566B2Management method and system for address space of low delay file system and medium
Publication Date: 2023.12.26 SUN YAT SEN UNIV
  • US11853566B2 patent drawing
  • US11853566B2 patent drawing
  • US11853566B2 patent drawing

AI summary

A low-latency file system file address space management method and system, and a medium. The method of the present invention comprises: generating a superblock and a block group allocation table from an address space of a storage device, wherein the superblock stores file system information and the allocation situation of block groups on a liner address space of the storage device, and the block group allocation table is used for marking the allocation situation of data blocks in the corresponding block group; when a file is created, dynamically creating or selecting a corresponding block group according to the size of a specified data block and allocating the data block; and writing file data into the allocated data block, and updating the block group allocation table and information of the superblock.