CN107122275A - It is a kind of to check the device and method that RMT tests information - Google Patents

It is a kind of to check the device and method that RMT tests information Download PDF

Info

Publication number
CN107122275A
CN107122275A CN201710295756.7A CN201710295756A CN107122275A CN 107122275 A CN107122275 A CN 107122275A CN 201710295756 A CN201710295756 A CN 201710295756A CN 107122275 A CN107122275 A CN 107122275A
Authority
CN
China
Prior art keywords
rmt
unit
result
middle control
test
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.)
Pending
Application number
CN201710295756.7A
Other languages
Chinese (zh)
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 CN201710295756.7A priority Critical patent/CN107122275A/en
Publication of CN107122275A publication Critical patent/CN107122275A/en
Pending legal-status Critical Current

Links

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/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits

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)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The present invention provides a kind of device and method for being used to check that internal memory RMT tests information, equipment includes middle control unit, preparatory unit, collecting unit, memory cell, result output unit, indicating member, interface unit, wherein preparatory unit, collecting unit, memory cell, result output unit, indicating member are connected with middle control unit respectively, and interface unit is connected with preparatory unit and collecting unit.The Rank magin numerical value of internal memory is got in the start serial ports log tested by shell scripts from RMT, then result worst inside these magin numerical value is exported to be contrasted for tester and spec, so as to know the internal memory margin situations of machine, subtest personnel carry out RMT test result analysis, the saving time, improve the accuracy of test result.

Description

