Method for testing physical memory

A technology of memory testing and testing methods, which is applied in the direction of static memory, instruments, and faulty computer hardware, etc. It can solve the problems of low test coverage, unknown memory errors or actual physical locations where problems occur, and difficulty in detecting physical memory Practical problems and other problems, to achieve the effect of high test coverage and high detection efficiency

Inactive Publication Date: 2007-03-21
XUZHOU LIFANG MECHANICAL & ELECTRICAL EQUIP MFG CO LTD
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Currently, the well-known method that we use memory test tools to test memory in production line is to allocate as much virtual space as possible in the virtual memory, and test various memory algorithms on it. However, the virtual memory is specifically mapped to the real physical memory It is still the swap partition of the hard disk, and the inspectors cannot clearly understand
[0006] Therefore, the known test method for physical memory under the Linux system platform, although its test program is very easy to implement, the shortcoming of this test method is: its test coverage is low, and the memory test method of this known technology cannot be used at all. The system physical memory occupied by the operating system and the test program itself is tested. Moreover, it is found through the use of the production line that it is difficult to detect the actual problem of the physical memory with the known memory test method. Even if the problem is found, the tester does not know that the memory is really wrong. or the actual physical location where the problem occurred

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
  • Method for testing physical memory
  • Method for testing physical memory
  • Method for testing physical memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Referring to FIG. 1 and FIG. 2 , FIG. 1 is a flow chart of overall steps of a physical memory testing method of the present invention. FIG. 2 is a software architecture diagram of a testing method of a physical memory according to the present invention. As shown in Figure 1, a kind of testing method of physical memory of the present invention is applied in the detection process of physical memory under Linux operating system, and this method comprises the following steps:

[0041] After the test starts, directly access the physical memory of the system by a memory test program, and traverse a memory physical page in the physical memory array, that is, step 101, wherein the memory test program is passed through a memory that is embedded in the Linux system kernel Memory access interface to directly access the physical memory of the system, as shown in Figure 2, in addition, when executing the step 101, a memory physical page traversed for the first time is preferably the...

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

A physics storage detecting method, using for detecting physics storage in Linux operating system, relates to a storage detecting procedure visiting system physics storage and traversing the storage physics page of the storage array. Judge the estate and the engrossed instance of the page; when it is engrossed by system kernel, traverse the next page. When it is free or engrossed by application, lock it or move its data to other free page and lock it, and carry out detecting arithmetic to test the page. After detecting, release the tested page and traverse the next page; and before traversing the next page, it will judge that whether all the physics pages had been traversed; if it isn't finished, then continue, or finish the traversing.

Description

technical field [0001] The technical problem to be solved by the present invention is to provide a method for testing physical memory, in particular to a method for testing physical memory applied to the Linux operating system. Background technique [0002] At present, the physical memory of the computer we use usually has only a few hundred megabytes (MB) of physical space, such as 256MB or 512MB of physical memory space, but when actually developing Linux system applications, each development process can have Own 4GB of memory space, why is this? This starts with the memory mode that the Linux system kernel (Kernel) works, because the Linux system kernel works in the virtual memory mode, that is: each virtual page corresponds to a corresponding physical page of the system memory, and the virtual page and the physical page The address conversion between is done by the hardware page table. For a specific virtual page, the corresponding physical page can be found according t...

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
IPC IPC(8): G06F11/22G11C29/00
Inventor刘一波张金平陈玄同刘文涵
OwnerXUZHOU LIFANG MECHANICAL & ELECTRICAL EQUIP MFG CO LTD