Pre-reading method for stride access mode of file system
An access mode and file system technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of accelerated sequential read performance, no pre-read algorithm, etc., and achieve the effect of improving performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0016] The basic idea of the pre-reading algorithm
[0017] Usually the pre-reading of the file system is implemented in the kernel system routine: the generic_file_read function through page_cache_readahead. To implement our own pre-reading algorithm in this article, we must modify the generic_file_read routine, add our own stride pre-reading algorithm, and the sequence of the kernel The read-ahead algorithms work in tandem.
[0018] Detection of stride mode
[0019] There are three stride modes: in the first mode, the access interval and length are the same, this is called FIX_ALL mode, the second is that the access interval is the same, but the length is different, this is called FIX_POS mode, and the third is access The interval steps are the same, but the length is different, which is called FIX_STEP mode. The detection of these three stride read modes is detected separately according to the above three characteristics.
[0020] Construction of the read-ahead window ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 