File Migration to Persistent Memory via Direct Mapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional memory-based technologies for file access in file systems require modifications to applications for synchronization with non-volatile memory and often involve page caching, which can be cumbersome and inefficient.

Innovation Solution

The migration of files from a non-persistent memory file system to a persistent memory file system allows direct memory mapping without page caching, using a file migration policy that considers memory mapping history, access frequency, and available storage space, enabling transparent access and reducing the need for synchronization and page caching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If files are accessed using traditional memory mapping with non-volatile memory, then file access speed is improved, but application complexity increases due to required synchronization and flushing operations

Engineering Contradiction:
Improvefile access speedVSAvoidapplication complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent introduces a file system layer as an intermediary between the application and the persistent memory device. This file system handles synchronization and flushing operations automatically, shielding the application from these complex tasks while still enabling fast direct memory mapping access to files stored on persistent memory.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system implements automatic migration of files to persistent memory based on access patterns, without requiring application intervention. The file system monitors file access behavior and autonomously decides which files to migrate, reducing the burden on applications while maintaining performance benefits.

Inventive Principle:
Principle #25Self-service

2Productivity

If files are migrated to persistent memory file system, then page caching is eliminated and direct memory mapping is enabled, but file migration overhead and storage management complexity increase

Engineering Contradiction:
ImproveI/O performanceVSAvoidstorage management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements dynamic file migration policies that automatically adjust which files reside on persistent memory based on real-time access patterns. Files are migrated to or from persistent memory as needed, allowing the system to optimize I/O performance dynamically without manual intervention while managing storage resources efficiently.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the storage location parameter of files dynamically based on access frequency and pattern. By monitoring file access parameters and automatically migrating files between different storage locations (persistent memory vs. traditional storage), the system improves I/O performance without requiring complex manual storage management.

Inventive Principle:
Principle #35Parameter changes

3Speed

If direct memory mapping is used without page caching, then memory access efficiency is improved, but data persistence and reliability requirements become more stringent

Engineering Contradiction:
Improvememory access efficiencyVSAvoiddata persistence reliability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The patent implements preliminary synchronization mechanisms that ensure data is properly flushed to persistent memory before the system needs to guarantee its persistence. By proactively handling synchronization and flush operations through the file system layer, the system maintains data reliability while still enabling fast direct memory mapping access for active file operations.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10824362B2File migration to persistent memory
Publication Date: 2020.11.03 HEWLETT PACKARD ENTERPRISE DEV LP
  • US10824362B2 patent drawing
  • US10824362B2 patent drawing
  • US10824362B2 patent drawing

AI summary

Various examples described herein provide for migrating a file between a non-persistent memory file system and a persistent memory file system. In particular, some examples detect, on a non-persistent memory file system, a file that has been memory-mapped while being accessed from the non-persistent memory file system by a computer system, and the detected file is migrated from the non-persistent memory file system to the persistent memory file system.