Selective File System Caching via Configurable Cache Map

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Oracle Disk Manager (ODM) interface forces an either/or proposition for database administrators, either bypassing file system cache for streamlined I/O requests or maintaining cache for performance, leading to performance drawbacks with other types of I/O requests.

Innovation Solution

Implementing a conditional caching capability that allows certain I/O requests to use the file system cache based on configuration settings and metadata, providing a selective cache or no-cache decision, and enabling direct I/O while avoiding double caching issues.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If direct I/O interface is used to bypass file system cache, then I/O request processing is streamlined and file locking overhead is reduced, but caching performance is lost for other types of I/O requests

Engineering Contradiction:
ImproveI/O request processing efficiencyVSAvoidcaching performance
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The system dynamically adjusts the I/O interface behavior based on the type of I/O request. For database transactions, it uses direct I/O to bypass cache and file locking, while for other file types, it uses conventional cached I/O. This dynamic switching resolves the contradiction by adapting the I/O path to the specific needs of each request type.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The invention applies different I/O handling strategies to different file types locally. Database files receive direct I/O treatment with bypassed caching and file locking, while other files receive conventional cached I/O treatment. This localized differentiation allows each file type to receive the optimal I/O handling for its specific requirements.

Inventive Principle:
Principle #3Local quality

2Loss of energy

If file system cache is used to maintain performance, then caching benefits are achieved, but I/O requests cannot be streamlined and file locking overhead increases

Engineering Contradiction:
Improvecaching performanceVSAvoidI/O request processing efficiency
Core Design Contradiction:
Loss of energyVSProductivity

Solution Approach 1:

The system dynamically switches between cached and direct I/O modes based on the file type and request characteristics. This dynamic behavior allows the system to optimize for caching performance when appropriate while maintaining streamlined processing when direct I/O is needed.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

Different caching strategies are applied locally to different file types. Database files are excluded from file system caching to avoid double caching and file locking overhead, while other files benefit from conventional caching. This localized approach resolves the contradiction by applying caching only where it provides benefit.

Inventive Principle:
Principle #3Local quality

3Ease of operation

If conventional ODM interface is used, then a direct I/O path is provided, but an either/or proposition is forced on database administrators regarding caching

Engineering Contradiction:
ImproveI/O interface simplicityVSAvoidcaching flexibility
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The modified ODM interface provides universal support for both direct I/O and cached I/O operations within a single interface. It automatically determines the appropriate I/O path based on file type and request characteristics, eliminating the need for database administrators to choose between direct I/O and caching modes manually.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system automatically determines the appropriate I/O handling strategy without requiring manual configuration or administrator decisions. It self-adjusts based on the file type and request characteristics, providing both simplicity and adaptability simultaneously.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP2502148B1Selective file system caching based upon a configurable cache map
Publication Date: 2018.07.04 GEN DIGITAL INC
  • EP2502148B1 patent drawingFigure 1
  • EP2502148B1 patent drawingFigure 2
  • EP2502148B1 patent drawingFigure 3

AI summary

A method for implementing selective file system caching. The method includes receiving I/O requests from an application and comparing each of the I/O requests with a configurable cache map, wherein the configurable cache map controls a selective caching based on an I/O type and a file type. Each of the I/O requests are processed to render caching decisions based on the configurable cache map. Selective caching is then implemented on each of the I/O requests in accordance with the caching decisions.