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

Microkernel-based extensible file system and file access method

A file system and file access technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as unbalanced load, mismatched service capabilities, poor program scalability, etc., and achieve the effect of avoiding most locks

Inactive Publication Date: 2016-11-09
CHANGSHU INSTITUTE OF TECHNOLOGY
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When reading and writing files in parallel, there is also a huge contention overhead for the shared block cache in the file system
In addition to the global lock, each block cache entry is controlled by a state value (equivalent to a mutex) to avoid blocks being written at the same time, which makes programs with more write operations less scalable
[0006] At the same time, the unbalanced load between multiple file service processes or the mismatch between user requests and the service capabilities of the service process will also cause unreasonable use of computing resources, resulting in a decline in the overall performance of the file 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
  • Microkernel-based extensible file system and file access method
  • Microkernel-based extensible file system and file access method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The present invention will be further described below in conjunction with the examples, but not as a limitation of the present invention.

[0027] Such as figure 1 As shown, the microkernel-based scalable file system involved in this embodiment includes:

[0028] Disk service: a block device driver that uses direct memory access to load data on the disk into memory or write memory data back to disk;

[0029] System tasks: run in the kernel mode, used to copy file data between the user process and the file service process, and help the disk service execute privileged IO instructions in the kernel mode when it needs to access the disk;

[0030] Directory service process and multiple file service processes: access directory or file data in the disk by interacting with system tasks and disk services, and provide file services for user processes. In the master-slave structure, the directory service process can be regarded as the master service process of the present invent...

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 microkernel-based extensible file system. The system comprises a disk service, a system service, a catalog service process and a plurality of file service processes, wherein the disk service is used for reading and writing disks; the system service is used for copying file data between a user process and the file service processes, and helping the disk service to execute a kernel-mode privilege IO instruction; the catalog service process works on a single processing core to manage global metadata, and is provided with block cache for storing file attribute information inode and catalog information dentry, receiving all the file processing requests of the user process, executing catalog traversal, processing a request of operating the metadata in the file processing requests, and routing a request of reading and writing files to the file service processes; the file service processes are used for processing the request of reading and writing files, and are provided with a cache pool for caching data file blocks. The invention furthermore discloses a file access method of the microkernel-based extensible file system. According to the microkernel-based extensible file system and the file access method, most of the lock contention expenditure can be avoided, and the load balance and elastic extension of the file service processes can be realized.

Description

technical field [0001] The invention relates to a file system and a file access method, in particular to a microkernel-based scalable file system and a file access method, belonging to the technical field of data storage access. Background technique [0002] For web servers or large multi-core workstations, file system parallelism is critical. Especially with the widespread application of distributed storage systems in the era of cloud computing, in a multi-core cloud storage system, for the chunk service process on each core, the efficiency of chunk read and write becomes a key factor, because it is usually necessary to Handle reading and writing of a large number of files in a short period of time. [0003] The current traditional file system can work well when the number of cores is small, but due to the lock contention overhead, its performance will be greatly degraded as the number of parallel code streams increases. Its lock competition overhead mainly comes from the...

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/148
Inventor 钱振江汤力张雪伍周蕾王剑乐德广
Owner CHANGSHU INSTITUTE OF TECHNOLOGY
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