It is a kind of to check the device and method that RMT tests information
Technical field
The present invention relates to computer realm, and in particular to a kind of to check the device and method that internal memory RMT tests information.
Background technology
The mass data of server is nearly all run in internal memory, and the performance of internal memory directly affects the property of server Can, so the performance of internal memory is particularly significant.
In the server, internal memory is occurred in the form of memory bar, and speed reaches 1600Mbps, some 1866Mbps or Person is higher.Regular situation, needs internally to deposit into row signal integrity simulation and test in product design process, mainly from letter Investigated and verified in terms of number quality and signal sequence, on hardware main attention clock, ADDR/CMD/CTRL, Data, Design, emulation, the checking of the signals such as DQS, ZQ, RST.
An important step is exactly RMT tests (Rank Margining Test) in the test of internal memory, and RMT tests are mainly Rank margin (hereinafter referred to as margin) tests of internal memory are carried out, allow in start serial ports exporting magin numbers by changing BIOS Then value is contrasted with SPEC (Standard Performance Evaluation Corporation), but because is opened Machine serial ports output data is a lot, the manual screening RMT object informations and workload contrasted is very big.
Therefore how simply and efficiently to check internal memory RMT test information, to use manpower and material resources sparingly, improve operating efficiency just into The problem of urgent need to resolve.
The content of the invention
In order to solve the above technical problems, technical scheme is as follows:
In a first aspect, the present invention provides a kind of equipment for being used to check that internal memory RMT tests information, including middle control unit, standard Standby unit, collecting unit, memory cell, result output unit, interface unit, preparatory unit, collecting unit, memory cell, knot Fruit output unit is connected with middle control unit respectively, and interface unit is connected with preparatory unit and collecting unit, wherein middle control unit is used In the work for controlling connected each functional unit, interface unit is used for internal memory RMT and tests information inspection equipment and test machine Connection, preparatory unit, which is used to testing RMT into the serial ports log preserved, to be copied under test machine system, while by shell scripts RMT_Analysis.sh is copied under same directory, and wherein serial ports log and shell scripts RMT_Analysis.sh are stored in In internal memory RMT test information inspection equipment memory cell, collecting unit is used to trigger shell scripts execution operation and gathers RMT The every result of test, and middle control unit is passed to, the RMT that middle control unit is gathered according to collecting unit tests every result, screening Go out the worst-case value of the every result of RMT tests, and the worst-case value is passed into result output unit and be shown to user, middle control unit is read The SPEC information being stored in memory cell is taken, and the RMT filtered out the worst-case values for testing every result are compared with SPEC Compared with judging that RMT tests whether to pass through, and test result passed into result output unit to be shown to user.
Further, in addition to indicating member, for indicating that RMT tests whether completion, middle control unit is judging RMT tests Whether passed to by and by test result after result output unit, then trigger indicating member and indicate that test is completed.
Further, indicating member can be LED or loudspeaker, and when indicating member is LED, middle control unit is judging RMT tests whether to pass to after result output unit by and by test result, and control LED is shown in green;Work as indicating member During for loudspeaker, middle control unit is after judging that RMT tests whether to pass to result output unit by and by test result, control Loudspeaker sends " ticking " and rung.
Further, middle control unit uses Intel's the 7th generation Kaby Lake processors.
Further, interface unit is serial communication interface or USB interface.
Further, the operating system of test machine is linux operating systems, and the operating system of test machine is 32 bit manipulation systems System or 64 bit manipulation systems.
Further, the details of RMT every test result are preserved in RMT.txt in the memory unit.
Second aspect, the present invention provides a kind of method for being used to check that internal memory RMT tests information, and step includes::
SS1:RMT is tested to the serial ports log preserved to copy under linux system, while by shell scripts RMT_ Analysis.sh is copied under same directory;
SS2:Triggering shell scripts perform operation, the every result of collection RMT tests;
SS3:The every result of RMT tests gathered according to collecting unit, filters out the worst-case value of the every result of RMT tests;
SS4:SPEC information is read, and the RMT filtered out the worst-case values for testing every result are compared with SPEC, is sentenced Disconnected RMT is tested whether to pass through, and test result is shown into user.
Further, in addition to:
Step SS5:Indicate that RMT tests whether to complete, judging that RMT tests whether to be shown to use by and by test result Behind family, triggering indicates that operation instruction test is completed.
Further, indicating member can be LED or loudspeaker, and when indicating member is LED, middle control unit is judging RMT tests whether to pass to after result output unit by and by test result, and control LED is shown in green;Work as indicating member During for loudspeaker, middle control unit is after judging that RMT tests whether to pass to result output unit by and by test result, control Loudspeaker sends " ticking " and rung.
The solution of the present invention can simplify substantial amounts of troublesome operation, save time resource cost, and improve the accurate of test Property.
Brief description of the drawings
Fig. 1 shows that the present invention is used for the structured flowchart for checking the equipment of internal memory RMT test information.
Fig. 2 shows that the present invention is used for the method flow diagram for checking that internal memory RMT tests information.
Embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
In the start serial ports log that the design of the invention is mainly tested by shell scripts under Linux system from RMT The Rank magin numerical value of internal memory is got, the worst result in these magin numerical value the inside and the contrast of SPEC rows is then exported, from And know the internal memory margin situations of machine.
Fig. 1 is one embodiment of the invention for checking that internal memory RMT tests the structured flowchart of the equipment of information.
As shown in figure 1, according to embodiments of the present invention checks the equipment that internal memory RMT tests information, including middle control unit, standard Standby unit, collecting unit, memory cell, result output unit, indicating member, interface unit, wherein preparatory unit, collection are single Member, memory cell, result output unit, indicating member are connected with middle control unit respectively, interface unit and preparatory unit and collection Unit is connected.
Specifically, middle control unit is used for the work for controlling connected each functional unit, in the implementation of the present invention In example, middle control unit uses Intel's the 7th generation Kaby Lake processors, and processing is quick, efficiency high.
Interface unit is used for the connection that internal memory RMT tests information inspection equipment and test machine.
According to one embodiment of the invention, interface can be serial communication interface or USB interface.
According to one embodiment of the invention, the operating system linux operating systems of test machine, the operating system of test machine can Think 32-bit operating system or 64 bit manipulation systems.
Preparatory unit, which is used to testing RMT into the serial ports log preserved, to be copied under linux system, while by shell scripts RMT_Analysis.sh is copied under same directory, and wherein serial ports log and shell scripts RMT_Analysis.sh are stored in In internal memory RMT test information inspection equipment memory cell.
Collecting unit performs operation for triggering shell scripts, and trigger commands are such as:/RMT_Analysis.shlog_ name;Meanwhile, the every result of collecting unit collection RMT tests, and pass to middle control unit.
The RMT that middle control unit is gathered according to collecting unit tests every result, filters out the worst of the every result of RMT tests It is worth, and the worst-case value is passed into result output unit and is shown to user.
Middle control unit reads the SPEC information being stored in memory cell, and the RMT filtered out is tested into every result Worst-case value is compared with SPEC, judges that RMT tests whether to pass through, and test result is passed into result output unit is shown to User.
According to one embodiment of the invention, the details of RMT every test result are preserved in the memory unit In RMT.txt, archive can be copied, it is convenient to check in the future.
According to one embodiment of the invention, indicating member is used to indicate that RMT tests whether completion, and middle control unit is judging RMT tests whether to pass to after result output unit by and by test result, then triggers indicating member and indicate that test is completed.
According to one embodiment of the invention, indicating member can be LED or loudspeaker, when indicating member is LED, middle control Unit is after judging that RMT tests whether to pass to result output unit by and by test result, and control LED is shown in green; When indicating member be loudspeaker when, middle control unit judge RMT test whether by and by test result pass to result export After unit, controlling loudspeaker sends " ticking " and rung.
Shell scripts are as follows:
#!/bin/sh
echo"RxDqLeft RxDqRight RxVLow RxVHigh TxDqLeft TxDqRight TxVLow TxVHigh">>RMT.txt
cat$1|grep"N..C..D..">>RMT.txt
RXDQLEFT=`cat $ 1 | grep " N..C..D.. " | awk'{ print $ 2 } ' | sort-r | head-1`
RXDQRIGHT=`cat $ 1 | grep " N..C..D.. " | awk'{ print $ 3 } ' | sort-r | head-1`
RXVLOW=`cat $ 1 | grep " N..C..D.. " | awk'{ print $ 4 } ' | sort-r | head-1`
RXVHIGH=`cat $ 1 | grep " N..C..D.. " | awk'{ print $ 5 } ' | sort-r | head-1`
TXDQLEFT=`cat $ 1 | grep " N..C..D.. " | awk'{ print $ 6 } ' | sort-r | head-1`
TXDQRIGHT=`cat $ 1 | grep " N..C..D.. " | awk'{ print $ 7 } ' | sort-r | head-1`
TXVLOW=`cat $ 1 | grep " N..C..D.. " | awk'{ print $ 8 } ' | sort-r | head-1`
TXVHIGH=`cat $ 1 | grep " N..C..D.. " | awk'{ print $ 9 } ' | sort-r | head-1`
echo"RxDqLeft RxDqRight RxVLow RxVHigh TxDqLeft TxDqRight
TxVLow TxVHigh"
echo"$RXDQLEFT$RXDQRIGHT$RXVLOW$RXVHIGH$TXDQLEFT$TXDQRIGHT$TXVLOW$ TXVHIGGH"
Describe to be used for the method for checking that internal memory RMT tests information according to the present invention below with reference to Figure of description 2.
Fig. 2 is one embodiment of the invention for checking that internal memory RMT tests the method flow diagram of information.
As shown in Fig. 2 the method for being used to check internal memory RMT test information according to embodiments of the present invention, including:
SS1:RMT is tested to the serial ports log preserved to copy under linux system, while by shell scripts RMT_ Analysis.sh is copied under same directory;
SS2:Triggering shell scripts perform operation, the every result of collection RMT tests;
SS3:The every result of RMT tests gathered according to collecting unit, filters out the worst-case value of the every result of RMT tests;
SS4:SPEC information is read, and the RMT filtered out the worst-case values for testing every result are compared with SPEC, is sentenced Disconnected RMT is tested whether to pass through, and test result is shown into user.
According to one embodiment of the invention, the details of RMT every test result are stored, can copy and deposit Shelves, it is convenient to check in the future.
According to one embodiment of the invention, method also includes indicating that RMT tests whether to complete step, is judging RMT tests Whether it is shown to by and by test result after user, triggering indicates that operation instruction test is completed.
According to one embodiment of the invention, indicating member can be LED or loudspeaker, when indicating member is LED, middle control Unit is after judging that RMT tests whether to pass to result output unit by and by test result, and control LED is shown in green; When indicating member be loudspeaker when, middle control unit judge RMT test whether by and by test result pass to result export After unit, controlling loudspeaker sends " ticking " and rung.
This method borrows SHELL scripts and the test result that RMT is obtained from start serial ports log is realized under Linux system, Then result is handled and preserved, export worst result in screen is contrasted with spec, and subtest personnel are carried out RMT test result analysis, saves the time, improves the accuracy of test result.
Operational requirements just can quickly be met when needing to check SSD information by above-mentioned scheme, it is simple to operate, it is real It is stronger with property, manpower can be saved, meeting customer need for meeting more efficiency can meet the diversification of product.
Although in terms of having been described for some in the context of device, it is apparent that these aspects also illustrate that corresponding method Description, wherein block or apparatus and method for step or the feature of method and step be corresponding.Similarly, in the context of method and step Described in each side also illustrate that the description of corresponding piece or project or the feature of corresponding intrument.(or use) can be passed through Hardware unit such as microprocessor, programmable calculator or electronic circuit etc is some or all of in method and step to perform. Can be performed by such device in most important method and step some or it is multiple.
The realization can using hardware or using software or can use for example floppy disk, DVD, blue light, CD, ROM, PROM, EPROM, EEPROM's or flash memory etc there is the stored digital for being stored in electronically readable control signal thereon to be situated between Matter is performed, and the electronically readable control signal coordinates (or with it can coordinate) to perform with programmable computer system Corresponding method.The data medium with electronically readable control signal can be provided, the electronically readable control signal can be with Programmable computer system coordinates to perform approach described herein.
The realization can also use the form of the computer program product with program code, work as computer program product When running on computers, program code is operated to perform this method.Can in machine-readable carrier storage program generation Code.
Described above be only it is illustrative, and it is to be understood that it is described herein arrangement and details modification and Change will be apparent to those skilled in the art.It is therefore intended that only by scope of the following claims rather than by The specific detail that is presented is limited above description and by way of explaining.

