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

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

Active Publication Date: 2014-05-21
DAWNING INFORMATION IND BEIJING +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If multiple storage units share a lock, it will cause false sharing of locks, that is, operations that could have been concurrent, but cannot be concurrent due to sharing a lock, resulting in loss of system performance

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
  • Cache concurrent access management method based on state machine
  • Cache concurrent access management method based on state machine

Examples

Experimental program
Comparison scheme
Effect test

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...

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 provides a cache concurrent access management method based on a state machine. A plurality of basic storage units are incorporated into a basic cache partition, all storage units in the partition share a storage state, the storage state is divided into a plurality of fine grit substates which are converted through the state machine. Four operations of a partition searching operation, a reading operation, a cache operation and a writing operation are included. The invention effectively improves the cache access efficiency under the premise of ensuring the stability of a system.

Description

technical field [0001] The present invention relates to the field of storage system management, in particular to a state machine-based Cache concurrent access management method Background technique [0002] In a narrow sense, Cache refers to the internal cache memory of the processor, which puts the recently accessed data and its adjacent data into a high-performance buffer according to the time locality and space locality principles of program operation. may be used. In a broad sense, the movement of data streams in a computer includes not only the process from memory to processor, but also the process from disk to memory or from other peripherals to memory, and the data access in these processes has time locality and The characteristics of spatial locality, so putting recently accessed data into a higher-speed cache is a general acceleration method, also often called Cache. The Cache referred to in this article is the Cache in a broad sense, especially the Cache on the d...

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): G06F9/38G06F12/08G06F12/0877
Inventor 袁清波郑规许建卫
Owner DAWNING INFORMATION IND BEIJING