Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and module for improving transaction performance of F2FS file system and storage system

A file system and transaction technology, which is applied in methods to improve the transaction performance of F2FS file system, modules and storage systems, can solve the problems of negative system performance and impact, so as to avoid negative impact, improve transaction performance, and optimize transaction submission process Effect

Active Publication Date: 2020-08-07
HUAZHONG UNIV OF SCI & TECH
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the user submits the transaction, F2FS writes back and persists all the data received during the transaction. The process is as follows figure 1 shown, according to figure 1 It can be seen that in order to ensure the atomicity of transactions, F2FS needs to add PREFLUSH and FUA (that is, set the PREFLUSH flag and FUA flag to 1) to mark the BIO, which will have a negative impact on the performance of the entire system.

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
  • Method and module for improving transaction performance of F2FS file system and storage system
  • Method and module for improving transaction performance of F2FS file system and storage system
  • Method and module for improving transaction performance of F2FS file system and storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0045] In the present invention, the terms "first", "second" and the like (if any) in the present invention and drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0046] Before explaining the technical scheme of the present invention in detail, the physical address management method of the F2FS file system and the workflow o...

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 invention discloses a method and a module for improving transaction performance of an F2FS file system and a storage system, belongs to the field of file systems, and comprises the following steps: when a transaction is submitted, traversing dirty data pages of a written file F in a memory, and then traversing dirty metadata pages of the F; for the traversed dirty data / metadata page, correspondingly allocating a physical page to the current data / metadata segment of the memory; allocating an extra space to the current dirty data / metadata page in the memory, recording the physical page address allocated last time in the extra space, and recording the physical page address corresponding to the dirty data / metadata page if the dirty data / metadata page is the first traversed page; adding thedirty data / metadata page together with the additional space to the corresponding BIO; after the dirty data page is traversed, submitting the corresponding BIO; and after traversal of the dirty metadata page is finished, adding an fsync identifier to the last dirty metadata page, submitting the corresponding BIO and directly finishing the operation. The transaction performance of the F2FS file system can be effectively improved.

Description

technical field [0001] The invention belongs to the field of file systems, and more specifically relates to a method, module and storage system for improving transaction performance of an F2FS file system. Background technique [0002] Open channel solid-state disk (Open-ChannelSSD) is a new type of solid-state disk device. Different from traditional solid-state disk devices, open-channel solid-state disks do not include a flash conversion layer, and the physical address of the flash memory is handed over to the host for management. The commands sent by the host driver to the open-channel solid-state disk directly process the physical address of the flash memory. Existing flash memory chips often provide an extra storage space for each flash memory page, which is called an out-of-band area (Out of Band, OOB). The OOB and the physical page of the flash memory are read and written at the same time, and can be used to store metadata. The open channel SSD allows the device to ...

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
IPC IPC(8): G06F11/14G06F16/11G06F16/172G06F16/18
CPCG06F11/1474G06F11/1469G06F16/122G06F16/172G06F16/1847Y02D10/00
Inventor 冯丹童薇覃鸿巍赵雨桐李培昊
Owner HUAZHONG UNIV OF SCI & TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More