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

A file system and method for improving web server performance

A file system and server technology, used in instruments, special data processing applications, electrical digital data processing, etc., can solve problems such as inability to store large file data continuously, disk fragmentation of small file data, IO performance and application performance degradation, etc. Achieve the effect of reducing the number of IO operations, improving IO performance, and reducing the time for head movement

Inactive Publication Date: 2017-11-21
SHANGHAI JIAOTONG UNIV
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of the above-mentioned shortcomings of the prior art, the purpose of the present invention is to provide a file system and method for improving the performance of the web server, which is used to solve the problem that large file data cannot be continuously stored on the disk in the prior art, and small file data will be lost. Brings disk fragmentation, as well as IO performance and application performance degradation

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 file system and method for improving web server performance
  • A file system and method for improving web server performance
  • A file system and method for improving web server performance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] A file system that improves the performance of the web server provided by this embodiment, such as figure 1 As shown, the file system includes disk space 1. The disk space 1 includes a disk metadata area 11 and a disk data area 12, and the disk metadata area 11 includes a file system superblock 111, a file directory entry bitmap 112, a volume information array 113, and a file directory entry 114; wherein, The file system super block 111 is used to describe the information of the file system; the file directory entry bitmap 112 is used to illustrate the bitmap information through the bit value; the volume information array 113 is used to describe the volume information; the file directory entry 114 refers to the data structure of some information stored in the file of the file system, the information stored in the file directory item includes the mapping relationship of , and the file directory item 114 is cached The memory is organized into a Hash linked list array, su...

Embodiment 2

[0077] The present invention provides a method for improving the performance of a web server, the method comprising:

[0078] Divide disk space 1 into disk metadata area 11 and disk data area 12;

[0079] The disk metadata area is divided into a file system super block 111, a file directory entry bitmap 112, a volume information array 113, and a file directory entry 114; wherein, the file system super block 111 describes the information of the file system; the file The directory entry bitmap 112 illustrates bitmap information by bit values; the volume information array 113 describes the volume information; the file directory entry 114 stores the data structure of the file information, and organizes the file directory entry 114 into a Hash linked list array , searching the storage location of the file on the disk space in the Hash linked list array according to the file name;

[0080] Divide the disk data area 12 into multiple volumes 121 of fixed size, and at the same time, d...

Embodiment 3

[0111] The present invention provides a method for improving the performance of a web server, the method comprising:

[0112] Divide disk space 1 into disk metadata area 11 and disk data area 12;

[0113] The disk metadata area is divided into a file system super block 111, a file directory entry bitmap 112, a volume information array 113, and a file directory entry 114; wherein, the file system super block 111 describes the information of the file system; the file The directory entry bitmap 112 illustrates bitmap information by bit values; the volume information array 113 describes the volume information; the file directory entry 114 stores the data structure of the file information, and organizes the file directory entry 114 into a Hash linked list array , searching the storage location of the file on the disk space in the Hash linked list array according to the file name;

[0114] Divide the disk data area 12 into multiple volumes 121 of fixed size, and at the same time, d...

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 provides a file system and a method for improving performances of a web server. The file system comprises a disc space; the disc space comprises a disc metadata area and a disc data area; the disc metadata area comprise a file system supper block, a file directory entry bitmap, a volume information array and a file directory entry; the disc data area comprises a plurality of constant-capacity volumes, wherein each volume comprises a plurality of same-capacity file disc blocks, and each file disc block is used for storing small files in the web server. According to the file system and the method for improving the performances of the web server, which are disclosed by the invention, the disc space management is simplified by aiming at the application environment where the web server saves a great number of small files, so that the file data is continuously stored, and disc fragments are avoided; the disc operation times in file data reading and writing processes are reduced, the API interaction times of the file system are reduced, and the performances of the file system are effectively improved; according to a Hash chain table array, the file positioning process is simplified and accelerated; an IO operation of the file system utilizes an asynchronous mode, so that the problem that the application program is blocked when the IO operation is synchronized is eliminated.

Description

technical field [0001] The invention belongs to the field of computer hardware management, relates to a file system and a method, in particular to a file system and a method for improving the performance of a web server. Background technique [0002] In the operating system, the file system plays a very important role. With the continuous improvement of computer hardware performance (such as CPU and bus bandwidth), the hard disk is increasingly becoming the bottleneck of system performance. The file system is used to manage the data on the disk. How to efficiently manage the disk data and give full play to the performance of the disk device has always been the goal pursued by the file system. [0003] Earlier file systems such as ext2 divided the disk into blocks according to a fixed size such as 1024 bytes, 2048 bytes, 4096 bytes, etc., and the file data was stored in the block, which resulted in the files exceeding the block size being unable to be stored continuously, sma...

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 Patents(China)
IPC IPC(8): G06F17/30
CPCG06F16/172
Inventor 李小勇丁凯单蓉胜
Owner SHANGHAI JIAOTONG 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