Method and apparatus for pre-reading in cache
A cache and read-ahead technology, applied in the computer field, can solve problems such as inability to perform pre-reading, performance degradation, and inability to pre-read
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0037] In order to make the object, technical solution and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0038] In the embodiment of the present invention, the first IO stream and the second IO stream can be continuous to form a continuous IO stream, and then pre-read according to the remaining capacity of the CACHE block; the first IO stream and the second IO stream are not continuous, but their There is a regularity between them, the first IO flow and the second IO flow form the fourth IO flow, and then read ahead sequentially according to the remaining capacity of the CACHE block. In the cache, multiple IO streams are combined into multiple sequential IO streams as much as possible, so that pre-reading can be implemented in streaming media applications to improve the efficiency of pre-reading.
[0039] See attached figure 1 It is a s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 