Filemark Cache Splay Tree for Virtual Tape Library Performance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Virtual tape libraries face inefficiencies in moving between filemarks due to the need for random small reads across large numbers of filemarks, which can overwhelm storage appliances and are not optimized for sequential I/O, especially when combined with deduplication and other file system processing.

Innovation Solution

Implementing a filemark cache with a splay tree organization structure that dynamically allocates resources for each virtual tape file, allowing for efficient access and movement between filemarks by caching metadata, reducing the need for frequent reads from the file system and optimizing both sequential and non-sequential movements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If random small reads are performed across large numbers of filemarks to move between filemarks, then the virtual tape library can maintain compatibility with physical tape library operations, but the storage appliance becomes overwhelmed and performance deteriorates

Engineering Contradiction:
Improvecompatibility with physical tape library operationsVSAvoidperformance of moving between filemarks
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The system pre-loads filemark metadata into a cache structure before it is needed for operations. The splay tree cache is proactively populated with filemark information, so that when move operations are requested, the data is already available in memory rather than requiring random reads from storage at the moment of operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

A filemark cache acting as an intermediary layer is introduced between the storage appliance and the virtual tape library operations. This cache mediates between the random read requests from the virtual tape operations and the underlying storage system, translating and batching access patterns to reduce the burden on the storage appliance.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Speed

If filemark metadata is cached in memory for rapid access, then movement between filemarks becomes faster, but memory resources are consumed

Engineering Contradiction:
Improvespeed of moving between filemarksVSAvoidmemory resource consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The cache size and structure are made dynamic rather than static. The splay tree automatically adjusts its shape and content based on access patterns, growing and shrinking as needed. The cache dynamically allocates memory resources based on the actual usage patterns of different virtual tape files, ensuring that frequently accessed filemarks are cached while less frequently accessed ones are evicted.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the organizational parameters of the cache from a simple flat structure to a splay tree hierarchy, which optimizes both space utilization and access speed. The tree structure allows for efficient memory usage by only allocating nodes that are actually needed, while the splay property ensures that frequently accessed filemarks are positioned for optimal access speed.

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If a fixed amount of cache memory is allocated to each virtual tape file, then resource management becomes simpler, but the cache cannot adapt to varying access patterns of different files

Engineering Contradiction:
Improvesimplicity of resource allocationVSAvoidadaptability to varying access patterns
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The cache allocation is made dynamic based on actual usage patterns rather than being statically assigned. The splay tree structure automatically adapts to the access patterns of each virtual tape file, allocating more cache resources to files with higher access frequency and fewer resources to files with lower access frequency, without requiring manual configuration.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The cache system serves itself by automatically managing its own structure and content based on access patterns. The splay tree self-organizes to place frequently accessed filemarks closer to the root, and the cache automatically evicts less frequently accessed entries, eliminating the need for external resource management intervention.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8935470B1Pruning a filemark cache used to cache filemark metadata for virtual tapes
Publication Date: 2015.01.13 EMC IP HLDG CO LLC
  • US8935470B1 patent drawing
  • US8935470B1 patent drawing
  • US8935470B1 patent drawing

AI summary

A method of an aspect includes determining to prune a filemark cache. The filemark cache has entries that each store filemark metadata for a different corresponding filemark of a plurality of open virtual tape files. The method also includes pruning the filemark cache by removing a portion of the entries of the filemark cache. Other methods, apparatus, and articles are also disclosed.