Cache consistency test method

A test method and consistency technology, applied in the use of remote testing to detect faulty hardware, error detection/correction, and detection of faulty computer hardware, etc., can solve problems such as difficult traversal and multiple cache consistency scenarios.

Active Publication Date: 2016-03-30
JIANGNAN INST OF COMPUTING TECH
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is to provide a cache consistency test method for the above-mentioned defects in the prior art, which can solve the problems of many cache consistency scenarios and difficult traversal when multi-core processors run parallel programs. Automatic memory access mode generation system to generate parallel verification programs covering various memory access scenarios, and fully verify the cache consistency of the processor in the early stage of chip design and sample stage, so as to ensure the success rate of one-time chip release, thereby reducing chip Design costs, shorten the development cycle

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 consistency test method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the content of the present invention clearer and easier to understand, the content of the present invention will be described in detail below in conjunction with specific embodiments and accompanying drawings.

[0023] The basic idea of ​​the present invention is to allow multiple processes to concurrently perform read and write access to non-repeated memory addresses, and then check whether the access results are correct, thereby judging whether there is a problem with cache consistency. However, when the memory space is large, there are many memory address combinations for concurrent memory access. Therefore, the present invention selects the mode that is most likely to cause cache consistency problems for traversal, that is, multiple processes concurrent read and write accesses may be mapped to the same cache segment memory address.

[0024] figure 1 A flow chart of a cache consistency testing method according to a preferred embodiment of the presen...

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 present invention provides a cache consistency test method. The method comprises the steps of: a master process applying for a shared space; the master process creating a plurality of sub processes; dividing four shared space parts in the shared space; the master process arranging numbers of memory blocks accessed by a read operation and a write operation, so as to allow memory addresses accessed by the read operation and write operation not to overlap, and allow the plurality of sub processes to enter synchronous interfaces; after the plurality of sub processes are synchronized successfully, reading an arranged sequence, so as to allow the master process and the plurality of sub processes to perform read and write operations simultaneously; and after the master process and the plurality of sub processes finish read and write operations, each process using an exclusive OR operation to calculate the weight of a read space and a write space accessed by the process, and comparing the weight of the memory accessed by the read operation with the weight of the memory accessed by the write operation.

Description

technical field [0001] The invention relates to the technical field of cache consistency verification of multi-core processors, in particular to a cache consistency test method. Background technique [0002] The use of cache technology is to match the speed of the processor and the access speed of the memory. On most modern processors, almost all memory access needs to be performed through the cache. With the development of multi-processor, multi-core, and many-core technologies, the speed of processors is getting faster and faster, and the memory hierarchy is becoming more and more complex, and the problem of cache coherence (Cache coherence) becomes more and more prominent. Cache coherency refers to the mechanism by which shared resources held in cache maintain data consistency. [0003] With the increase of processor storage levels, data inconsistency may occur between adjacent levels and within the same level. This problem is particularly prominent in multi-core and man...

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 Applications(China)
IPC IPC(8): G06F11/22G06F11/263
CPCG06F11/2205G06F11/2247G06F11/2294G06F11/263
Inventor 王丽一尉红梅李岱峰谭坚吴臻相陈伟陈磊蒋丽萍李亚辉
Owner JIANGNAN INST OF COMPUTING TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products