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

Cache operation method and device for replay mechanism

A caching and mechanism technology, applied in memory systems, instruments, electrical digital data processing, etc., can solve problems such as the inability to guarantee the stability of the cache hit rate, etc.

Active Publication Date: 2016-09-14
LOONGSON TECH CORP
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the process of implementing the embodiment of the present invention, the inventor found that a complete program may require multiple memory access operations on a certain memory row, and the memory row requiring multiple accesses for memory access operations may be replaced due to the simple replacement strategy. Repeatedly stored in the cache and kicked out of the cache multiple times, and thus cannot guarantee the stability of the cache hit rate when the program is replayed, let alone guarantee that the cache hit rate of the program in the replay mechanism is better than that of the program when it is first run cache hit ratio

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 operation method and device for replay mechanism
  • Cache operation method and device for replay mechanism
  • Cache operation method and device for replay mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0028] figure 1 Shown is a flowchart of a replay mechanism-oriented cache operation method provided by an embodiment of the present invention.

[0029] Such as figure 1 As shown, the embodiment of the present invention provides a cache operation method oriented to a replay mechanism, which is used for a cache oriented to a replay mechanism, and ...

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

An embodiment of the invention provides a cache operation method and a device for a replay mechanism and relates to the program reset field. The cache operation method and the device for the replay mechanism has the advantages of guaranteeing the stability of cache hit ratio during program replay and further guaranteeing that the cache hit ratio during program replay is superior to that during program initial operation. The cache operation method for the replay mechanism comprises during the process of program initial operation, when a history cache line which is matched with a first cache line exists in a cache line pond, generating into replacement information according to the history cache line which is matched with the first cache line and storing partial unique identification information replacement in the first cache line and partial unique identification information in the history cache line which is matched with the first cache line into the history cache line which is matched with the first cache line and during the process of program replay, storing the second cache line into assist cache when replacement information which is matched with a second cache line exists.

Description

technical field [0001] The invention relates to the field of program replay, in particular to a replay mechanism-oriented cache operation method and device. Background technique [0002] Program replay is a common application and plays an extremely important role in the fields of program debugging (especially parallel program debugging), error tolerance and feature analysis. [0003] At present, the program replay mechanism only records memory access (load / store) behavior at the memory level. Compared with memory, the speed of cache has obvious speed advantages for data access storage and instruction operations, but cache The size of is very small in comparison, how to improve the hit rate of the data access cache in the process of program replay is an urgent problem to be solved. [0004] The existing program replay mechanism is only a simple record of historical memory access operations when recording cache behavior. Due to the limited capacity of the cache, when a cache ...

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): G06F12/0875G06F12/126
Inventor 王佳陈云霁尹夕振
Owner LOONGSON TECH CORP