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

A method for optimizing the use efficiency of a file descriptor by a cluster file system

A cluster file system, file descriptor technology, applied in special data processing applications, instruments, computing and other directions, can solve problems such as uncontrollable, achieve the effect of eliminating occupancy and improving use efficiency

Active Publication Date: 2019-06-28
KUSN JIUHUA ELECTRONICS EQUIP FACTORY
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Disadvantages of existing technical solutions: the acquisition and release of file descriptors depends entirely on the application program. For cluster file systems, commands can only be passed and executed but cannot be controlled.
If the file descriptor is used improperly in the application, the cluster file system cannot effectively avoid problems

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
  • A method for optimizing the use efficiency of a file descriptor by a cluster file system
  • A method for optimizing the use efficiency of a file descriptor by a cluster file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] according to figure 1 A method for optimizing the use efficiency of file descriptors in a cluster file system includes a distributed cluster file system, the distributed cluster file system includes a stacked architecture and multi-layer functional layers, and the stacked architecture is connected to the top connection There is a client and a server disk connected to the bottom end of the connection, the multi-layer functional layer includes an application program, an open file descriptor optimization layer and a storage medium, and the method steps of the cluster file system optimization file descriptor usage efficiency are as follows:

[0027] S101. The application sends an open file operation, which directly reaches the open file descriptor optimization layer in the cluster file system, and does not directly open the corresponding file on the storage medium;

[0028] S102. The file descriptor optimization layer of the cluster file system saves file related informatio...

Embodiment 2

[0035] according to figure 2 A method for optimizing the use efficiency of file descriptors in a cluster file system is shown. File operations are divided into two types. The specific method steps are as follows:

[0036] S101. For the first operation command: at the beginning, the application sends an open file operation, which directly reaches the open file descriptor optimization layer in the cluster file system, and the open file descriptor optimization layer receives the open command, which is not a real Go directly to the storage medium to execute the open operation on the file to obtain the file descriptor, and check whether the corresponding inode already exists to open the file;

[0037] S102. If the file has not been opened, the file descriptor optimization layer of the cluster file system saves the file related information, and saves the information in the structure struct ob_fd_t describing the file information, and the operation is successfully returned to the ap...

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 for optimizing the use efficiency of a file descriptor by a cluster file system, particularly relates to the field of cluster file systems. The system comprises a distributed cluster file system, the distributed cluster file system comprises a stack-type architecture and a multi-layer functional layer, the top end of the stack-type architecture is connected with aclient, the bottom end of the stack-type architecture is connected with a server disk, and the multi-layer functional layer comprises an application program, an open file descriptor optimization layerand a storage medium. The invention provides an application for delaying a file descriptor on a cluster file system level, the occupation condition that the device is not used for a long time after application is completely eradicated. Compared with the prior art, the idle time from application of the file descriptors to real use of the file descriptors is shortened, the file descriptors are obtained only when the files need to be operated truly, the risk of being exhausted is reduced, the use efficiency of the file descriptors is improved, and the problem that for a cluster file system, release of the file descriptors cannot be controlled is solved.

Description

technical field [0001] The invention relates to the technical field of cluster file systems, and more specifically, the invention relates to a method for optimizing the use efficiency of file descriptors by a cluster file system. Background technique [0002] A cluster file system refers to a file system that runs on multiple computers and communicates with each other in a certain way to integrate and virtualize all storage space resources in the cluster and provide file access services externally. It is different from local file systems such as NTFS and EXT. The former is for scalability, while the latter runs in a stand-alone environment and purely manages the mapping between blocks and files and file attributes. [0003] File descriptors For the Linux kernel, all open files are operated through file descriptors. A file descriptor is a non-negative integer returned by the Linux kernel to the application. When opening an existing file or creating a new file, the Linux ker...

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): G06F16/182G06F16/185
Inventor 陈国平吕康东童晖朱明胜李迪孙昊戎军飞
Owner KUSN JIUHUA ELECTRONICS EQUIP FACTORY
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