Claims (10)

1. a kind of equipment for being used to check that internal memory RMT tests information, it is characterised in that including middle control unit, preparatory unit, collection Unit, memory cell, result output unit, interface unit, preparatory unit, collecting unit, memory cell, result output unit point It is not connected with middle control unit, interface unit is connected with preparatory unit and collecting unit, wherein middle control unit is used to control to connect with it The work of each functional unit connect, interface unit is used for the connection that internal memory RMT tests information inspection equipment and test machine, prepares single Member, which is used to testing RMT into the serial ports log preserved, to be copied under test machine system, while by shell scripts RMT_Analysis.sh Copy under same directory, wherein serial ports log and shell scripts RMT_Analysis.sh are stored in internal memory RMT test information Check in equipment memory cell, collecting unit is used to trigger shell scripts execution operation and gathers the every result of RMT tests, and Middle control unit is passed to, the RMT that middle control unit is gathered according to collecting unit tests every result, filter out the every knot of RMT tests The worst-case value of fruit, and the worst-case value is passed into result output unit be shown to user, middle control unit reads that to be stored in storage single SPEC information in member, and the RMT filtered out the worst-case values for testing every result are compared with SPEC, judge that RMT is tested Whether pass through, and test result is passed into result output unit and be shown to user.
2. equipment according to claim 1, it is characterised in that also including indicating member, for indicating that RMT has been tested whether Into middle control unit is after judging that RMT tests whether to pass to result output unit by and by test result, then triggering indicates single Member indicates that test is completed.
3. equipment according to claim 2, it is characterised in that indicating member can be LED or loudspeaker, work as indicating member During for LED, middle control unit controls LED after judging that RMT tests whether to pass to result output unit by and by test result It is shown in green;When indicating member is loudspeaker, middle control unit is judging that RMT tests whether to transmit by and by test result After result output unit, controlling loudspeaker sends " ticking " and rung.
4. equipment according to claim 1, it is characterised in that middle control unit uses Intel's the 7th generation Kaby Lake processing Device.
5. equipment according to claim 1, it is characterised in that interface unit is serial communication interface or USB interface.
6. equipment according to claim 1, it is characterised in that the operating system of test machine is linux operating systems, test The operating system of machine is 32-bit operating system or 64 bit manipulation systems.
7. equipment according to claim 1, it is characterised in that the details of RMT every test result, which are stored in, deposits In RMT.txt in storage unit.
8. a kind of method for being used to check that internal memory RMT tests information, it is characterised in that step includes:
SS1:RMT is tested to the serial ports log preserved to copy under linux system, while by shell scripts RMT_ Analysis.sh is copied under same directory;
SS2:Triggering shell scripts perform operation, the every result of collection RMT tests;
SS3:The every result of RMT tests gathered according to collecting unit, filters out the worst-case value of the every result of RMT tests;
SS4:SPEC information is read, and the RMT filtered out the worst-case values for testing every result are compared with SPEC, is judged RMT is tested whether to pass through, and test result is shown into user.
9. method according to claim 8, it is characterised in that also include:
Step SS5:Indicate that RMT tests whether to complete, judging that RMT tests whether to be shown to user by and by test result Afterwards, triggering indicates that operation instruction test is completed.
10. method according to claim 9, it is characterised in that indicating member can be LED or loudspeaker, when instruction is single When member is LED, middle control unit is after judging that RMT tests whether to pass to result output unit by and by test result, control LED is shown in green;When indicating member is loudspeaker, middle control unit is judging that RMT tested whether by and by test result Pass to after result output unit, controlling loudspeaker sends " ticking " and rung.
CN201710295756.7A 2017-04-28 2017-04-28 It is a kind of to check the device and method that RMT tests information Pending CN107122275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710295756.7A CN107122275A (en) 2017-04-28 2017-04-28 It is a kind of to check the device and method that RMT tests information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710295756.7A CN107122275A (en) 2017-04-28 2017-04-28 It is a kind of to check the device and method that RMT tests information

