WO2016159930A1 - File migration to persistent memory - Google Patents
File migration to persistent memory Download PDFInfo
- Publication number
- WO2016159930A1 WO2016159930A1 PCT/US2015/022946 US2015022946W WO2016159930A1 WO 2016159930 A1 WO2016159930 A1 WO 2016159930A1 US 2015022946 W US2015022946 W US 2015022946W WO 2016159930 A1 WO2016159930 A1 WO 2016159930A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- persistent memory
- file system
- migration
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/119—Details of migration of file systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0647—Migration mechanisms
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operations
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1727—Details of free space management performed by the file system
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
- G06F3/0611—Improving I/O performance in relation to response time
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0685—Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays
Definitions
- Various memory-based technologies are utilized to improve the speed at which files can be accessed from a file system. For instance, using memory mapping to provide access to a file permits an application to access the mapped portions of the file as if they are in primary memory, which can improve input/output (I/O) performance when accessing the file, especially when the file is large in size.
- I/O input/output
- FIGs. 1 and 2 illustrate example file migration systems for migrating a file from a non-persistent memory file system to a persistent memory file system.
- FIGs. 3 and 4 illustrate example computer systems each including an example file migration system.
- FIG. 5 illustrates example data flow in an example computing environment that includes an example file migration system.
- FIG. 6 illustrates an example computer system for migrating a file from a non-persistent memory file system to persistent memory.
- FIGs. 7 and 8 illustrate example methods performed by an example computer system to migrate a file to persistent memory.
- NVM non-volatile memory
- Various examples described herein provide migration of a file between a non-persistent memory file system and a persistent memory file system.
- migrating files to a persistent memory file system various examples permit a file to be accessed through direct memory mapping (to a persistent memory device associated with the persistent memory file system) without involvement of a page cache (e.g., dynamic random access memory [DRAM]-based page cache), which is a distinct advantage over traditional memory mapping, even with use of nonvolatile memory (NVM).
- DRAM dynamic random access memory
- a file is migrated from (storage on) a non- persistent memory file system to (storage on) a persistent memory file system based, at least in part, on a condition relating to memory mapping of the file.
- a computer system may migrate a file from a non-persistent memory file system to a persistent memory file system when the computer system determines that the file has been memory-mapped as part of the file being accessed from the non-persistent memory file system (e.g., access by the computer system).
- a file may be considered memory-mapped after a memory mapping occurrence and the file has been closed, or may be considered memory-mapped after the memory-mapping occurrence regardless of whether the file has been closed after the memory- mapping occurrence.
- a computer system may migrate a file from a non-persistent memory file system to a persistent memory file system when the computer system determines that the file has been memory-mapped and page cached as a result of the file being accessed from the non-persistent memory file system (e.g., access by the computer system or another computer system).
- an indication of whether a file has been memory-mapped may be stored on the non- persistent memory file system, and an indication of whether a file has been page- cached during memory-mapped access may be stored on the non-persistent memory file system.
- retention e.g., storage
- retention may be caused by a component that facilitates memory mapping on the computer system (e.g., virtual memory component of an operating system), or by a separate component that monitors for memory- mapped access of files by the computer system.
- the computer system may re-migrate the file from the persistent memory file system back to the non-persistent memory file system, and may do so under a particular set of conditions.
- Various examples may utilize a file migration policy including a set of criteria that determines whether a file is migrated from a non-persistent memory file system to a persistent memory file system, whether a file re-migrated from the persistent memory file system back to the non-persistent memory file system, or both, in some examples, the file migration policy includes a criterion that the file has an indication of having been memory-mapped during its access from the non- persistent memory file system.
- Another criterion of the file migration policy may include, without limitation, a history of file access associated with the file, such as historical information regarding frequency of access of the file (e.g., read or write access), write access density (e.g., writes/capacity), frequency of "store” instructions while a file is open, frequency of memory mapping of the file, or how recently the file was memory-mapped.
- Another criterion of the file migration policy may include, without limitation, the size of the file or the type of file.
- Yet another criterion of the file migration policy may include, without limitation, a criterion relating to a persistent memory device associated with the persistent memory file system, such as a criterion relating to whether persistent memory device has available data storage space for the persistent memory file system to receive the file from the non-persistent memory file system.
- a file may be migrated from a non-persistent memory file system to a persistent memory file system while the file is closed on the non-persistent memory file system. Accordingly, where a computer system is accessing the file from the non-persistent memory file system, the computer system may migrate the file from the non-persistent memory file system to the persistent memory file system after the file is closed on the non-persistent memory file system. Likewise, a file may be re-migrated from the persistent memory file system back to the non-persistent memory file system while the file is closed on the persistent memory file system. Accordingly, where a computer system is accessing the file from the persistent memory file system, the computer system may migrate the file from the persistent memory file system to the non- persistent memory file system after the file is closed on the persistent memory file system.
- a persistent memory file system can include a file system implemented using a persistent memory device, such as a phase change memory (PCM) device.
- a non-persistent memory file system can include a file system implemented using a non-persistent memory device, such as a hard disk drive (HDD), a solid-state drive (SSD), or some other non-volatile memory device, and capable of memory-mapped access to a file using a page cache.
- access of a file can include reading data from or writing data to a portion of the file.
- migrating a file from a first file system to a second file system may involve moving the file from the first file system to the second file system (e.g., copying the file to the second file system and removing the file from the first file system), or may involve copying the file to the second file system while retaining the file on the first file system as-is (thereafter using the copy of the file on the second file system as the active copy for subsequent file access purposes).
- a migration policy engine decides for a closed file (e.g., a file closed after being open) whether the file should be migrated from a non-persistent memory file system (associated with a non-persistent memory device) to a persistent memory file system (associated with a persistent memory device) and uses an indication that the file has been memory-mapped as part of the criteria for the migration. After the file has been migrated to the persistent memory file system, the next time the file is opened from the persistent memory file system, one or more portions of the file can be memory-mapped directly to the persistent memory device through the persistent memory file system.
- a closed file e.g., a file closed after being open
- a memory address can be directly mapped to the permanent location on the persistent memory device where the portion of the file is stored.
- a direct mapping can permit (e.g., an application to) access to the file using load (e.g., Id) and store (e.g., st) machine code instructions of a processor (e.g., centraI processing unit [CPU]), and can permit such access with no need for page caching, data copying, or input/output by the persistent memory file system.
- load e.g., Id
- store e.g., st machine code instructions of a processor (e.g., centraI processing unit [CPU])
- processor e.g., centraI processing unit [CPU]
- some examples can avoid any page caching that may be associated with memory- mapped access from the non-persistent memory file system.
- Various examples utilize a virtual file system module to provide a single file namespace implemented by a plurality of different file systems, which includes a non-persistent memory file system and a persistent memory file system.
- a virtual file system module to provide a single file namespace implemented by a plurality of different file systems, which includes a non-persistent memory file system and a persistent memory file system.
- such examples can provide a single memory-mapped file namespace to access a given file regardless of which file system the given file is stored upon.
- such examples permit the given file to migrate between the non-persistent memory file system and the persistent memory file system without an impact to the file namespace.
- non-persistent memory file system e.g., disk-based file system
- persistent memory file system e.g., phase change memory-based file system
- the following describes an example file migration system in the context of an example life cycle of a particular file.
- the example life cycle may begin with the particular file being stored on a non-persistent memory file system (e.g., based on a hard-disk drive or a solid-state drive) and the particular file being accessed (e.g., opened) from the non-persistent memory file system (e.g., by an application).
- the non-persistent memory file system may include a file system capable of providing memory-mapped access to a file using a page cache.
- an indication of this memory- mapping occurrence is retained (e.g.., stored) in association with the particular file.
- the indication of the memory-mapping occurrence may be retained on the non-persistent memory file system and may be retained after access to the particular from the non-persistent memory file system is closed (e.g., the particular file is closed on the non-persistent memory file system).
- the indication of the memory-mapping occurrence declares that the particular file has been memory-mapped in the past and, as such, may be memory-mapped again.
- the example file migration system can detect (e.g., as a continuous background process) whether the files have been memory-mapped by checking whether each of those files has an indication of a memory-mapping occurrence.
- the example file migration will detect that the particular file has been memory-mapped, and will detect this based on the presence of an associated indication of a memory- mapping occurrence. Upon this detection, the example file migration may migrate the particular file from the non-persistent memory file system to the persistent memory file system. As described herein, the migration may be facilitated within a virtual file system module as to maintain a single file namespace and to avoid or at least minimize disruption of an application's access to the particular file.
- migrating the particular file from the non-persistent memory file system to the persistent memory file system may involve moving the file from the non-persistent memory file system to the persistent memory file system, or may involve copying the particular file to the persistent memory file system and retaining a copy of the particular file on the non-persistent memory file system, in addition to detecting whether the particular file has been memory- mapped, the example file migration system may decide to migrate the particular file from the non-persistent memory file system to the persistent memory file system based on a migration policy including a set of criteria for migrating files.
- An example criterion can include frequency of access of the particular file (e.g., frequency of reads or writes while the file was stored on the non-persistent memory file system), time of access of the particular file (e.g., file access was recent), a criterion relating to the memory-mapping history associated with the particular file (e.g., memory-mapped over a threshold number of times or within a threshold time), a criterion relating to the file (e.g., size or type of file), or a criterion relating to the status or condition of the persistent memory file system (e.g., memory pressure of the persistent memory device associated with the persistent memory file system).
- frequency of access of the particular file e.g., frequency of reads or writes while the file was stored on the non-persistent memory file system
- time of access of the particular file e.g., file access was recent
- a criterion relating to the memory-mapping history associated with the particular file e.g., memory
- the particular file After the particular file has been migrated from the non-persistent memory file system to the persistent memory file system, when the file is opened (e.g., by an application), the particular file will be accessed from the persistent memory file system without involvement of the non-persistent memory file system and its associated page cache. As described herein, once on the persistent memory file system, one or more portions of the particular file on the persistent memory file system can be directly memory mapped without need of a page cache.
- the example file migration system may re-migrate the particular file system from the persistent memory file system back to the non-persistent memory file system.
- the example file migration system may decide to re-migrate the particular file back to the non-persistent memory file system based on a migration policy including a set of criteria for re- migrating files.
- An example criterion can include frequency of access of the particular file (e.g., file is no longer frequently accessed from the persistent memory file system), file size, file type, memory-mapping frequency, and the like.
- the re-migration of the particular file to the non-persistent memory file system would represent the end of the example life cycle.
- FIGs. 1 -8 The following provides a detailed description of the examples illustrated by FIGs. 1 -8.
- FIG. 1 illustrates an example file migration system 100 for migrating a file from a non-persistent memory file system to a persistent memory file system.
- the file migration system 100 includes a memory-mapped file detection module 102 and a file migration module 104.
- the file migration system 100 may be part of a computer system, such as a desktop, laptop, hand-held computing device (e.g., personal digital assistants, smartphones, tablets, etc.), workstation, server or other device that includes a processor.
- the components or the arrangement of components in the file migration system 100 may differ from what is depicted in FIG. 1 .
- modules and other components of various examples may comprise, in whole or in part, machine-readable instructions or electronic circuitry.
- a module may comprise computer-readable instructions executable by a processor to perform one or more functions in accordance with various examples described herein.
- a module may comprise electronic circuitry to perform one or more functions in accordance with various examples described herein.
- the elements of a module may be combined in a single package, maintained in several packages, or maintained separately.
- the memory-mapped file detection module 102 may facilitate detecting, 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.
- the non-persistent memory file system may be local to the computer system and associated with a local non-persistent memory device, or may be remote to the computer system (e.g., maintained on another computer system), associated with a remote non-persistent memory device (e.g., one on the other computer system), and accessible by the computer system over a communication medium (e.g., over a communications network, such as the Internet or a local area network).
- the file may be one that is currently closed on the non-persistent memory file system and that had at least a portion itself memory- mapped during its access (e.g., by the computer system or, possibly, another computer system).
- the previous access to which the memory mapping is associated may have occurred recent to the detection of the file by the memory- mapped file detection module 102.
- the memory-mapped file detection module 102 detects that a file has been memory-mapped based on an indicator stored or retained on the non-persistent memory file system in association with the file.
- the indicator may be stored or retained in association with the file upon a memory- mapping of the file or after a memory-mapping of the file and upon closing of the file.
- the memory-mapped file detection module 102 may facilitate monitoring for memory-mapped access of files stored on the non- persistent memory file system and cause the storage/retention of the memory- mapped indicator in association with the files.
- the file migration module 104 may facilitate migrating the file, detected by the memory-mapped file detection module 102, from the non-persistent memory file system to a persistent memory file system. For some examples, the file migration module 104 migrates the file from the non-persistent memory file system to the persistent memory file system by moving the file from the non- persistent memory file system to the persistent memory file system (e.g., copying the file to the persistent memory file system and removing the file the non- persistent memory file system), in other examples, the file migration module 104 migrates the file from the non-persistent memory file system to the persistent memory file system by copying the file to the persistent memory file system while retaining the file on the non-persistent memory file system as-is and using the copy of the file on the persistent memory file system as the active copy for subsequent file access purposes.
- the file migration module 104 migrates the file from the non-persistent memory file system to the persistent memory file system by moving the file from the non- persistent memory file system to the persistent memory file system (e.g.
- the file migration module 104 migrates the file from the non-persistent memory file system to the persistent memory file system based on a set of criteria that assists the file migration module 104 in determining whether the file should be migrated from the non-persistent memory file system to the persistent memory file system.
- One or more criteria in the set of criteria may function as a trigger for the file migration module 104 migrating the file from the non-persistent memory file system to the persistent memory file system.
- the set of criteria may be part of a migration policy that determines operation of the file migration module 104.
- the set of criteria may include, without limitation, a criterion that the file have an indication of having been memory-mapped during its access from the non-persistent memory file system.
- the set of criteria may include, without limitation, a criterion relating to a history of file access associated with the file, such as historical information regarding frequency of access of the file or frequency of memory mapping of the file.
- the set of criteria may include, without limitation, a criterion relating to a persistent memory device associated with the persistent memory file system, such as whether persistent memory device has available data storage space for the persistent memory file system to receive the file from the non-persistent memory file system.
- FiG. 2 illustrates an example file migration system 200 for migrating a file from a non-persistent memory file system to a persistent memory file system.
- the file migration system 200 includes a memory-mapped file detection module 202, a file migration criteria module 204, a file migration module 206, and a file re-migration module 208.
- the file migration system 200 may be part of a computer system, such as a desktop, laptop, handheld computing device (e.g., personal digital assistants, smartphones, tablets, etc.), workstation, server, or other device that includes a processor.
- the components or the arrangement of components in the file migration system 200 may differ from what is depicted in FiG. 2.
- the memory-mapped file detection module 202 may be similar to the memory-mapped file detection module 102 described above with respect to the file migration system 100 of FIG. 1 .
- the file migration criteria module 204 may facilitate determining, based on a set of criteria, whether a file should be migrated from a non-persistent memory file system to a persistent memory file system.
- the file migration module 206 may be similar to the file migration module 104 described above with respect to the file migration system 100 of FIG. 1 .
- the file migration module 206 may migrate the file from the non-persistent memory file system to the persistent memory file system in response to a determination by the file migration criteria module 204.
- the file re- migration module 208 may facilitate migrating the file from the persistent memory file system to the non-persistent memory file system.
- the file re-migration module 208 migrates the file from the persistent memory file system to the non-persistent memory file system based on a set of criteria that determines whether (e.g., when) the file should be re-migrated from the persistent memory file system to the non-persistent memory file system
- file migration criteria module 204 may facilitate determining, based on the set of criteria, whether (e.g., when) the file should be migrated from the persistent memory fiie system back to the non-persistent memory file system.
- the set of criteria may be part of a migration policy that determines operation of the file re-migration module 208.
- FIG. 3 illustrates an example computer system 300 including the file migration system 100.
- the computer system 300 may be any computing device having a processor and memory, such as a desktop, laptop, hand-held computing device (e.g., personal digital assistants, smartphones, tablets, etc.), workstation, server, or other device that includes a processor.
- the computer system 300 includes an application module 302, a virtual file system module 304, a non- persistent memory file system module 306, and a persistent memory file system module 308.
- the virtual fiie system module 304 includes the file migration system 100. in various examples, the components or the arrangement of components in the computer system 300 may differ from what is depicted in FIG. 3.
- the application module 302 represents any firmware or software (e.g., software application or operating system) operable on the computer system 300 and that capable of accessing (e.g., read from, write to, or modify) a fiie stored on a file system. For some examples, when the application module 302 opens a file from a file system to access the file and, eventually, may close the fiie when it has completed its access of the fiie. When the application module 302 accesses a file from a non-persistent memory file system, it may be memory-mapped using a volatile memory device, included by the computer system 300 (not shown), as a page cache.
- firmware or software e.g., software application or operating system
- the virtual file system module 304 may be one that provides the application module 302 with a virtual fiie system having a single file namespace but being associated with (e.g., based on) a plurality of separate file systems of similar (e.g., two or more non-persistent memory file systems) or different types (e.g., a non-persistent memory fiie system and a persistent memory fiie system).
- the virtual file system module 304 may use FUSE, a stackable file system, or the like, to interpose a virtual fiie system layer between the application module 302 and plurality of file systems.
- the virtual file system module 304 can provide (e.g., present for access) the plurality of file systems to the application module 302 as a single (virtual) file system having a single file namespace. Accordingly, for some examples, when a file is migrated between two different file systems underlying the single virtual file system (e.g., a file is migrated between a non-persistent memory file system and a persistent memory file system), the single file namespace provided by the virtual file system is maintained and the application module 302 does not perceive a change to the single file namespace provided by the virtual file system.
- the plurality of file systems includes a non- persistent memory file system, associated with a non-persistent memory device (e.g., hard-disk drive or solid-state drive), and a persistent memory file system, associated with a persistent memory device, such as a phase-change memory (PCM) device.
- a non-persistent memory device e.g., hard-disk drive or solid-state drive
- a persistent memory file system associated with a persistent memory device, such as a phase-change memory (PCM) device.
- PCM phase-change memory
- the virtual file system module 304 provides a single virtual file system comprising a non-persistent memory file system accessible by the computer system 300 and a persistent memory file system accessible by the computer system 300.
- the file migration system 100 can detect, on a non-persistent memory file system presented through the virtual file system module 304, a file that has been memory-mapped while being accessed from the non-persistent memory file system by the computer system 300. As described herein, based on a set of criteria (e.g., migration policy), the file migration system 100 may decide whether the detected file should be migrated from the non-persistent memory file system to a persistent memory file system presented by the virtual file system module 304, and execute operations accordingly.
- a set of criteria e.g., migration policy
- the file migration system 100 may decide, based on a set of criteria (e.g., migration policy), whether (e.g., when) the particular file should be migrated from the persistent memory file system to the non-persistent memory file system (e.g., re- migrated back), and execute operations accordingly.
- a set of criteria e.g., migration policy
- the non-persistent memory file system module 306 may facilitate access of a non-persistent memory file system by the computer system 300.
- the non-persistent memory file system module 306 may implement the non-persistent memory file system at the computer system 300 and may include the non-persistent memory device upon which the non-persistent memory file system is based.
- the non-persistent memory file system may be one local to the computer system 300 and associated with a non- persistent memory device included by the computer system 300, or may be one remote to the computer system 300, associated with a non-persistent memory device included by another computer system, and accessible by the computer system 300 through a communications interface (e.g., over a communications network).
- the persistent memory file system module 308 may facilitate access of a persistent memory file system by the computer system 300.
- the non-persistent memory file system module 306 may implement the persistent memory file system at the computer system 300 and may include the persistent memory device upon which the persistent memory file system is based.
- the persistent memory file system is maintained locally by the computer system 300 and associated with a memory device locally included by the computer system 300.
- FIG. 4 illustrates an example computer system 400 including the file migration system 100.
- the computer system 400 may be any computing device having a processor and memory, such as a desktop, laptop, hand-held computing device (e.g., personal digital assistants, smartphones, tablets, etc.), workstation, or other device that includes a processor.
- the computer system 400 includes an application module 402, a virtual file system module 404, a local persistent memory file system module 406, a remote file system module 408, and a communications module 410.
- the virtual file system module 404 includes the file migration system 100.
- the components or the arrangement of components in the computer system 400 may differ from what is depicted in FIG. 4.
- the application module 402 may be similar to the application module 302 described above with respect to the computer system 300 of FIG. 3, and the virtual file system module 404 may be similar to the application module 302 described above with respect to the computer system 300 of FIG. 3.
- the virtual file system module 404 provides (e.g., presents) the application module 302 with a single virtual file system that has a single file namespace and that is based on a plurality of separate file systems including a remote file system and a local persistent memory file system.
- the remote file system may be a file system remote to the computer system 400, maintained by another computer system with which the computer system 400 can communicate, and associated with a persistent memory device or a non-persistent memory device included by the other computer system.
- the application module 402 accesses files on the remote file system through the virtual file system module 404, and the virtual file system module 404 accesses the remote file system over a communications network through a network connection with the other computer system.
- the local persistent memory file system module 406 may facilitate access to a persistent memory file system maintained locally by the computer system 400.
- the local persistent memory file system module 406 may implement the persistent memory file system at the computer system 400 and may include the local persistent memory device upon which the non- persistent memory file system is based.
- the remote file system module 408 may facilitate access to a file system remote to the computer system 400.
- the remote file system may be maintained by another computer system with which the computer system 400 can communicate, and may be associated with a persistent memory device or a non-persistent memory device included by the other computer system.
- the communications module 410 may facilitate communication of the computer system 400 with another computer system over a communications network that that permits data communication.
- the communications network may comprise one or more local or wide-area communications networks, such as the Internet, VViFi networks, cellular networks, private networks, public networks, and the like.
- the computer system 400 may access a remote file system that is maintained by another computer system.
- the communications module 410 may facilitate the exchange of network data packets between the computer system 400 and the computer system maintaining the remote file system.
- FIG. 5 illustrates example data flow in an example computing environment 500 that includes the file migration system 100.
- the computing environment 500 includes an application 502, a virtual file system module 504 that includes the file migration system 100, a page cache 506, a non- persistent memory file system 508, a non-persistent memory device 510, a persistent memory file system 512, and a persistent memory device 514.
- the virtual file system module 504 provides the application 502 with a virtual file system having a single file namespace but being based on the non-persistent memory file system 508, associated with the non- persistent memory device 510, and the persistent memory file system 512, associated with the persistent memory device 514.
- the page cache 506 may support memory mapping of files stored on the non-persistent memory file system 508.
- the application 502 may open and access a given file stored on the non-persistent memory file system 508 but provided by the virtual file system module 504 as part of a single name space.
- the given file When the given file is accessed by the application 502 through the virtual file system module 504, the given file may be memory-mapped using the page cache 506.
- the file When the given file is memory-mapped, the file may be marked as so by an indicator stored on the non-persistent memory file system 508 in association with the file.
- the storage of this indicator may be caused by the file migration system 100. Additionally, the storage of the indicator may occur when the file is closed by the application 502 or sometime after.
- the file migration system 100 may detect that the given file has been memory-mapped and may decide, based on a set of criteria (e.g., migration policy), whether the file should be migrated from the non- persistent memory file system 508 to the persistent memory file system 512.
- a set of criteria e.g., migration policy
- the file migration system 100 may migrate (e.g., copy or move) the given file from the non-persistent memory file system 508 to the persistent memory file system 512 while maintaining the single file namespace being provided to the application 502 by the virtual file system module 504, thereby avoiding disruption of access to the given file by the application 502 between access sessions.
- the file migration system 100 may decide whether (e.g., when) the given file should be re-migrated (e.g., copied or moved) from the persistent memory file system 512 back to the non-persistent memory file system 508.
- FIG. 6 illustrates an example computer system 600 for migrating a file from a non-persistent memory file system to persistent memory.
- the computer system 600 includes a computer-readable medium 602, a processor 604, a persistent memory device 606, and a communications interface 608.
- the components or the arrangement of components of the computer system 600 may differ from what is depicted in FIG. 6.
- the computer system 600 can include more or less components than those depicted in FIG. 6.
- the computer-readable medium 602 may be any electronic, magnetic, optical, or other physical storage device that stores executable instructions.
- the computer-readable medium 602 may be a Random Access Memory (RAM), an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a storage drive, an optical disc, or the like.
- RAM Random Access Memory
- EEPROM Electrically-Erasable Programmable Read-Only Memory
- the computer-readable medium 602 can be encoded to store executable instructions that cause the processor 604 to perform operations in accordance with various examples described herein, in various examples, the computer-readable medium 602 is non-transitory. As shown in FIG. 6, the computer-readable medium 602 includes memory-mapped file detection instructions 610 and persistent memory file migration instructions 612.
- the processor 604 may be one or more central processing units (CPUs), microprocessors, or other hardware devices suitable for retrieval and execution of one or more instructions stored in the computer-readable medium 602.
- the processor 604 may fetch, decode, and execute the instructions 610 and 612 to enable the computer system 600 to perform operations in accordance with various examples described herein.
- the processor 604 includes one or more electronic circuits comprising a number of electronic components for performing the functionality of one or more of the instructions 610 and 612.
- the persistent memory device 606 may include a phase-change memory device or the like. Based on the persistent memory device 606, the computer system 600 may support a local persistent memory file system at the computer system 600, which may be provided to an application on the computer system 600 as part of a virtual file system.
- the communications interface 608 may facilitate communication between the computer system 600 and a remote network entity, such as another computer system, which may have a remote file system.
- a file that is detected as having been memory mapped while being accessed from a remote file system may be migrated from the remote file system to a local persistent memory file system, such as one associated with the persistent memory device 606.
- instructions 610 and 612 can cause the processor 604 to send or receive network traffic through the communications interface 608 to facilitate migration of a file from the remote file system to the local persistent memory file system, and to facilitate re-migration of the file from the local persistent memory file system to the remote file system.
- the memory-mapped file detection instructions 610 may cause the processor 604 to detect, on a remote file system accessible to the computer system 600 through the communications interface 608, a file that has been memory-mapped while being accessed from the remote file system by the computer system 600.
- the persistent memory file migration instructions 612 may cause the processor 604 to migrate the file detected by the processor 604 from the remote file system to a persistent memory file system based on the persistent memory device 606 of the computer system 600.
- the remote file system may be a persistent memory file system associated with (e.g., based on) a persistent memory device, or a non-persistent memory file system based on a non-persistent memory device remote with respect to the computer system 600.
- FIG. 7 illustrates an example method 700 performed by an example computer system to facilitate migration of a file from a non-persistent memory file system to a persistent memory file system.
- execution of the method 700 is described below with reference to the file migration system 200 of FIG. 2 and a computer system, execution of the method 700 by other suitable systems or devices may be possible.
- the method 700 may be implemented in the form of executable instructions stored on a computer-readable medium or in the form of electronic circuitry.
- the method 700 begins at block 702, with the memory-mapped file detection module 202 defecting, on a non-persistent memory file system accessible by a computer system, a file that has been memory-mapped during access by the computer system.
- the method 700 continues with the file migration criteria module 204 determining whether the file detected at block 702 should be migrated from the non-persistent memory file system to a persistent memory file system accessible by the computer system.
- the file migration criteria module 204 performs this determination based on a set of criteria that a trigger for migrating a file from a non-persistent memory file system to a persistent memory file system.
- the method 700 continues with the file migration module 206 migrating the file detected at block 702 from the non-persistent memory file system to the persistent memory file system in response to the determination at block 704.
- FIG. 8 illustrates an example method 800 performed by an example computer system to facilitate migration of a file from a non-persistent memory file system to a persistent memory file system.
- execution of the method 800 is described below with reference to the file migration system 200 of FIG. 2 and a computer system, execution of the method 800 by other suitable systems or devices may be possible.
- the method 800 may be implemented in the form of executable instructions stored on a computer-readable medium or in the form of electronic circuitry.
- the method 800 begins at block 802, which may be similar to block 702 of the method 700 as described above with respect to FIG, 7, Likewise, blocks 804 and 806 may be respectively similar to blocks 704 and 706 of the method 700 as described above with respect to FIG. 7.
- the method 800 continues with the file migration criteria module 204 determining whether the file, migrated at block 806, should be re- migrated from the persistent memory fiie system back to the non-persistent memory file system. As described herein, the file migration criteria module 204 performs this determination based on a set of criteria that define a trigger for re- migrating a fiie from a persistent memory file system to a non-persistent memory file system.
- the method 800 continues with the file re-migration module 208 re-migrating the fiie, migrated at block 806, from the persistent memory fiie system to the non-persistent memory file system in response to the determination at block 808.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
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.
Description
FI LE MIGRATION TO PERSSSTEMT MEMORY
BACKGROUND
[0001] Various memory-based technologies are utilized to improve the speed at which files can be accessed from a file system. For instance, using memory mapping to provide access to a file permits an application to access the mapped portions of the file as if they are in primary memory, which can improve input/output (I/O) performance when accessing the file, especially when the file is large in size.
BRI EF DESCRIPTION OF THE DRAWINGS
[0002] Certain examples are described in the following detailed description in reference to the following drawings.
[0003] FIGs. 1 and 2 illustrate example file migration systems for migrating a file from a non-persistent memory file system to a persistent memory file system.
[0004] FIGs. 3 and 4 illustrate example computer systems each including an example file migration system.
[0005] FIG. 5 illustrates example data flow in an example computing environment that includes an example file migration system.
[0006] FIG. 6 illustrates an example computer system for migrating a file from a non-persistent memory file system to persistent memory.
[0007] FIGs. 7 and 8 illustrate example methods performed by an example computer system to migrate a file to persistent memory.
DETAILED DESCRIPTION
[0008] Though traditional uses of memory-based technologies can improve access to files on file systems, they also have their drawbacks. For example, using non-volatile memory (NVM) to improve memory-mapped access of file generally requires an application be modified to synchronize or flush writes to NVM, or requires the application use libraries to do so. With respect to using memory mapping to access files, though some data storage devices permit direct
memory mapping, others need to be presented as block devices that need to be memory-mapped by allocating volatile memory and synchronizing data to disk,
[0009] Various examples described herein provide migration of a file between a non-persistent memory file system and a persistent memory file system. By migrating files to a persistent memory file system, various examples permit a file to be accessed through direct memory mapping (to a persistent memory device associated with the persistent memory file system) without involvement of a page cache (e.g., dynamic random access memory [DRAM]-based page cache), which is a distinct advantage over traditional memory mapping, even with use of nonvolatile memory (NVM).
[0010] According to some examples, a file is migrated from (storage on) a non- persistent memory file system to (storage on) a persistent memory file system based, at least in part, on a condition relating to memory mapping of the file. For instance, a computer system may migrate a file from a non-persistent memory file system to a persistent memory file system when the computer system determines that the file has been memory-mapped as part of the file being accessed from the non-persistent memory file system (e.g., access by the computer system). For purposes of examples described herein, a file may be considered memory-mapped after a memory mapping occurrence and the file has been closed, or may be considered memory-mapped after the memory-mapping occurrence regardless of whether the file has been closed after the memory- mapping occurrence.
[0011] A computer system may migrate a file from a non-persistent memory file system to a persistent memory file system when the computer system determines that the file has been memory-mapped and page cached as a result of the file being accessed from the non-persistent memory file system (e.g., access by the computer system or another computer system). Depending on the example, an indication of whether a file has been memory-mapped may be stored on the non- persistent memory file system, and an indication of whether a file has been page- cached during memory-mapped access may be stored on the non-persistent memory file system. Depending on the example, retention (e.g., storage) of an indication of whether a file has been memory-mapped, or has been page-cached
during memory-mapped access, may be caused by a component that facilitates memory mapping on the computer system (e.g., virtual memory component of an operating system), or by a separate component that monitors for memory- mapped access of files by the computer system. After a file has been migrated from a non-persistent memory file system to a persistent memory file system, the computer system may re-migrate the file from the persistent memory file system back to the non-persistent memory file system, and may do so under a particular set of conditions.
[0012] Various examples may utilize a file migration policy including a set of criteria that determines whether a file is migrated from a non-persistent memory file system to a persistent memory file system, whether a file re-migrated from the persistent memory file system back to the non-persistent memory file system, or both, in some examples, the file migration policy includes a criterion that the file has an indication of having been memory-mapped during its access from the non- persistent memory file system. Another criterion of the file migration policy may include, without limitation, a history of file access associated with the file, such as historical information regarding frequency of access of the file (e.g., read or write access), write access density (e.g., writes/capacity), frequency of "store" instructions while a file is open, frequency of memory mapping of the file, or how recently the file was memory-mapped. Another criterion of the file migration policy may include, without limitation, the size of the file or the type of file. Yet another criterion of the file migration policy may include, without limitation, a criterion relating to a persistent memory device associated with the persistent memory file system, such as a criterion relating to whether persistent memory device has available data storage space for the persistent memory file system to receive the file from the non-persistent memory file system.
[0013] Depending on the example, a file may be migrated from a non-persistent memory file system to a persistent memory file system while the file is closed on the non-persistent memory file system. Accordingly, where a computer system is accessing the file from the non-persistent memory file system, the computer system may migrate the file from the non-persistent memory file system to the persistent memory file system after the file is closed on the non-persistent
memory file system. Likewise, a file may be re-migrated from the persistent memory file system back to the non-persistent memory file system while the file is closed on the persistent memory file system. Accordingly, where a computer system is accessing the file from the persistent memory file system, the computer system may migrate the file from the persistent memory file system to the non- persistent memory file system after the file is closed on the persistent memory file system.
[0014] As used herein, a persistent memory file system can include a file system implemented using a persistent memory device, such as a phase change memory (PCM) device. As used herein, a non-persistent memory file system can include a file system implemented using a non-persistent memory device, such as a hard disk drive (HDD), a solid-state drive (SSD), or some other non-volatile memory device, and capable of memory-mapped access to a file using a page cache. As used herein, access of a file can include reading data from or writing data to a portion of the file. Additionally, as used herein, migrating a file from a first file system to a second file system may involve moving the file from the first file system to the second file system (e.g., copying the file to the second file system and removing the file from the first file system), or may involve copying the file to the second file system while retaining the file on the first file system as-is (thereafter using the copy of the file on the second file system as the active copy for subsequent file access purposes).
[0015] According to some examples, a migration policy engine decides for a closed file (e.g., a file closed after being open) whether the file should be migrated from a non-persistent memory file system (associated with a non-persistent memory device) to a persistent memory file system (associated with a persistent memory device) and uses an indication that the file has been memory-mapped as part of the criteria for the migration. After the file has been migrated to the persistent memory file system, the next time the file is opened from the persistent memory file system, one or more portions of the file can be memory-mapped directly to the persistent memory device through the persistent memory file system. When a portion of a file is directly memory-mapped to the persistent memory device through the persistent memory file system, a memory address
can be directly mapped to the permanent location on the persistent memory device where the portion of the file is stored. Such a direct mapping can permit (e.g., an application to) access to the file using load (e.g., Id) and store (e.g., st) machine code instructions of a processor (e.g., centraI processing unit [CPU]), and can permit such access with no need for page caching, data copying, or input/output by the persistent memory file system. Additionally, since the file is no longer being accessed from the non-persistent memory file system, some examples can avoid any page caching that may be associated with memory- mapped access from the non-persistent memory file system.
[0016] Various examples utilize a virtual file system module to provide a single file namespace implemented by a plurality of different file systems, which includes a non-persistent memory file system and a persistent memory file system. In this way, such examples can provide a single memory-mapped file namespace to access a given file regardless of which file system the given file is stored upon. As a consequence, such examples permit the given file to migrate between the non-persistent memory file system and the persistent memory file system without an impact to the file namespace. This can permit migration of the given file between the non-persistent memory file system (e.g., disk-based file system) and the persistent memory file system (e.g., phase change memory-based file system) to be transparent to an application, thereby permitting the application to access the given file without disruption.
[0017] The following describes an example file migration system in the context of an example life cycle of a particular file. The example life cycle may begin with the particular file being stored on a non-persistent memory file system (e.g., based on a hard-disk drive or a solid-state drive) and the particular file being accessed (e.g., opened) from the non-persistent memory file system (e.g., by an application). As described herein, the non-persistent memory file system may include a file system capable of providing memory-mapped access to a file using a page cache. For the example file migration system, after the particular file is memory mapped (e.g., using a mmap system call), an indication of this memory- mapping occurrence is retained (e.g.., stored) in association with the particular file. The indication of the memory-mapping occurrence may be retained on the
non-persistent memory file system and may be retained after access to the particular from the non-persistent memory file system is closed (e.g., the particular file is closed on the non-persistent memory file system). The indication of the memory-mapping occurrence declares that the particular file has been memory-mapped in the past and, as such, may be memory-mapped again. Accordingly, for files closed and currently stored on the non-persistent memory file system, the example file migration system can detect (e.g., as a continuous background process) whether the files have been memory-mapped by checking whether each of those files has an indication of a memory-mapping occurrence.
[0018] Continuing with the example life cycle, after the particular file being accessed from the non-persistent memory file system is closed, the example file migration will detect that the particular file has been memory-mapped, and will detect this based on the presence of an associated indication of a memory- mapping occurrence. Upon this detection, the example file migration may migrate the particular file from the non-persistent memory file system to the persistent memory file system. As described herein, the migration may be facilitated within a virtual file system module as to maintain a single file namespace and to avoid or at least minimize disruption of an application's access to the particular file. As also described herein, migrating the particular file from the non-persistent memory file system to the persistent memory file system may involve moving the file from the non-persistent memory file system to the persistent memory file system, or may involve copying the particular file to the persistent memory file system and retaining a copy of the particular file on the non-persistent memory file system, in addition to detecting whether the particular file has been memory- mapped, the example file migration system may decide to migrate the particular file from the non-persistent memory file system to the persistent memory file system based on a migration policy including a set of criteria for migrating files. An example criterion can include frequency of access of the particular file (e.g., frequency of reads or writes while the file was stored on the non-persistent memory file system), time of access of the particular file (e.g., file access was recent), a criterion relating to the memory-mapping history associated with the particular file (e.g., memory-mapped over a threshold number of times or within a
threshold time), a criterion relating to the file (e.g., size or type of file), or a criterion relating to the status or condition of the persistent memory file system (e.g., memory pressure of the persistent memory device associated with the persistent memory file system).
[0019] After the particular file has been migrated from the non-persistent memory file system to the persistent memory file system, when the file is opened (e.g., by an application), the particular file will be accessed from the persistent memory file system without involvement of the non-persistent memory file system and its associated page cache. As described herein, once on the persistent memory file system, one or more portions of the particular file on the persistent memory file system can be directly memory mapped without need of a page cache.
[0020] Continuing with the example life cycle, the example file migration system may re-migrate the particular file system from the persistent memory file system back to the non-persistent memory file system. The example file migration system may decide to re-migrate the particular file back to the non-persistent memory file system based on a migration policy including a set of criteria for re- migrating files. An example criterion can include frequency of access of the particular file (e.g., file is no longer frequently accessed from the persistent memory file system), file size, file type, memory-mapping frequency, and the like. The re-migration of the particular file to the non-persistent memory file system would represent the end of the example life cycle.
[0021] The following provides a detailed description of the examples illustrated by FIGs. 1 -8.
[0022] FIG. 1 illustrates an example file migration system 100 for migrating a file from a non-persistent memory file system to a persistent memory file system. As shown, the file migration system 100 includes a memory-mapped file detection module 102 and a file migration module 104. Depending on the example, the file migration system 100 may be part of a computer system, such as a desktop, laptop, hand-held computing device (e.g., personal digital assistants, smartphones, tablets, etc.), workstation, server or other device that includes a processor. In various examples, the components or the arrangement of
components in the file migration system 100 may differ from what is depicted in FIG. 1 .
[0023] As used herein, modules and other components of various examples may comprise, in whole or in part, machine-readable instructions or electronic circuitry. For instance, a module may comprise computer-readable instructions executable by a processor to perform one or more functions in accordance with various examples described herein. Likewise, in another instance, a module may comprise electronic circuitry to perform one or more functions in accordance with various examples described herein. The elements of a module may be combined in a single package, maintained in several packages, or maintained separately.
[0024] The memory-mapped file detection module 102 may facilitate detecting, 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. The non-persistent memory file system may be local to the computer system and associated with a local non-persistent memory device, or may be remote to the computer system (e.g., maintained on another computer system), associated with a remote non-persistent memory device (e.g., one on the other computer system), and accessible by the computer system over a communication medium (e.g., over a communications network, such as the Internet or a local area network).
[0025] As described herein, the file may be one that is currently closed on the non-persistent memory file system and that had at least a portion itself memory- mapped during its access (e.g., by the computer system or, possibly, another computer system). The previous access to which the memory mapping is associated may have occurred recent to the detection of the file by the memory- mapped file detection module 102.
[0026] For some examples, the memory-mapped file detection module 102 detects that a file has been memory-mapped based on an indicator stored or retained on the non-persistent memory file system in association with the file. The indicator may be stored or retained in association with the file upon a memory- mapping of the file or after a memory-mapping of the file and upon closing of the file. Depending on the example, the memory-mapped file detection module 102
may facilitate monitoring for memory-mapped access of files stored on the non- persistent memory file system and cause the storage/retention of the memory- mapped indicator in association with the files.
[0027] The file migration module 104 may facilitate migrating the file, detected by the memory-mapped file detection module 102, from the non-persistent memory file system to a persistent memory file system. For some examples, the file migration module 104 migrates the file from the non-persistent memory file system to the persistent memory file system by moving the file from the non- persistent memory file system to the persistent memory file system (e.g., copying the file to the persistent memory file system and removing the file the non- persistent memory file system), in other examples, the file migration module 104 migrates the file from the non-persistent memory file system to the persistent memory file system by copying the file to the persistent memory file system while retaining the file on the non-persistent memory file system as-is and using the copy of the file on the persistent memory file system as the active copy for subsequent file access purposes.
[0028] According to some examples, the file migration module 104 migrates the file from the non-persistent memory file system to the persistent memory file system based on a set of criteria that assists the file migration module 104 in determining whether the file should be migrated from the non-persistent memory file system to the persistent memory file system. One or more criteria in the set of criteria may function as a trigger for the file migration module 104 migrating the file from the non-persistent memory file system to the persistent memory file system.
[0029] As described herein, the set of criteria may be part of a migration policy that determines operation of the file migration module 104. The set of criteria may include, without limitation, a criterion that the file have an indication of having been memory-mapped during its access from the non-persistent memory file system. The set of criteria may include, without limitation, a criterion relating to a history of file access associated with the file, such as historical information regarding frequency of access of the file or frequency of memory mapping of the file. The set of criteria may include, without limitation, a criterion relating to a
persistent memory device associated with the persistent memory file system, such as whether persistent memory device has available data storage space for the persistent memory file system to receive the file from the non-persistent memory file system.
[0030] FiG. 2 illustrates an example file migration system 200 for migrating a file from a non-persistent memory file system to a persistent memory file system. As shown, the file migration system 200 includes a memory-mapped file detection module 202, a file migration criteria module 204, a file migration module 206, and a file re-migration module 208. Depending on the example, the file migration system 200 may be part of a computer system, such as a desktop, laptop, handheld computing device (e.g., personal digital assistants, smartphones, tablets, etc.), workstation, server, or other device that includes a processor. In various examples, the components or the arrangement of components in the file migration system 200 may differ from what is depicted in FiG. 2.
[0031] The memory-mapped file detection module 202 may be similar to the memory-mapped file detection module 102 described above with respect to the file migration system 100 of FIG. 1 . The file migration criteria module 204 may facilitate determining, based on a set of criteria, whether a file should be migrated from a non-persistent memory file system to a persistent memory file system. The file migration module 206 may be similar to the file migration module 104 described above with respect to the file migration system 100 of FIG. 1 . The file migration module 206 may migrate the file from the non-persistent memory file system to the persistent memory file system in response to a determination by the file migration criteria module 204.
[0032] After the file migration module 206 migrates the file from the non- persistent memory file system to the persistent memory file system, the file re- migration module 208 may facilitate migrating the file from the persistent memory file system to the non-persistent memory file system. According to some examples, the file re-migration module 208 migrates the file from the persistent memory file system to the non-persistent memory file system based on a set of criteria that determines whether (e.g., when) the file should be re-migrated from the persistent memory file system to the non-persistent memory file system, in
some examples, file migration criteria module 204 may facilitate determining, based on the set of criteria, whether (e.g., when) the file should be migrated from the persistent memory fiie system back to the non-persistent memory file system. As described herein, the set of criteria may be part of a migration policy that determines operation of the file re-migration module 208.
[0033] FIG. 3 illustrates an example computer system 300 including the file migration system 100. The computer system 300 may be any computing device having a processor and memory, such as a desktop, laptop, hand-held computing device (e.g., personal digital assistants, smartphones, tablets, etc.), workstation, server, or other device that includes a processor. As shown, the computer system 300 includes an application module 302, a virtual file system module 304, a non- persistent memory file system module 306, and a persistent memory file system module 308. As also shown, the virtual fiie system module 304 includes the file migration system 100. in various examples, the components or the arrangement of components in the computer system 300 may differ from what is depicted in FIG. 3.
[0034] The application module 302 represents any firmware or software (e.g., software application or operating system) operable on the computer system 300 and that capable of accessing (e.g., read from, write to, or modify) a fiie stored on a file system. For some examples, when the application module 302 opens a file from a file system to access the file and, eventually, may close the fiie when it has completed its access of the fiie. When the application module 302 accesses a file from a non-persistent memory file system, it may be memory-mapped using a volatile memory device, included by the computer system 300 (not shown), as a page cache.
[0035] The virtual file system module 304 may be one that provides the application module 302 with a virtual fiie system having a single file namespace but being associated with (e.g., based on) a plurality of separate file systems of similar (e.g., two or more non-persistent memory file systems) or different types (e.g., a non-persistent memory fiie system and a persistent memory fiie system). The virtual file system module 304 may use FUSE, a stackable file system, or the like, to interpose a virtual fiie system layer between the application module 302
and plurality of file systems. In this way, the virtual file system module 304, can provide (e.g., present for access) the plurality of file systems to the application module 302 as a single (virtual) file system having a single file namespace. Accordingly, for some examples, when a file is migrated between two different file systems underlying the single virtual file system (e.g., a file is migrated between a non-persistent memory file system and a persistent memory file system), the single file namespace provided by the virtual file system is maintained and the application module 302 does not perceive a change to the single file namespace provided by the virtual file system.
[0036] For various examples, the plurality of file systems includes a non- persistent memory file system, associated with a non-persistent memory device (e.g., hard-disk drive or solid-state drive), and a persistent memory file system, associated with a persistent memory device, such as a phase-change memory (PCM) device. Accordingly, for some examples, the virtual file system module 304 provides a single virtual file system comprising a non-persistent memory file system accessible by the computer system 300 and a persistent memory file system accessible by the computer system 300.
[0037] As part of the virtual file system module 304, the file migration system 100 can detect, on a non-persistent memory file system presented through the virtual file system module 304, a file that has been memory-mapped while being accessed from the non-persistent memory file system by the computer system 300. As described herein, based on a set of criteria (e.g., migration policy), the file migration system 100 may decide whether the detected file should be migrated from the non-persistent memory file system to a persistent memory file system presented by the virtual file system module 304, and execute operations accordingly. As also described herein, after a particular file is migrated, the file migration system 100 may decide, based on a set of criteria (e.g., migration policy), whether (e.g., when) the particular file should be migrated from the persistent memory file system to the non-persistent memory file system (e.g., re- migrated back), and execute operations accordingly.
[0038] The non-persistent memory file system module 306 may facilitate access of a non-persistent memory file system by the computer system 300. For
example, the non-persistent memory file system module 306 may implement the non-persistent memory file system at the computer system 300 and may include the non-persistent memory device upon which the non-persistent memory file system is based. Depending on the example, the non-persistent memory file system may be one local to the computer system 300 and associated with a non- persistent memory device included by the computer system 300, or may be one remote to the computer system 300, associated with a non-persistent memory device included by another computer system, and accessible by the computer system 300 through a communications interface (e.g., over a communications network).
[0039] The persistent memory file system module 308 may facilitate access of a persistent memory file system by the computer system 300. For instance, the non-persistent memory file system module 306 may implement the persistent memory file system at the computer system 300 and may include the persistent memory device upon which the persistent memory file system is based. For various examples, the persistent memory file system is maintained locally by the computer system 300 and associated with a memory device locally included by the computer system 300.
[0040] FIG. 4 illustrates an example computer system 400 including the file migration system 100. The computer system 400 may be any computing device having a processor and memory, such as a desktop, laptop, hand-held computing device (e.g., personal digital assistants, smartphones, tablets, etc.), workstation, or other device that includes a processor. As shown, the computer system 400 includes an application module 402, a virtual file system module 404, a local persistent memory file system module 406, a remote file system module 408, and a communications module 410. As also shown, the virtual file system module 404 includes the file migration system 100. In various examples, the components or the arrangement of components in the computer system 400 may differ from what is depicted in FIG. 4.
[0041] The application module 402 may be similar to the application module 302 described above with respect to the computer system 300 of FIG. 3, and the virtual file system module 404 may be similar to the application module 302
described above with respect to the computer system 300 of FIG. 3. For some examples, the virtual file system module 404 provides (e.g., presents) the application module 302 with a single virtual file system that has a single file namespace and that is based on a plurality of separate file systems including a remote file system and a local persistent memory file system. The remote file system may be a file system remote to the computer system 400, maintained by another computer system with which the computer system 400 can communicate, and associated with a persistent memory device or a non-persistent memory device included by the other computer system. For some examples, the application module 402 accesses files on the remote file system through the virtual file system module 404, and the virtual file system module 404 accesses the remote file system over a communications network through a network connection with the other computer system.
[0042] The local persistent memory file system module 406 may facilitate access to a persistent memory file system maintained locally by the computer system 400. For instance, the local persistent memory file system module 406 may implement the persistent memory file system at the computer system 400 and may include the local persistent memory device upon which the non- persistent memory file system is based.
[0043] The remote file system module 408 may facilitate access to a file system remote to the computer system 400. As described herein, the remote file system may be maintained by another computer system with which the computer system 400 can communicate, and may be associated with a persistent memory device or a non-persistent memory device included by the other computer system.
[0044] The communications module 410 may facilitate communication of the computer system 400 with another computer system over a communications network that that permits data communication. The communications network may comprise one or more local or wide-area communications networks, such as the Internet, VViFi networks, cellular networks, private networks, public networks, and the like. As described herein, the computer system 400 may access a remote file system that is maintained by another computer system. As the computer system 400 accesses a remote file system, the communications module 410 may
facilitate the exchange of network data packets between the computer system 400 and the computer system maintaining the remote file system.
[0045] FIG. 5 illustrates example data flow in an example computing environment 500 that includes the file migration system 100. As shown, the computing environment 500 includes an application 502, a virtual file system module 504 that includes the file migration system 100, a page cache 506, a non- persistent memory file system 508, a non-persistent memory device 510, a persistent memory file system 512, and a persistent memory device 514. According to some examples, the virtual file system module 504 provides the application 502 with a virtual file system having a single file namespace but being based on the non-persistent memory file system 508, associated with the non- persistent memory device 510, and the persistent memory file system 512, associated with the persistent memory device 514. The page cache 506 may support memory mapping of files stored on the non-persistent memory file system 508.
[0046] During an operation in the computing environment 500, the application 502 may open and access a given file stored on the non-persistent memory file system 508 but provided by the virtual file system module 504 as part of a single name space. When the given file is accessed by the application 502 through the virtual file system module 504, the given file may be memory-mapped using the page cache 506. When the given file is memory-mapped, the file may be marked as so by an indicator stored on the non-persistent memory file system 508 in association with the file. The storage of this indicator may be caused by the file migration system 100. Additionally, the storage of the indicator may occur when the file is closed by the application 502 or sometime after.
[0047] After the given file has been closed on the non-persistent memory file system 508, via its associated indicator, the file migration system 100 may detect that the given file has been memory-mapped and may decide, based on a set of criteria (e.g., migration policy), whether the file should be migrated from the non- persistent memory file system 508 to the persistent memory file system 512. When the file migration system 100 determines that the file should be migrated based on the set of criteria, the file migration system 100 may migrate (e.g., copy
or move) the given file from the non-persistent memory file system 508 to the persistent memory file system 512 while maintaining the single file namespace being provided to the application 502 by the virtual file system module 504, thereby avoiding disruption of access to the given file by the application 502 between access sessions. Eventually, based on a set of criteria (e.g., a different set included in the migration policy), the file migration system 100 may decide whether (e.g., when) the given file should be re-migrated (e.g., copied or moved) from the persistent memory file system 512 back to the non-persistent memory file system 508.
[0048] FIG. 6 illustrates an example computer system 600 for migrating a file from a non-persistent memory file system to persistent memory. As shown, the computer system 600 includes a computer-readable medium 602, a processor 604, a persistent memory device 606, and a communications interface 608. In various examples, the components or the arrangement of components of the computer system 600 may differ from what is depicted in FIG. 6. For instance, the computer system 600 can include more or less components than those depicted in FIG. 6.
[0049] The computer-readable medium 602 may be any electronic, magnetic, optical, or other physical storage device that stores executable instructions. For example, the computer-readable medium 602 may be a Random Access Memory (RAM), an Electrically-Erasable Programmable Read-Only Memory (EEPROM), a storage drive, an optical disc, or the like. The computer-readable medium 602 can be encoded to store executable instructions that cause the processor 604 to perform operations in accordance with various examples described herein, in various examples, the computer-readable medium 602 is non-transitory. As shown in FIG. 6, the computer-readable medium 602 includes memory-mapped file detection instructions 610 and persistent memory file migration instructions 612.
[0050] The processor 604 may be one or more central processing units (CPUs), microprocessors, or other hardware devices suitable for retrieval and execution of one or more instructions stored in the computer-readable medium 602. The processor 604 may fetch, decode, and execute the instructions 610 and
612 to enable the computer system 600 to perform operations in accordance with various examples described herein. For some examples, the processor 604 includes one or more electronic circuits comprising a number of electronic components for performing the functionality of one or more of the instructions 610 and 612.
[0051] The persistent memory device 606 may include a phase-change memory device or the like. Based on the persistent memory device 606, the computer system 600 may support a local persistent memory file system at the computer system 600, which may be provided to an application on the computer system 600 as part of a virtual file system.
[0052] The communications interface 608 may facilitate communication between the computer system 600 and a remote network entity, such as another computer system, which may have a remote file system. As described herein, for some examples, a file that is detected as having been memory mapped while being accessed from a remote file system may be migrated from the remote file system to a local persistent memory file system, such as one associated with the persistent memory device 606. Accordingly, instructions 610 and 612 can cause the processor 604 to send or receive network traffic through the communications interface 608 to facilitate migration of a file from the remote file system to the local persistent memory file system, and to facilitate re-migration of the file from the local persistent memory file system to the remote file system.
[0053] The memory-mapped file detection instructions 610 may cause the processor 604 to detect, on a remote file system accessible to the computer system 600 through the communications interface 608, a file that has been memory-mapped while being accessed from the remote file system by the computer system 600. The persistent memory file migration instructions 612 may cause the processor 604 to migrate the file detected by the processor 604 from the remote file system to a persistent memory file system based on the persistent memory device 606 of the computer system 600. As described herein, the remote file system may be a persistent memory file system associated with (e.g., based on) a persistent memory device, or a non-persistent memory file system based
on a non-persistent memory device remote with respect to the computer system 600.
[0054] FIG. 7 illustrates an example method 700 performed by an example computer system to facilitate migration of a file from a non-persistent memory file system to a persistent memory file system. Although execution of the method 700 is described below with reference to the file migration system 200 of FIG. 2 and a computer system, execution of the method 700 by other suitable systems or devices may be possible. The method 700 may be implemented in the form of executable instructions stored on a computer-readable medium or in the form of electronic circuitry.
[0055] in FIG. 7, the method 700 begins at block 702, with the memory-mapped file detection module 202 defecting, on a non-persistent memory file system accessible by a computer system, a file that has been memory-mapped during access by the computer system. At block 704, the method 700 continues with the file migration criteria module 204 determining whether the file detected at block 702 should be migrated from the non-persistent memory file system to a persistent memory file system accessible by the computer system. As described herein, the file migration criteria module 204 performs this determination based on a set of criteria that a trigger for migrating a file from a non-persistent memory file system to a persistent memory file system. At block 706, the method 700 continues with the file migration module 206 migrating the file detected at block 702 from the non-persistent memory file system to the persistent memory file system in response to the determination at block 704.
[0056] FIG. 8 illustrates an example method 800 performed by an example computer system to facilitate migration of a file from a non-persistent memory file system to a persistent memory file system. Although execution of the method 800 is described below with reference to the file migration system 200 of FIG. 2 and a computer system, execution of the method 800 by other suitable systems or devices may be possible. The method 800 may be implemented in the form of executable instructions stored on a computer-readable medium or in the form of electronic circuitry.
[0057] In FIG. 8, the method 800 begins at block 802, which may be similar to block 702 of the method 700 as described above with respect to FIG, 7, Likewise, blocks 804 and 806 may be respectively similar to blocks 704 and 706 of the method 700 as described above with respect to FIG. 7.
[0058] At block 808, the method 800 continues with the file migration criteria module 204 determining whether the file, migrated at block 806, should be re- migrated from the persistent memory fiie system back to the non-persistent memory file system. As described herein, the file migration criteria module 204 performs this determination based on a set of criteria that define a trigger for re- migrating a fiie from a persistent memory file system to a non-persistent memory file system.
[0059] At block 810, the method 800 continues with the file re-migration module 208 re-migrating the fiie, migrated at block 806, from the persistent memory fiie system to the non-persistent memory file system in response to the determination at block 808.
[0060] in the foregoing description, numerous details are set forth to provide an understanding of the subject disclosed herein. However, various examples may be practiced without some or all of these details. Some examples may include modifications and variations from the details discussed above. It is intended that the appended claims cover such modifications and variations.
Claims
1 . A file migration system, comprising:
a memory-mapped file detection module to 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
a file migration module to migrate the file detected by the memory- mapped file detection module from the non-persistent memory file system to a persistent memory file system,
2. The file migration system of claim 1 , wherein the file migration module migrates the file from the non-persistent memory file system to the persistent memory file system based on a set of criteria that determines whether the file should be migrated from the non-persistent memory file system to the persistent memory file system.
3. The file migration system of claim 2, wherein the set of criteria includes a criterion relating to a history of file access associated with the file, or a criterion relating to the persistent memory file system.
4. The file migration system of claim 2, comprising a file migration criteria module to determine, based on the set of criteria, whether the file should be migrated from the non-persistent memory file system to the persistent memory file system.
5. The file migration system of claim 1 , comprising a data re-migration module to migrate the file from the persistent memory file system to the non- persistent memory file system after the file migration module migrates the file from the non-persistent memory file system to a persistent memory file system.
8. The file migration system of claim 5, wherein the data re-migration module migrates the file from the persistent memory file system to the non- persistent memory file system based on a set of criteria that determines whether the file should be re-migrated from the persistent memory file system to the non- persistent memory file system.
7. The file migration system of claim 8, comprising a file migration criteria module to determine, based on the set of criteria, whether the file should be migrated from the persistent memory file system to the non-persistent memory file system, wherein the data re-migration module migrates the file from the persistent memory file system to the non-persistent memory file system based on a determination by the file migration criteria.
8. The file migration system of claim 1 , wherein the file migration system is included by a virtual file system module on the computer system that provides a unified namespace comprising the non-persistent memory file system and the persistent memory system.
9. The file migration system of claim 1 , wherein the persistent memory file system is local to the computer system, and the non-persistent memory file system is remote from the computer system.
10. The file migration system of claim 1 , wherein the memory-mapped file detection module detects that the file has been memory-mapped based on an indicator stored on the non-persistent memory file system.
1 1 . A non-transitory computer readable medium having instructions stored thereon, the instructions being executable by a processor of a computer system, the instructions causing the processor to:
detect, on a remote file system, a file that has been memory-mapped while being accessed from the remote file system by the computer system, wherein the remote file system is remote from the computer system; and
migrate the file detected by the processor from the remote file system to a persistent memory file system.
12. The non-transitory computer readable medium of claim 1 1 , wherein the remote file system is another persistent memory file system.
13. A method, comprising:
detecting, by a computer system, a file that is stored on a non-persistent memory file system and that has been memory-mapped while being accessed from the non-persistent memory file system by the computer system;
determining, by the computer system, whether the file detected by the computer system should be migrated from the non-persistent memory file system to a persistent memory file system; and
in response to the determining that the file should be migrated, migrating, by the computer system, the file from the non-persistent memory file system to the persistent memory file system,
14. The method of claim 13, wherein the determining is based on a set of criteria that determines whether the file should be migrated from the non- persistent memory file system to the persistent memory file system,
15. The method of claim 13, comprising:
determining, by the computer system, whether the file should be re- migrated from the persistent memory file system to the non-persistent memory file system; and
in response to the determining that the file should be re-migrated, migrating, by the computer system, the file from the persistent memory file system to the non-persistent memory file system.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/507,185 US10824362B2 (en) | 2015-03-27 | 2015-03-27 | File migration to persistent memory |
| PCT/US2015/022946 WO2016159930A1 (en) | 2015-03-27 | 2015-03-27 | File migration to persistent memory |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/US2015/022946 WO2016159930A1 (en) | 2015-03-27 | 2015-03-27 | File migration to persistent memory |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016159930A1 true WO2016159930A1 (en) | 2016-10-06 |
Family
ID=57005225
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2015/022946 Ceased WO2016159930A1 (en) | 2015-03-27 | 2015-03-27 | File migration to persistent memory |
Country Status (2)
| Country | Link |
|---|---|
| US (1) | US10824362B2 (en) |
| WO (1) | WO2016159930A1 (en) |
Families Citing this family (18)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10824342B2 (en) | 2014-02-28 | 2020-11-03 | Hewlett Packard Enterprise Development Lp | Mapping mode shift between mapping modes that provides continuous application access to storage, wherein address range is remapped between said modes during data migration and said address range is also utilized bypass through instructions for direct access |
| CN107209720B (en) * | 2015-04-02 | 2020-10-13 | 慧与发展有限责任合伙企业 | System and method for page caching and storage medium |
| US10303477B2 (en) * | 2015-06-26 | 2019-05-28 | Intel Corporation | Persistent commit processors, methods, systems, and instructions |
| US10296580B1 (en) | 2015-09-18 | 2019-05-21 | Amazon Technologies, Inc. | Delivering parsed content items |
| US10127210B1 (en) | 2015-09-25 | 2018-11-13 | Amazon Technologies, Inc. | Content rendering |
| US10691750B1 (en) * | 2015-09-28 | 2020-06-23 | Amazon Technologies, Inc. | Browser configured to efficiently store browsing session state |
| US10601894B1 (en) | 2015-09-28 | 2020-03-24 | Amazon Technologies, Inc. | Vector-based encoding for content rendering |
| US10341345B1 (en) | 2015-12-15 | 2019-07-02 | Amazon Technologies, Inc. | Network browser configuration |
| US10095506B2 (en) | 2016-02-12 | 2018-10-09 | Nutanix, Inc. | Virtualized file server data sharing |
| US11568073B2 (en) | 2016-12-02 | 2023-01-31 | Nutanix, Inc. | Handling permissions for virtualized file servers |
| US11294777B2 (en) * | 2016-12-05 | 2022-04-05 | Nutanix, Inc. | Disaster recovery for distributed file servers, including metadata fixers |
| KR102727610B1 (en) * | 2018-08-02 | 2024-11-07 | 삼성전자주식회사 | Storage device providing virtual memory region, electronic system including the same and method of operating the same |
| US10996975B2 (en) * | 2019-08-22 | 2021-05-04 | Micron Technology, Inc. | Hierarchical memory systems |
| US12541431B2 (en) | 2019-12-31 | 2026-02-03 | Nutanix, Inc. | Parallel change file tracking in a distributed file server virtual machine (FSVM) architecture |
| CN113655949B (en) * | 2020-06-15 | 2023-12-01 | 中兴通讯股份有限公司 | A PM-based database page caching method and system |
| US11947817B2 (en) | 2021-11-15 | 2024-04-02 | Microstrategy Incorporated | Memory mapping to enhance data cube performance |
| EP4617883A4 (en) * | 2022-12-14 | 2026-03-04 | Samsung Electronics Co Ltd | ELECTRONIC DEVICE AND MEMORY MANAGEMENT METHOD |
| US12461832B2 (en) | 2023-09-27 | 2025-11-04 | Nutanix, Inc. | Durable handle management for failover in distributed file servers |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6473845B1 (en) * | 2000-09-28 | 2002-10-29 | Hewlett-Packard Company | System and method for dynamically updating memory address mappings |
| US20050125456A1 (en) * | 2003-12-09 | 2005-06-09 | Junichi Hara | File migration method based on access history |
| EP2246786A1 (en) * | 2009-04-27 | 2010-11-03 | Sim-Industries B.V. | Managing a shared memory region |
| US20110153908A1 (en) * | 2009-12-23 | 2011-06-23 | Intel Corporation | Adaptive address mapping with dynamic runtime memory mapping selection |
| US20150081998A1 (en) * | 2009-10-20 | 2015-03-19 | Micron Technology, Inc. | Block-based storage device with a memory-mapped interface |
Family Cites Families (54)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH06188937A (en) | 1992-12-16 | 1994-07-08 | Canon Inc | Data processing device |
| US6202124B1 (en) | 1998-05-05 | 2001-03-13 | International Business Machines Corporation | Data storage system with outboard physical data transfer operation utilizing data path distinct from host |
| US6321233B1 (en) | 1998-12-15 | 2001-11-20 | Micron Technology, Inc. | Apparatus for controlling pipelined memory access requests |
| US6901481B2 (en) | 2000-04-14 | 2005-05-31 | Stratus Technologies Bermuda Ltd. | Method and apparatus for storing transactional information in persistent memory |
| US6691245B1 (en) | 2000-10-10 | 2004-02-10 | Lsi Logic Corporation | Data storage with host-initiated synchronization and fail-over of remote mirror |
| US7032228B1 (en) | 2001-03-01 | 2006-04-18 | Emc Corporation | Common device interface |
| US20020194558A1 (en) | 2001-04-10 | 2002-12-19 | Laung-Terng Wang | Method and system to optimize test cost and disable defects for scan and BIST memories |
| US7222348B1 (en) | 2002-12-16 | 2007-05-22 | Unisys Corporation | Universal multi-path driver for storage systems |
| JP2005018193A (en) | 2003-06-24 | 2005-01-20 | Hitachi Ltd | Disk device interface command control method and computer system |
| US7644239B2 (en) | 2004-05-03 | 2010-01-05 | Microsoft Corporation | Non-volatile memory cache performance improvement |
| US7330938B2 (en) | 2004-05-18 | 2008-02-12 | Sap Ag | Hybrid-cache having static and dynamic portions |
| US8407396B2 (en) | 2004-07-30 | 2013-03-26 | Hewlett-Packard Development Company, L.P. | Providing block data access for an operating system using solid-state memory |
| US7281104B1 (en) | 2005-03-21 | 2007-10-09 | Acronis Inc. | System and method for online data migration |
| US7574621B2 (en) | 2006-03-14 | 2009-08-11 | Lenovo (Singapore) Pte Ltd. | Method and system for identifying and recovering a file damaged by a hard drive failure |
| GB0613192D0 (en) | 2006-07-01 | 2006-08-09 | Ibm | Methods, apparatus and computer programs for managing persistence |
| US7774556B2 (en) | 2006-11-04 | 2010-08-10 | Virident Systems Inc. | Asymmetric memory migration in hybrid main memory |
| US8260841B1 (en) | 2007-12-18 | 2012-09-04 | American Megatrends, Inc. | Executing an out-of-band agent in an in-band process of a host system |
| US7953919B2 (en) | 2007-12-21 | 2011-05-31 | Spansion Llc | Physical block addressing of electronic memory devices |
| US8352671B2 (en) | 2008-02-05 | 2013-01-08 | Spansion Llc | Partial allocate paging mechanism using a controller and a buffer |
| US8275945B2 (en) | 2008-02-05 | 2012-09-25 | Spansion Llc | Mitigation of flash memory latency and bandwidth limitations via a write activity log and buffer |
| US8180981B2 (en) | 2009-05-15 | 2012-05-15 | Oracle America, Inc. | Cache coherent support for flash in a memory hierarchy |
| US8219758B2 (en) | 2009-07-10 | 2012-07-10 | Apple Inc. | Block-based non-transparent cache |
| US8468293B2 (en) | 2009-07-24 | 2013-06-18 | Apple Inc. | Restore index page |
| US8174520B2 (en) | 2009-08-28 | 2012-05-08 | Himax Technologies Limited | Driving circuit of an LCD panel and data transmission method thereof |
| US9158788B2 (en) | 2009-12-16 | 2015-10-13 | International Business Machines Corporation | Scalable caching of remote file data in a cluster file system |
| US9411517B2 (en) | 2010-08-30 | 2016-08-09 | Vmware, Inc. | System software interfaces for space-optimized block devices |
| TWI434175B (en) | 2010-09-27 | 2014-04-11 | Silicon Motion Inc | Method for performing block management, and associated memory device and controller thereof |
| CN103262054B (en) | 2010-12-13 | 2015-11-25 | 桑迪士克科技股份有限公司 | For automatically submitting device, the system and method for storer to |
| US20120297147A1 (en) | 2011-05-20 | 2012-11-22 | Nokia Corporation | Caching Operations for a Non-Volatile Memory Array |
| US9021226B2 (en) | 2011-06-10 | 2015-04-28 | International Business Machines Corporation | Moving blocks of data between main memory and storage class memory |
| US8856191B2 (en) | 2011-08-01 | 2014-10-07 | Infinidat Ltd. | Method of migrating stored data and system thereof |
| US9417821B2 (en) | 2011-09-30 | 2016-08-16 | Intel Corporation | Presentation of direct accessed storage under a logical drive model |
| WO2013048483A1 (en) | 2011-09-30 | 2013-04-04 | Intel Corporation | Platform storage hierarchy with non-volatile random access memory having configurable partitions |
| US9529708B2 (en) | 2011-09-30 | 2016-12-27 | Intel Corporation | Apparatus for configuring partitions within phase change memory of tablet computer with integrated memory controller emulating mass storage to storage driver based on request from software |
| WO2013055312A1 (en) | 2011-10-10 | 2013-04-18 | Intel Corporation | Host controlled hybrid storage device |
| US20130111103A1 (en) | 2011-10-28 | 2013-05-02 | International Business Corporation | High-speed synchronous writes to persistent storage |
| US8756458B2 (en) | 2011-12-12 | 2014-06-17 | Apple Inc. | Mount-time reconciliation of data availability |
| US20130185503A1 (en) | 2012-01-12 | 2013-07-18 | Vigneshwara Bhatta | Method for metadata persistence |
| US9223686B1 (en) | 2012-02-01 | 2015-12-29 | Amazon Technologies, Inc. | Cache memory data storage control system and method |
| KR20150098649A (en) | 2012-12-22 | 2015-08-28 | 퀄컴 인코포레이티드 | Reducing power consumption of volatile memory via use of non-volatile memory |
| US9430386B2 (en) | 2013-03-15 | 2016-08-30 | Bitmicro Networks, Inc. | Multi-leveled cache management in a hybrid storage system |
| US20150081644A1 (en) * | 2013-07-16 | 2015-03-19 | Openpeak Inc. | Method and system for backing up and restoring a virtual file system |
| US10002077B2 (en) | 2014-01-31 | 2018-06-19 | Hewlett Packard Enterprise Development Lp | Persistent memory controller based atomicity assurance |
| US10824342B2 (en) | 2014-02-28 | 2020-11-03 | Hewlett Packard Enterprise Development Lp | Mapping mode shift between mapping modes that provides continuous application access to storage, wherein address range is remapped between said modes during data migration and said address range is also utilized bypass through instructions for direct access |
| JP2015170160A (en) * | 2014-03-07 | 2015-09-28 | 富士通株式会社 | Information processing system, information processing apparatus, information processing program, and information processing method |
| JP6265041B2 (en) * | 2014-05-15 | 2018-01-24 | 富士通株式会社 | Compilation program, compilation method, and compilation apparatus |
| US9383926B2 (en) | 2014-05-27 | 2016-07-05 | Kabushiki Kaisha Toshiba | Host-controlled garbage collection |
| US9652391B2 (en) | 2014-12-30 | 2017-05-16 | Arteris, Inc. | Compression of hardware cache coherent addresses |
| US9690716B2 (en) | 2015-02-13 | 2017-06-27 | Intel Corporation | High performance persistent memory for region-centric consistent and atomic updates |
| CN107209720B (en) | 2015-04-02 | 2020-10-13 | 慧与发展有限责任合伙企业 | System and method for page caching and storage medium |
| US9886210B2 (en) | 2015-06-09 | 2018-02-06 | Ultrata, Llc | Infinite memory fabric hardware implementation with router |
| US9836232B1 (en) | 2015-09-30 | 2017-12-05 | Western Digital Technologies, Inc. | Data storage device and method for using secondary non-volatile memory for temporary metadata storage |
| US9977758B1 (en) | 2015-10-19 | 2018-05-22 | Xilinx, Inc. | Device profiling for tuning OpenCL applications on programmable integrated circuits |
| US10705972B2 (en) * | 2016-09-13 | 2020-07-07 | Advanced Micro Devices, Inc. | Dynamic adaptation of memory page management policy |
-
2015
- 2015-03-27 WO PCT/US2015/022946 patent/WO2016159930A1/en not_active Ceased
- 2015-03-27 US US15/507,185 patent/US10824362B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6473845B1 (en) * | 2000-09-28 | 2002-10-29 | Hewlett-Packard Company | System and method for dynamically updating memory address mappings |
| US20050125456A1 (en) * | 2003-12-09 | 2005-06-09 | Junichi Hara | File migration method based on access history |
| EP2246786A1 (en) * | 2009-04-27 | 2010-11-03 | Sim-Industries B.V. | Managing a shared memory region |
| US20150081998A1 (en) * | 2009-10-20 | 2015-03-19 | Micron Technology, Inc. | Block-based storage device with a memory-mapped interface |
| US20110153908A1 (en) * | 2009-12-23 | 2011-06-23 | Intel Corporation | Adaptive address mapping with dynamic runtime memory mapping selection |
Also Published As
| Publication number | Publication date |
|---|---|
| US10824362B2 (en) | 2020-11-03 |
| US20170329554A1 (en) | 2017-11-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10824362B2 (en) | File migration to persistent memory | |
| US11822813B2 (en) | Storage device, operation method of storage device, and storage system using the same | |
| US10657101B2 (en) | Techniques for implementing hybrid flash/HDD-based virtual disk files | |
| US10318324B2 (en) | Virtualization support for storage devices | |
| US9141529B2 (en) | Methods and apparatus for providing acceleration of virtual machines in virtual environments | |
| KR101480659B1 (en) | Two-level system main memory | |
| US9182927B2 (en) | Techniques for implementing hybrid flash/HDD-based virtual disk files | |
| CN114610232A (en) | Storage system, memory management method and management node | |
| CN102708060B (en) | Method, device and system for accessing image files | |
| TWI696188B (en) | Hybrid memory system | |
| KR20170133247A (en) | Address based multi-stream storage device access | |
| KR102443600B1 (en) | hybrid memory system | |
| CN108694101B (en) | Persistent caching of memory-side cache contents | |
| Li et al. | Deduplication-based energy efficient storage system in cloud environment | |
| US10684954B2 (en) | Page cache on persistent memory | |
| KR20220038191A (en) | hierarchical memory system | |
| KR102440665B1 (en) | hierarchical memory device | |
| CN111868679A (en) | Hybrid memory system | |
| KR102863417B1 (en) | Cache architecture for storage devices | |
| US9836240B2 (en) | Protection for memory deduplication by copy-on-write | |
| KR102403063B1 (en) | Mobile device and management method of mobile device | |
| US10346193B1 (en) | Efficient placement of virtual machines based on cache hit ratio | |
| US9152346B2 (en) | Storage and retrieval of high importance pages in an active memory sharing environment | |
| CN115480697A (en) | Data processing method and device, computer equipment and storage medium | |
| KR20220052347A (en) | hierarchical memory system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15887941 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 15507185 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15887941 Country of ref document: EP Kind code of ref document: A1 |