Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

NVRAM-based method for efficiently constructing file system

A file system and construction method technology, applied in the field of computer systems, can solve the problems of reduced file system write performance, asymmetric read and write performance, and slow write operation performance, so as to avoid the overhead of copying and traditional software layers and improve overall performance , Improve the effect of writing performance

Active Publication Date: 2016-03-16
TSINGHUA UNIV
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, one of the main disadvantages of existing NVRAM memory devices is that the read and write performance is asymmetrical, and the write operation performance is an order of magnitude slower than the read operation performance
Therefore, copying file data directly between the user cache and the storage device will reduce the write performance of the file system, which will also lead to suboptimal file system performance.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • NVRAM-based method for efficiently constructing file system
  • NVRAM-based method for efficiently constructing file system
  • NVRAM-based method for efficiently constructing file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0026] A method for constructing an efficient file system based on NVRAM according to an embodiment of the present invention will be described below with reference to the accompanying drawings.

[0027] figure 1 It is a flowchart of a method for constructing an efficient file system based on NVRAM according to an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps:

[0028] Step S1: Determine the type of file operation in the file system, wherein the type of file operation includes: ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides an NVRAM-based method for efficiently constructing a file system. The method comprises the following steps: S1: determining a type of a file operation of a file system, wherein the type of the file operation comprises: a file reading operation of a file, a non-persistent file writing operation, and a persistent file writing operation; and S2: if the type of the file operation is the non-persistent file writing operation, the file system writing contents of the non-persistent file writing operation into a dynamic random access memory (DRAM), updating a corresponding DRAM cache block index, and asynchronously flashing back the contents of the non-persistent file writing operation into a non-volatile random access memory (NVRAM) at a preset time point; and if the type of the file operation is not the non-persistent file writing operation, the file system directly copying related data between the NVRAM / DRAM and a user cache. According to the method, not only extra copy overheads and conventional software layer overheads can be avoided, but also write performance of the DRAM can be fully utilized to improve write performance of the NVRAM file system, thereby improving overall performance of the system.

Description

technical field [0001] The invention relates to the technical field of computer systems, in particular to an efficient file system construction method based on NVRAM. Background technique [0002] Novel NVRAM (Non-VolatileRandomAccessMemory, non-volatile random access memory) has the following characteristics: (1). It has non-volatile characteristics; (2). Compared with traditional DRAM (DynamicRandomAccessMemory, dynamic random access memory), its storage Higher density; (3). In terms of read and write performance, it is several orders of magnitude higher than traditional flash memory and hard disk, and the read and write performance is close to DRAM; (4). Compared with flash memory, it has a higher write life. These advantages allow system designers to build efficient persistent storage systems on top of NVRAM. [0003] Because NVRAM has efficient read and write performance, researchers in recent years have found that traditional disk and flash-based file systems are no l...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/178G06F16/172G06F16/1847G06F16/11G06F16/1767G06F3/061G06F3/0659G06F3/0679
Inventor 舒继武欧佳欣陆游游
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products