Publications (1)

Publication Number Publication Date
CN107122275A true CN107122275A (en) 2017-09-01

Family

ID=59725484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710295756.7A Pending CN107122275A (en) 2017-04-28 2017-04-28 It is a kind of to check the device and method that RMT tests information

Country Status (1)

Country Link
CN (1) CN107122275A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448783A (en) * 2021-05-20 2021-09-28 山东英信计算机技术有限公司 Hard reset type data testing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360327A (en) * 2011-10-13 2012-02-22 记忆科技(深圳)有限公司 Hard disk status information collection method and device
CN103995772A (en) * 2014-06-10 2014-08-20 浪潮电子信息产业股份有限公司 RAID card log completely-storing method based on LINUX operation system
CN106227616A (en) * 2016-08-10 2016-12-14 浪潮电子信息产业股份有限公司 A kind of batch realizes the method that RMT tests automatically

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102360327A (en) * 2011-10-13 2012-02-22 记忆科技(深圳)有限公司 Hard disk status information collection method and device
CN103995772A (en) * 2014-06-10 2014-08-20 浪潮电子信息产业股份有限公司 RAID card log completely-storing method based on LINUX operation system
CN106227616A (en) * 2016-08-10 2016-12-14 浪潮电子信息产业股份有限公司 A kind of batch realizes the method that RMT tests automatically

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448783A (en) * 2021-05-20 2021-09-28 山东英信计算机技术有限公司 Hard reset type data testing method and device

