Region-based management method for external cache of disk
A management method and disk technology, applied in the direction of input/output to record carrier, etc., can solve the problems of low cache data hit rate and inability to effectively use large-capacity cache, and achieve the effect of improving IO efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] The present invention divides the cache device into many Regions according to a fixed size. Generally, the size of a Region is 64K to 1M, and is a power of 2. It is determined before the system runs, and cannot be changed dynamically once it runs. The Region here is the basic unit of cache device management, which can be compared to the Cache Line in the processor. Each Region maintains the corresponding state, necessary locks, tags and other information. Regions have relatively large requests compared to the file system. The minimum unit of file system IO is generally 512 bytes (called a sector), so an IO operation of the file system is more likely to cover only part of a Region. , in view of this, each Region also needs to maintain several bitmaps to mark the status of each sector. The architecture of Region-based external disk cache management is as follows: figure 1 As shown, the read and write requests sent by the user to the operating system are finally converte...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 