Shell-based memory read-write testing method

A technology for testing memory and testing tools. It is applied in the direction of detecting faulty computer hardware. It can solve the problems of not being able to set the time and not being able to start multi-threading at one time, and achieve the effects of saving test time, improving test efficiency, and easy operation.

Inactive Publication Date: 2015-05-06
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Aiming at the problems that the time cannot be set during the memtester test, and the multi-threaded parallel running test mode cannot be opened at one time, resulting in various disadvantages, the present invention provides a shell-based method for testing memory reading and writing, and realizes running auxiliary tests when testing memory reading and writing. The program eliminates a series of complicated test tasks such as parameter modification, multiple thread openings, and result processing, breaking the limitations of test applications, and does not require a series of complicated tasks such as manual operations and data sorting, which greatly improves test efficiency.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The main body of this test method is realized by the test program, and the auxiliary test program is written based on the bash shell language. The whole test process includes preparation, preset, mode selection, start operation, result processing, environment cleaning and other parts. The present invention can be carried out at normal room temperature.

[0017] Usually test standard:

[0018] After the test is completed, check the test result file under the test machine. The test result and test time record are recorded in the file record. The test machine runs stably during the whole test process, and there are no abnormal phenomena such as crash, power failure or blue screen.

[0019] If there are fail test items in the test results, it means that there is a problem with reading and writing in a certain area of ​​the memory of the test machine.

[0020] The specific test process of testing a certain computer memory is as follows:

[0021] ① Ensure that the test mem...

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 discloses a shell-based memory read-write testing method and belongs to the field of memory tests. The method comprises the following specific steps of: 1, ensuring that a tested memory is based on a linux kernel operating system, installing a memtester tool and logging on a running program; 2, presetting program parameters; 3, selecting modes which include a default current mode, a timing mode and a circulation mode, wherein the timing mode and the circulation mode are mutually exclusive, so that only one of the timing mode and the circulation mode can be selected; 4, setting a test environment of the memtester tool under the mode, and starting a memtester single-thread or multithread parallel test; 5, after the test is finished, viewing a test result file in which a test result and a test time record are recorded, and eliminating temporary files created in a program run process. During a process of testing memory read-write, an auxiliary test program runs, so that a series of complicated test operations such as parameter modification, repeated thread starting and result treatment are omitted, the test application limitation is broken, and the test efficiency is greatly increased.

Description

technical field [0001] The invention discloses a shell-based method for testing memory reading and writing, belonging to the field of memory testing. Specifically, the present invention relates to an automatic test method for reading and writing memory under a linux OS based on a shell language. Background technique [0002] Memory is a computer component that the CPU can address through the bus and perform read and write operations. With the continuous update of computer software and hardware technology, the size of computer memory (RAM) we usually refer to refers to the total capacity of memory. The read and write capabilities of the memory are an important factor in judging the memory. However, the current memory read and write stress test usually uses Memtester, which mainly captures memory errors and bad bits that are always at a high or low level. Size and times, random value, XOR comparison, subtraction, multiplication, division, and or operation are tested on the e...

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/22
Inventor 颜东博
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
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