Directory Caching in Deduplicated Storage Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In deduplicated file systems, accessing large or frequently accessed directories can severely impact system performance due to increased write-erase cycles, reducing the useful lifespan of the system cache.

Innovation Solution

A method and system for caching directories in a storage system, where directories are selected for caching based on statistics such as file count or access frequency, and cached in a cache memory device using a cache policy, thereby reducing churn on the system cache and improving access performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If directories are accessed in a deduplicated file system, then directory access operations can be performed, but write-erase cycles increase causing system cache lifespan to reduce

Engineering Contradiction:
Improvedirectory accessVSAvoidsystem cache lifespan
Core Design Contradiction:
Ease of operationVSDuration of action of stationary object

Solution Approach 1:

The patent implements directory preloading that proactively loads directory structures into the system cache before they are actually accessed. By anticipating future directory access needs and loading them in advance, the system prepares the cache to handle subsequent directory operations without triggering additional write-erase cycles, thus resolving the contradiction between enabling directory access and preserving cache lifespan

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a directory cache as an intermediary layer between the file system directories and the main system cache. This directory cache stores directory metadata and structures separately, allowing directory access operations to be performed without directly impacting the main system cache. The intermediary directory cache absorbs the write-erase cycle burden, protecting the main cache and extending its effective lifespan

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If large or frequently accessed directories are accessed, then directory operations can be performed, but system performance severely degrades due to increased cache churn

Engineering Contradiction:
Improvesystem performanceVSAvoidcache churn
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent extracts directory access operations from the main system cache path by implementing a separate directory caching mechanism. Directory metadata and structures are loaded into and managed in a dedicated directory cache, removing them from the main cache churn. This extraction allows the main system cache to focus on data operations while directory operations are handled separately, preventing performance degradation and reducing overall cache churn

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary loading of frequently accessed directories into the directory cache based on access patterns and metadata analysis. By proactively loading these directories before they are needed for actual operations, the system eliminates the need for repeated cache loading during normal operations, thereby reducing cache churn and maintaining high system performance

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10585802B1Method and system for caching directories in a storage system
Publication Date: 2020.03.10 EMC IP HLDG CO LLC
  • US10585802B1 patent drawing
  • US10585802B1 patent drawing
  • US10585802B1 patent drawing

AI summary

According to some embodiment, a storage system selects one or more directories within a file system as candidates for caching based on directory statistics associated with the directories, where each of the directories includes one or more file objects stored in the storage system. For each of the selected directories, the system determines whether the directory is to be cached based on a directory cache policy. The system caches the directory in a cache memory device in response to determining that the directory is to be cached.