Similar Documents

Publication Publication Date Title
US10929260B2 (en) Traffic capture and debugging tools for identifying root causes of device failure during automated testing
CN110750396B (en) Server operating system compatibility testing method and device and storage medium
US20070079288A1 (en) System and method for capturing filtered execution history of executable program code
CN111339731B (en) FPGA (field programmable Gate array) verification platform and method for SoC (System on chip)
CN105223889A (en) A kind of method being applicable to the automatic monitoring PMC RAID card daily record of producing line
CN109614259A (en) A kind of system and method for server PCIe device positioning failure reason
US20210111967A1 (en) Graphical user interface for traffic capture and debugging tool
CN112231163A (en) Multifunctional computer detection equipment and operation method thereof
CA2811617C (en) Commit sensitive tests
CN109885438A (en) A kind of FPGA method for testing reliability, system, terminal and storage medium
CN109407655B (en) Method and device for debugging chip
CN109918221B (en) Hard disk error reporting analysis method, system, terminal and storage medium
CN105653455B (en) A kind of detection method and detection system of program bug
CN117076337B (en) Data transmission method and device, electronic equipment and readable storage medium
CN107122275A (en) It is a kind of to check the device and method that RMT tests information
CN115422091B (en) Firmware debugging method and device, electronic equipment and storage medium
CN107607853B (en) Chip debugging method and device, storage medium and processor
US7415560B2 (en) Method of automatically monitoring computer system debugging routine
CN115480970A (en) Performance test method, device, equipment and storage medium
CN116414632A (en) Fault positioning method of system-on-chip, equipment and storage medium
CN113238953A (en) UI automation test method and device, electronic equipment and storage medium
US20070028218A1 (en) Apparatus, system, and method for a software test coverage analyzer using embedded hardware
EP3557422A1 (en) Method for accessing code sram, and electronic device
CN108845889A (en) A kind of test method and system checked BIOS option and whether meet Intel demand
CN101604279B (en) Method for automatically simulating manual detection after starting computer, detecting system and external storage device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170901