File request processing method and system

A technology for processing files and processing threads. It is used in electrical digital data processing, special data processing applications, resource allocation, etc. It can solve the problem of low system processing performance, multi-level cache performance, and computer hardware. question

Active Publication Date: 2015-11-25
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF8 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] On the one hand, CPU locks and core locks cause concurrency to drop, and the system processing performance is not high; on the other hand, metadata data processing performs operations such as metadata retrieval and modification in a large memory space, which will cause the performance of the core hardware multi-level cache to be very low. Difficult to perform, TLB performance and cache performance are poor, and ultimately it is difficult for computer hardware to effectively perform

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
  • File request processing method and system
  • File request processing method and system
  • File request processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0036] The invention provides a method for processing file requests, figure 1 A flowchart showing an embodiment of the method for processing file requests of the present invention, including:

[0037] Step S101: dividing the total memory space into multiple memory pools according to a first preset rule;

[0038] The first preset rule is to divide the total memory space equally according to the preset number of memory pools to obtain multiple memory pools with...

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 file request processing method and system. A total memory space is divided into multiple memory pools according to a first preset rule, each memory pool is bound to one corresponding metadata processing thread, each metadata processing thread is bound to one corresponding service core, correspondence relations between all metadata and all the metadata processing threads are established according to a second preset rule, a directory table is generated according to each metadata identifier and the corresponding thread number, a metadata request is accepted, metadata identifiers of all target metadata in the metadata request are determined, target metadata processing threads corresponding to the target metadata are searched through the directory table according to the metadata identifiers of the target metadata, all the target metadata are stored to the memory pools bound to the corresponding target metadata processing threads respectively, and multi-thread cache performance and memory access performance are improved.

Description

technical field [0001] The invention relates to the field of metadata cache, in particular to a method and system for processing file requests. Background technique [0002] With the rapid development of cloud storage applications, especially the rapid development of Internet services, the application of massive small files puts forward higher requirements on the metadata performance of distributed file systems. In general, a metadata cluster manages a large amount of file metadata information, requiring the use of a large memory capacity space. In this way, there will be competition and serious cache performance problems in the use of memory space by multiple CPUs and multi-cores. [0003] On the one hand, CPU locks and core locks cause concurrency to decrease, and the system processing performance is not high; on the other hand, metadata data processing performs metadata retrieval and modification operations in a large memory space, which will cause the core hardware multi...

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): G06F9/50G06F17/30
CPCG06F16/00
Inventor 李雪生张延良
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products