Cache concurrent access management method based on state machine
An access management and state machine technology, applied in the direction of concurrent instruction execution, machine execution device, electrical digital data processing, etc., can solve the problems of inability to concurrency, lock false sharing, system performance loss, etc., and achieve the effect of improving access efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] In the present invention, multiple basic storage units are classified into a basic Cache partition, and all storage units in this partition share the storage status. Furthermore, the storage state is divided into multiple fine-grained sub-states, and the transition between sub-states is realized through a state machine, so that the transition between states does not require mutual exclusion or only requires synchronization primitives based on atomic instructions.
[0033] Specifically, each partition has a state, which indicates information such as whether the data in the current partition is valid and whether it is in the process of caching. It mainly includes the following states:
[0034] ●EMPTY: Indicates that there is no valid data in this partition and can be reused. Valid data here refers to correct data that can be read by the file system, including dirty data and data that is read from the disk and written to the high-speed storage device.
[0035] ●CLEAN: In...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 