Unlock instant, AI-driven research and patent intelligence for your innovation.

A File System Cache Prereading Method

A file system and pre-reading technology, applied in the direction of memory address/allocation/relocation, special data processing applications, instruments, etc., can solve problems such as low efficiency, blocking applications, etc., to improve efficiency and improve read and write efficiency Effect

Active Publication Date: 2018-06-05
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the user performs data operations, the way of directly reading and writing to the disk is easy to block the application due to the slow speed, and the efficiency is also very low.

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 Cache Prereading Method
  • A File System Cache Prereading Method
  • A File System Cache Prereading Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0019] The file system cache pre-reading method described in this embodiment can effectively improve the efficiency of disk reading data by adaptively changing the timing of pre-reading sectors and the size of pre-reading sectors. as attached figure 1 As shown, when reading and writing disk data, enter the read operation entry, if the sliding value window reaches the hit cache sector, and judge whether the value window slides out of the cache window.

[0020] When the pre-read value window slides in the cache window, the pre-read operation is not performed, and the window growth factor α is reset; when the pre-read value window partially slides out of the cache window, the pre-read operation is performed, and the growth factor α Add 1; when the pre-read value window slides out of the cache window completely, the pre-read operation is performed, and a new value window and cache window are opened at the same time.

[0021] When the pre-read value window partially slides out of ...

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 system caching and pre-reading method, and relates to a disk read-write operating method. When the disk data read-write is conducted on a user program, the pre-reading method is adopted to improve the read-write efficiency; pre-reading opportunities are determined by the sliding condition of a value window, and the size of a pre-reading sector is also changed along the change of the value window. By means of self-adaption, pre-reading opportunities and the size of the pre-reading sector are changed, the self-adaption pre-reading which is cached by the file system can be managed, and data reading efficiency of the disk can be effectively improved.

Description

technical field [0001] The invention relates to a disk reading and writing operation method, in particular to a file system cache pre-reading method. Background technique [0002] During disk read and write operations, disk drive access is usually much slower than memory access. When the user performs data operations, the way of directly reading and writing to the disk is easy to block the application due to the slow speed, and the efficiency is also very low. The file system cache is designed to solve this situation. Cache is usually composed of high-speed storage media, with fast read and write speed and low latency. [0003] The read-ahead operation is to predict and read the content of the subsequent read request in advance, so that the subsequent read request can hit the cache without initiating an I / O operation on the disk again. File system cache read-ahead can reduce the number of disk I / Os, increase the data volume of a single I / O, hide the read delay of subseque...

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/30G06F12/02
Inventor 张月辉张会健
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD