CN109086180B - Memory inspection test method - Google Patents

Memory inspection test method Download PDF

Info

Publication number
CN109086180B
CN109086180B CN201810970180.4A CN201810970180A CN109086180B CN 109086180 B CN109086180 B CN 109086180B CN 201810970180 A CN201810970180 A CN 201810970180A CN 109086180 B CN109086180 B CN 109086180B
Authority
CN
China
Prior art keywords
test
memory
march
rtm
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810970180.4A
Other languages
Chinese (zh)
Other versions
CN109086180A (en
Inventor
刘胜
庞潇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810970180.4A priority Critical patent/CN109086180B/en
Publication of CN109086180A publication Critical patent/CN109086180A/en
Application granted granted Critical
Publication of CN109086180B publication Critical patent/CN109086180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention provides a memory inspection test method, which comprises the following steps: in the starting process of the server memory, starting an RMT function in BIOS to perform RTM test; and the RTM test ends and enters a Memtest stage, and a pause test and a bidirectional march test are carried out, wherein the bidirectional march test comprises a transverse march test on the basis of a longitudinal march test. In the step of starting the server memory, starting an RMT function in the BIOS to perform RTM test, wherein the RTM test comprises the following steps: and detecting the memory with errors, and shielding the errors in the memory by an independent error correction chip. If a permanent memory error is detected, the RMT identifies the defective memory and removes it from the operating system.

Description

Memory inspection test method
Technical Field
The invention relates to the technical field of computer memory detection, in particular to a memory detection testing method.
Background
In recent years, the supply of the memory of the server is short, the price of the ship rises, and the price doubles within two years. However, in terms of quality, data is increasingly poor with the increase in capacity, process switching, and short supply and demand. Batch problems with memory are often exploded at the production line and customer locations, causing complaints and normal applications. In the production process, due to the fact that the detection method is not strict, fault memory or memory with poor physical appearance flows out of a production line, and the use of a client is affected.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a memory test method to solve the technical problems.
The technical scheme of the invention is as follows:
a memory inspection test method comprises the following steps:
in the starting process of the server memory, starting an RMT function in BIOS to perform RTM test;
and the RTM test ends and enters a Memtest stage, and a pause test and a bidirectional march test are carried out, wherein the bidirectional march test comprises a transverse march test on the basis of a longitudinal march test.
Further, in the step of starting the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test includes:
and detecting the memory with errors, and shielding the errors in the memory by an independent error correction chip.
Further, in the step of starting the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test further includes:
if a permanent memory error is detected, the RMT identifies the defective memory and removes it from the operating system.
Further, in the step of starting the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test further includes:
and outputting a test log in the RTM test process, checking an error log of the RMT in the BIOS, and determining the memory slot position with the problem.
Further, the step rtmt test ends and enters a Memtest stage, and the pause test and the bidirectional march test are performed, where the pause test includes:
the memory Memtest phase is a test process pause of 7.8 mus.
Further, the step rtmt test ends and enters a Memtest stage, and in the pause test and the bidirectional march test, the transverse march test based on the longitudinal march test includes:
dividing a DRAM into a plurality of small blocks;
each time one block is tested, resetting the block to be tested;
bit by bit position 1, each position one bit, testing whether the bit is 1 or not, if so, continuing, or else reporting an error.
Further, the step rtmt of ending the rtmtest and entering the Memtest stage, performing a pause test and a bidirectional march test, and performing a transverse march test based on the longitudinal march test further includes:
after the test of all the set 1 is finished, clearing 0 bit by bit, and testing whether the clearing 0 bit is 0 or not every clearing one bit, if so, the correctness is realized, otherwise, an error is reported.
Further, the test is completed with backup test data.
Further, the step of testing the finished backup data includes:
building a plurality of clients of test data to be backed up, building a data storage server, and connecting the clients and the storage server to be tested to a switch to build a local area network;
collecting all test data under the OS;
processing the test data and initiating a request for backing up the file to a storage server; the method comprises the following steps of putting collected test data under a root directory, naming according to a data backup naming rule, packaging and compressing into a backup file, wherein the data backup naming rule is as follows:
naming according to the mode of time plus memory number;
and the storage server starts to calculate the local available storage space after receiving the request, and receives the transmitted backup file if the available space is larger than the size of the backup file.
Further, the step of testing the backup data after completing the test further comprises:
and the storage server starts to calculate the local available storage space after receiving the request, if the available storage space is smaller than the size of the test data backup file, the storage server searches the local oldest primary backup data according to the data backup naming rule, starts a clearing instruction, and calculates the local available storage space again until enough space is available for receiving the test data backup file transmitted by the client. Memory error correction Reliable Memory Technology (RMT).
According to the technical scheme, the invention has the following advantages: the invention provides a simple and tight test method for memory inspection, which can realize the increase of the memory detectable rate by adding pause test and test in the other direction of march on the basis of the original MEMTEST test project after the production line production process and the booting stage and the RMT test process. In the production stage of the server, the purpose of memory sorting is achieved, and the fault memory is intercepted into a factory.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Therefore, compared with the prior art, the invention has prominent substantive features and remarkable progress, and the beneficial effects of the implementation are also obvious.
Drawings
FIG. 1 is a flow chart of march testing in a memory test method;
FIG. 2 is a flow chart of a method for backing up test data.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings by way of specific examples, which are illustrative of the present invention and are not limited to the following embodiments.
Example one
As shown in fig. 1, a method for testing memory inspection includes the following steps:
s1: in the starting process of the server memory, starting an RMT function in BIOS to perform RTM test;
s2: and the RTM test ends and enters a Memtest stage, and a pause test and a bidirectional march test are carried out, wherein the bidirectional march test comprises a transverse march test on the basis of a longitudinal march test.
In the step S1, in the process of starting the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test includes:
and detecting the memory with errors, and shielding the errors in the memory by an independent error correction chip.
In the step S1, in the starting process of the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test further includes:
if a permanent memory error is detected, the RMT identifies the defective memory and removes it from the operating system.
In the step S1, in the starting process of the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test further includes:
and outputting a test log in the RTM test process, checking an error log of the RMT in the BIOS, and determining the memory slot position with the problem.
In step S2, performing the pause test includes:
the memory Memtest phase is a test process pause of 7.8 mus. Trfc ("SDRAM row refresh cycle time", which is the number of clock cycles required for row cell refresh) is added, which also indicates that a refresh command is sent twice to another row cell in the same bank, JEDEC specification 7.8 μ s, adjusted to 15.6 μ s) to lengthen the capacitance time of the cell and screen out the cells with poor retention of capacitance.
In step S2, performing the transverse march test on the basis of the longitudinal march test includes:
s21: dividing a DRAM into a plurality of small blocks;
s22: each time one block is tested, resetting the block to be tested;
s23: bit by bit position 1, each position one bit, testing whether the bit is 1 or not, if so, continuing, or else reporting an error.
S24: after the test of all the set 1 is finished, clearing 0 bit by bit, and testing whether the clearing 0 bit is 0 or not every clearing one bit, if so, the correctness is realized, otherwise, an error is reported.
S3: and testing the finished backup data.
Example two
A memory inspection test method comprises the following steps:
s1: in the starting process of the server memory, starting an RMT function in BIOS to perform RTM test;
s2: and the RTM test ends and enters a Memtest stage, and a pause test and a bidirectional march test are carried out, wherein the bidirectional march test comprises a transverse march test on the basis of a longitudinal march test.
In the step S1, in the process of starting the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test includes:
and detecting the memory with errors, and shielding the errors in the memory by an independent error correction chip.
In the step S1, in the starting process of the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test further includes:
if a permanent memory error is detected, the RMT identifies the defective memory and removes it from the operating system.
In the step S1, in the starting process of the server memory, when the BIOS starts the RMT function to perform the RTM test, performing the RTM test further includes:
and outputting a test log in the RTM test process, checking an error log of the RMT in the BIOS, and determining the memory slot position with the problem.
In step S2, performing the pause test includes:
the memory Memtest phase is a test process pause of 7.8 mus. Trfc ("SDRAM row refresh cycle time", which is the number of clock cycles required for row cell refresh) is added, which also indicates that a refresh command is sent twice to another row cell in the same bank, JEDEC specification 7.8 μ s, adjusted to 15.6 μ s) to lengthen the capacitance time of the cell and screen out the cells with poor retention of capacitance.
In step S2, performing the transverse march test on the basis of the longitudinal march test includes:
s21: dividing a DRAM into a plurality of small blocks;
s22: each time one block is tested, resetting the block to be tested;
s23: bit by bit position 1, each position one bit, testing whether the bit is 1 or not, if so, continuing, or else reporting an error.
S24: after the test of all the set 1 is finished, clearing 0 bit by bit, and testing whether the clearing 0 bit is 0 or not every clearing one bit, if so, the correctness is realized, otherwise, an error is reported.
S3: and testing the finished backup data.
As shown in fig. 2, step S3 includes:
s31: building a plurality of clients of test data to be backed up, building a data storage server, and connecting the clients and the storage server to be tested to a switch to build a local area network;
s32: collecting all test data under the OS;
s33: processing the test data and initiating a request for backing up the file to a storage server; the method comprises the following steps of putting collected test data under a root directory, naming according to a data backup naming rule, packaging and compressing into a backup file, wherein the data backup naming rule is as follows:
naming according to the mode of time plus memory number;
s34: and the storage server starts to calculate the local available storage space after receiving the request, and receives the transmitted backup file if the available space is larger than the size of the backup file.
In this embodiment, the storage server starts to calculate the local available storage space after receiving the request, and if the available storage space is smaller than the size of the test data backup file, the storage server searches for the locally oldest primary backup data according to the data backup naming rule, starts a clear instruction, and calculates the local available storage space again until there is sufficient space to receive the test data backup file transmitted by the client.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (4)

1. A memory inspection test method is characterized by comprising the following steps:
in the starting process of the server memory, starting an RMT function in BIOS to perform RTM test; the method specifically comprises the following steps:
detecting the memory with errors, and shielding the errors in the memory through an independent error correction chip; if a permanent memory error is detected, the RMT will identify the defective memory and remove it from the operating system; outputting a test log in the RTM test process, checking an error log of RMT in a BIOS, and determining a memory slot position with a problem;
the RTM test is ended and enters a Memtest stage, and a pause test and a bidirectional march test are carried out, wherein the bidirectional march test comprises a transverse march test on the basis of a longitudinal march test;
backing up test data after the test is finished; the method specifically comprises the following steps: building a plurality of clients of test data to be backed up, building a data storage server, and connecting the clients and the storage server to be tested to a switch to build a local area network; collecting all test data under the OS; processing the test data and initiating a request for backing up the file to a storage server; the method comprises the following steps of putting collected test data under a root directory, naming according to a data backup naming rule, packaging and compressing into a backup file, wherein the data backup naming rule is as follows: naming according to the mode of time plus memory number; the storage server starts to calculate the local available storage space after receiving the request, and receives the transmitted backup file if the available space is larger than the size of the backup file; and the storage server starts to calculate the local available storage space after receiving the request, if the available storage space is smaller than the size of the test data backup file, the storage server searches the local oldest primary backup data according to the data backup naming rule, starts a clearing instruction, and calculates the local available storage space again until enough space is available for receiving the test data backup file transmitted by the client.
2. The memory test method according to claim 1, wherein the step RTM test ends and enters a Memtest stage, and the pause test and the bidirectional march test are performed, and the pause test includes:
the memory Memtest phase is a test process pause of 7.8 mus.
3. The memory test method of claim 2, wherein the step RTM test ends and enters a Memtest stage, and in performing a pause test and a bidirectional march test, performing a transverse march test based on a longitudinal march test comprises:
dividing a DRAM into a plurality of small blocks;
each time one block is tested, resetting the block to be tested;
bit by bit position 1, each position one bit, testing whether the bit is 1 or not, if so, continuing, or else reporting an error.
4. The memory test method according to claim 3, wherein the step of RTM ending the test and entering Memtest phase, performing a pause test and a bidirectional march test, and performing a transverse march test based on a longitudinal march test further comprises:
after the test of all the set 1 is finished, clearing 0 bit by bit, and testing whether the clearing 0 bit is 0 or not every clearing one bit, if so, the correctness is realized, otherwise, an error is reported.
CN201810970180.4A 2018-08-24 2018-08-24 Memory inspection test method Active CN109086180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810970180.4A CN109086180B (en) 2018-08-24 2018-08-24 Memory inspection test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810970180.4A CN109086180B (en) 2018-08-24 2018-08-24 Memory inspection test method

Publications (2)

Publication Number Publication Date
CN109086180A CN109086180A (en) 2018-12-25
CN109086180B true CN109086180B (en) 2022-02-18

Family

ID=64794492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810970180.4A Active CN109086180B (en) 2018-08-24 2018-08-24 Memory inspection test method

Country Status (1)

Country Link
CN (1) CN109086180B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000537A (en) * 2019-05-27 2020-11-27 英业达科技有限公司 Built-in memory detection method of computer device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5815512A (en) * 1994-05-26 1998-09-29 Mitsubishi Denki Kabushiki Kaisha Semiconductor memory testing device
US6779141B1 (en) * 2000-06-08 2004-08-17 Sun Microsystems, Inc. System and method for implementing memory testing in a SRAM unit
KR100928323B1 (en) * 2002-05-27 2009-11-25 연세대학교 산학협력단 Test method for dual port memory
CN1485623A (en) * 2002-09-27 2004-03-31 记忆科技(深圳)有限公司 Highly effective testing method for dynamic storage module
CN101034366A (en) * 2006-03-07 2007-09-12 鸿富锦精密工业(深圳)有限公司 Computer testing system and method
CN103198000A (en) * 2013-04-02 2013-07-10 浪潮电子信息产业股份有限公司 Method for positioning faulted memory in linux system
CN103412807A (en) * 2013-08-12 2013-11-27 浪潮电子信息产业股份有限公司 Memory inspection testing system
CN103984634B (en) * 2014-06-05 2017-06-30 浪潮电子信息产业股份有限公司 A kind of internal memory unsteady pressure method of testing of LINUX servers
US9805825B1 (en) * 2015-08-24 2017-10-31 Apple Inc. Memory error capture logic
CN105468485A (en) * 2015-11-19 2016-04-06 英业达科技有限公司 Character-oriented memory test method
CN106226645B (en) * 2016-07-15 2020-06-23 联想(北京)有限公司 Connection detection device and method
CN106991026A (en) * 2017-04-28 2017-07-28 郑州云海信息技术有限公司 It is a kind of to pass through the method that network carries out server memory Rank margin test in batches

Also Published As

Publication number Publication date
CN109086180A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US10204698B2 (en) Method to dynamically inject errors in a repairable memory on silicon and a method to validate built-in-self-repair logic
US9514034B1 (en) Ordered test execution to enable faster feedback
CN100543693C (en) Power-on self-detection method
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
CN108920369A (en) A kind of server stress test method, device, equipment and storage medium
CN107577591A (en) A kind of method, apparatus and system of automatic test abnormal protection
CN103218275A (en) Data error repairing method, device and equipment
CN109918226A (en) A kind of silence error-detecting method, device and storage medium
CN105740122A (en) Method and system for monitoring mobile phone memory leak
CN103984634A (en) Memory unsteady state pressure test method of LINUX server
CN106155826B (en) For the method and system of mistake to be detected and handled in bus structures
CN109086180B (en) Memory inspection test method
CN114167150A (en) Test system and method for high-frequency phased array antenna
CN107391036B (en) Method and system for accessing stored VPD information
CN111030871A (en) Configuration information synchronization method and device based on dual-computer hot standby system
US7689880B2 (en) Test apparatus, test method, analyzing apparatus and computer readable medium
CN106980402B (en) Method and device for judging reset calibration and terminal
CN109885420B (en) PCIe link fault analysis method, BMC and storage medium
CN115691632B (en) Test control system and method
US7979238B2 (en) System, method and computer program product for evaluating a test of an alternative system
CN110659150A (en) Method for detecting memory of micro control unit and related device
CN109002373A (en) Database connects abnormality eliminating method and device
CN101533369A (en) Method for checking start-up procedure and device thereof
CN115470125A (en) Debugging method and device based on log file and storage medium
CN114666201A (en) High-availability distributed micro-service architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant