File systems accessing register dynamic collection method

A technology for access records and file systems, applied in hardware monitoring, special data processing applications, instruments, etc., can solve problems such as inability to collect file system internal operations, loss, interrupt user applications, etc., to prevent the total capacity from being too large and reduce The number of times, the effect of improving usability

Inactive Publication Date: 2008-07-09
TSINGHUA UNIV
View PDF0 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The traditional access record collection method has some defects: some collectors collect access records at the system call layer instead of the file system layer, and they cannot collect the internal operations of the file system. For some applications that do not access files through the system call layer, Like NFS servers, they can't do anything
Although som...

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 systems accessing register dynamic collection method
  • File systems accessing register dynamic collection method
  • File systems accessing register dynamic collection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] The method for dynamically collecting file access records is realized between the virtual file system layer (VFS) of the Linux operating system and the underlying file system, and can be used for collecting access information of any underlying file system.

[0071] Structural diagram of the present invention as shown in Figure 1, has following module:

[0072] Module (1). The file system operation interception module is divided into three sub-modules

[0073] Module (1.1). Super block operation interception module: used to intercept the super operation set by the super block operation function table of the super block used to store the set file system information in the underlying file system, which contains at least the super block read Write operations, the file system mount and unmount operations, and inode creation and deletion operations.

[0074] Module (1.2). Index node operation interception module: the index node operation interception module is used to interc...

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 dynamic acquisition method of file system access record, belonging to the field of storage system testing and performance analysis. The invention is characterized in that a kernel module can be loaded without the need of unloading the old file system, thus not needing to interrupt the working application. A file system operation interception module can dynamically intercept the underlayer file system operation by a substitution of corresponding functions in the interception module. While executing the underlayer file system operation, the functions output the operation type and parameters to an access record output module which compresses the file record and outputs a plurality of operation information at one time in a output record way of register. The access record output module controls the output file size to prevent the problems of difficult read and write and exceeding file system restriction. An access record file management module collects additional information and packages and transfers the access record according to the assignment of users, thus being convenient for users to manage. The test shows that the collection of access record has little impact on the application.

Description

technical field [0001] The method for dynamically collecting file system access records belongs to the field of test and performance analysis of storage systems, and particularly relates to the field of file system operation tracking and analysis. Background technique [0002] File system access record collection technology refers to recording the type, occurrence time and parameters of operations in the file system into log files for future analysis and testing. The main purposes of the file system access records are as follows: First, the access records help to design better hardware and software, find the bottleneck of the file system, and provide valuable data for system optimization and improvement. For example, you can use various data such as the ratio of file creation, the distribution of file read and write operations, and the frequency of file operations to evaluate whether the system is effective and meets expectations. Access records can be used to analyze and o...

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): G06F17/30G06F11/34
Inventor 郑纬民舒继武汪旸薛矛
Owner TSINGHUA UNIV
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