CN116302724A - Method and system for collecting RMT test data based on MMA service under Whitley platform - Google Patents

Method and system for collecting RMT test data based on MMA service under Whitley platform Download PDF

Info

Publication number
CN116302724A
CN116302724A CN202211101599.9A CN202211101599A CN116302724A CN 116302724 A CN116302724 A CN 116302724A CN 202211101599 A CN202211101599 A CN 202211101599A CN 116302724 A CN116302724 A CN 116302724A
Authority
CN
China
Prior art keywords
rmt
data
test
mma
server
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
CN202211101599.9A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211101599.9A priority Critical patent/CN116302724A/en
Publication of CN116302724A publication Critical patent/CN116302724A/en
Pending legal-status Critical Current

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

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)
  • Automatic Analysis And Handling Materials Therefor (AREA)

Abstract

The application discloses a method and a system for collecting RMT test data based on MMA service under a Whitley platform, wherein the method comprises the following steps: according to the acquired RMT test data collection command, carrying out option configuration on BIOS of the server to be tested; according to the set collection turns, after restarting the server to be tested each time, reading a BIOS data area table based on MMA service under the EFI shell, and obtaining RMT data in the restarting process; and saving the RMT data to USB equipment connected with the server to be tested. The system comprises: BIOS configuration module, RMT data acquisition module and memory module. Through the application, the collection efficiency of the RMT test data can be effectively improved.

Description

Method and system for collecting RMT test data based on MMA service under Whitley platform
Technical Field
The application relates to the technical field of memory performance testing, in particular to a method and a system for collecting RMT test data based on MMA service under a Whitley platform.
Background
Along with the development of computer technology, various application requirements adapting to different scenes are derived, and in order to meet the increasing and diversified requirements, the memory performance requirements of users on the computer are higher and higher. The RMT (Rank Margin Tool, margin is the difference between the maximum voltage and the minimum voltage of the Memory during operation and the Memory reference voltage) test is to perform the read-write test of the Pattern at each point for the case of Margin with read-write data in the Memory, and the RMT test result can reflect the performance of the Memory to a certain extent. Therefore, how to collect RMT test data is an important technical issue.
Current methods of collecting RMT data are typically: and grabbing the rank margin data through a serial port. Specifically, a PC is required to be connected to the to-be-tested machine through a serial port line to perform RMT log collection, and the PC needs to open a log collection function before each start of the to-be-tested machine, and close log collection after initialization of a memory of the to-be-tested machine is completed.
However, in the current method for collecting RMT data, because additional PC and serial ports are required, and serial ports are required to be collected again for each collection, the operation is complicated, so that the collection efficiency of RMT test data is low.
Disclosure of Invention
The application provides a method and a system for collecting RMT test data based on MMA service under a Whitley platform, which are used for solving the problem that the efficiency of collecting the RMT test data by the method in the prior art is low.
In order to solve the technical problems, the embodiment of the application discloses the following technical scheme:
a method of collecting RMT test data based on MMA services under a Whitley platform, the method comprising:
according to the acquired RMT test data collection command, performing option configuration on BIOS (Basic Input Output System, basic input and output) of the server to be tested;
according to the set collection turns, after restarting a server to be tested, reading a BIOS data area table under an EFI shell based on MMA (Memory Margin Analyzer ) service to obtain RMT data in the restarting process;
and storing the RMT data into USB equipment connected with the server to be tested.
Optionally, after restarting the server to be tested, the method for obtaining RMT data in the restarting process by reading the BIOS data area table under the EFI shell based on MMA service according to the set number of collection turns includes:
after restarting the server to be tested, executing a test through MRC (Memory Reference Code, memory initialization reference code);
after the primary test is finished, entering an EFI shell, reading a BIOS data area table based on MMA service, and obtaining RMT data in the primary restarting process;
and restarting the server to be tested after obtaining the RMT data in the last restarting process according to the set batch file, and executing the next test through the MRC until the set collection turns are completed.
Optionally, the set number of collection turns is 5.
Optionally, according to the acquired RMT test data collection command, the method for configuring options for the BIOS of the server to be tested includes:
setting the serial port configuration option level as a minimum level;
the BSSA (BIOS Shared SW Architecture BIOS, shared software architecture) memory margin test tool is set to an on state;
the memory margin testing tool is set to be in a closed state;
the BIOS data area table is set to be in an open state;
the BSSA target loader is set to be in an open state;
a system for collecting RMT test data based on MMA services under a Whitley platform, the system comprising:
the BIOS configuration module is used for carrying out option configuration on the BIOS of the server to be tested according to the acquired RMT test data collection command;
the RMT data acquisition module is used for reading the BIOS data area table based on MMA service under the EFI shell after restarting the server to be tested each time according to the set collection turns, and acquiring the RMT data in the restarting process;
and the storage module is used for storing the RMT data.
Optionally, the RMT data retrieval module includes:
the test unit is used for executing each test through the MRC after restarting the server to be tested;
the RMT data acquisition unit is used for entering the EFI shell after completing one test, reading the BIOS data area table based on MMA service, and acquiring the RMT data in each restarting process;
and the restarting unit is used for restarting the server to be tested after acquiring the RMT data in the last restarting process according to the set batch file, and executing the next test through the MRC until the set collection turns are completed.
Optionally, the storage module is a USB device connected to the server to be tested.
Optionally, the BIOS configuration module is configured to set the serial port configuration option level to a minimum level, the BSSA memory margin testing tool is set to an open state, the memory margin testing tool is set to a closed state, the BIOS data area table is set to an open state, and the BSSA target loader is set to an open state.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
the application provides a method for collecting RMT test data based on MMA service under a Whitley platform, which comprises the steps of firstly configuring options of BIOS of a server to be tested according to an acquired RMT test data collection command; secondly, according to the set collection turns, after restarting the server to be tested, reading a BIOS data area table based on MMA service under the EFI shell, and obtaining RMT data in the restarting process; and finally, the RMT data are stored in USB equipment connected with the server to be tested. According to the embodiment, the data in the BIOS data area table is read based on the MMA service, the restarted RTM data is directly stored in the USB device, an additional PC and a serial port line are not needed, and the collection efficiency of the RMT test data can be effectively improved. And the serial port is not required to be collected again during each restarting, automatic restarting can be realized through batch processing files, and the server is restarted automatically after a group of data is collected, so that the effect of collecting a plurality of groups of RMT data once is realized, and the collection efficiency of the RMT test data is greatly improved.
The application also provides a system for collecting RMT test data based on MMA service under the Whitley platform. The system mainly comprises a BIOS configuration module, an RMT data acquisition module and a storage module, and can carry out option configuration on the BIOS of the server to be tested through the setting of the BIOS configuration module, so that the automatic restarting and data collection are ensured to be carried out subsequently, and the data collection efficiency is improved. Compared with the prior art, the setting of the RMT data acquisition module does not need an additional PC and serial port line, reads the BIOS data area table based on MMA service, can collect RMT data in time, realizes automatic restarting after collection, and is favorable for greatly improving the collection efficiency and the operation efficiency of RMT test data.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flow chart of a method for collecting RMT test data based on MMA service under a Whitley platform according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a system for collecting RMT test data based on MMA service under the Whitley platform according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
For a better understanding of the present application, embodiments of the present application are explained in detail below with reference to the drawings.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a method for collecting RMT test data based on MMA service under a Whitley platform according to an embodiment of the present application. As can be seen from fig. 1, the method for collecting RMT test data based on MMA service under the Whitley platform in this embodiment mainly includes the following procedures:
s1: and carrying out option configuration on the BIOS of the server to be tested according to the acquired RMT test data collection command.
Specifically, step S1 includes the following procedure:
setting the serial port configuration option level as a minimum level; the BSSA memory margin testing tool is set to be in an open state; the memory margin testing tool is set to be in a closed state; the BIOS data area table is set to be in an open state; the BSSA target loader is set to an open state. The serial port configuration option grade is erial Debug Message Level, the BSSA memory Margin testing Tool is BSSA Rank Margin Tool, the memory Margin testing Tool is Rank Margin Tool, the BIOS data area table is BDAT, and the BSSA target loader is BSSA Target Loader.
In the above option configuration, the option level of the serial port configuration, the BSSA memory margin testing tool, the memory margin testing tool, and the BIOS data area table are set as the option setting method for normally testing RMT.
With continued reference to fig. 1, after the BIOS of the server to be tested is configured with options, step S2 is executed: and according to the set collection turns, after restarting the server to be tested, reading the BIOS data area table under the EFI shell based on MMA service, and obtaining the RMT data in the restarting process.
Specifically, step S2 includes:
s21: after restarting the server to be tested, the test is executed through the MRC.
S22: after the primary test is completed, entering the EFI shell, reading the BIOS data area table based on MMA service, and obtaining the RMT data in the primary restarting process.
S23: and restarting the server to be tested after obtaining the RMT data in the last restarting process according to the set batch file, and executing the next test through the MRC until the set collection turns are completed.
As can be seen from the above steps S21-S23, under the EFI shell, the server to be tested uses the MMA service in the usb disk to read the data in the BIOS data area table, collect the rank margin data in the restarting process, and store the rank margin data in the usb disk. By setting batch files, a plurality of groups of rank margin data can be collected at one time, and the server can be restarted automatically until the set collection number of turns is reached after one group of data is collected.
In this embodiment, batch processing is adopted, and the set collection turns are determined according to the collection number of actual RMT test data and the application scenario. Based on the Whitley platform, the RMT test performed in this example requires 25 sets, 5 times may be selected, the memory location is replaced after 5 sets of tests each time, the next 5 sets are tested, and 25 sets of tests are completed 5 times. The set collection turns can improve the collection efficiency of the RMT data, and batch processing files do not need to be frequently set.
S3: and saving the RMT data to USB equipment connected with the server to be tested.
In this embodiment, RMT data is stored in the usb disk, and no additional PC is required to store the RMT data, which is favorable for reducing the operation procedure and improving the data collection efficiency.
The process of collecting RMT test data using the method of this embodiment is described in detail below:
1) The BIOS down option is modified.
The options are set as follows:
Platform Configuration|Miscellaneous|Serial Debug Message Level=Minimum
Socket Configuration|Memory Configuration|BSSA Configuration Menu|BSSA
Rank Margin Tool=Enable
Socket Configuration|Memory Configuration|Rank Margining Tool=Disable
Socket Configuration|Memory Configuration|BDAT=Enable
Socket Configuration|Memory Configuration|BSSA Configuration Menu|BSSA
Target Loader=Enable
Socket Configuration|Memory Configuration|BSSA Configuration Menu|BSSA
Rank Margin Tool=Disable
2) And writing batch files.
The number of collection turns is taken as 5 as an example.
executables\RMT.efi;configurations\RMT\RMTConfig.bin;results\RMT_01.tsv
executables\RMT.efi;configurations\RMT\RMTConfig.bin;results\RMT_02.tsv
executables\RMT.efi;configurations\RMT\RMTConfig.bin;results\RMT_03.tsv
executables\RMT.efi;configurations\RMT\RMTConfig.bin;results\RMT_04.tsv
executables\RMT.efi;configurations\RMT\RMTConfig.bin;results\RMT_05.tsv
3) Copying
Figure BDA0003840695380000061
MMA file package to USB device, insert USB device into the server to be measured.
4) And starting the server to be tested, and enabling boot to enter the EFI shell.
5) Fs0, typically fs0, is entered under EFI cues and switched to the USB device.
6) Input: efi shellsupporter loader. Efi RMT_batch. Txt.
Wherein rmt_batch.txt is a batch file written in the first step.
7) The server to be tested is restarted, a test is executed through Memory Reference Code (MRC), after a round of test is completed, the server to be tested automatically enters the EFI shell, and each line in the batch file is a single boot cycle.
8) And (5) saving the RMT test result.
Example two
Referring to fig. 2 based on the embodiment shown in fig. 1, fig. 2 is a schematic structural diagram of a system for collecting RMT test data based on MMA service under a Whitley platform according to an embodiment of the present application.
As can be seen from fig. 2, the system for collecting RMT test data based on MMA service under the Whitley platform in this embodiment mainly includes: BIOS configuration module, RMT data acquisition module and storage module. The BIOS configuration module is used for carrying out option configuration on the BIOS of the server to be tested according to the acquired RMT test data collection command; the RMT data acquisition module is used for reading the BIOS data area table based on MMA service under the EFI shell after restarting the server to be tested each time according to the set collection turns, and acquiring the RMT data in the restarting process; and the storage module is used for storing the RMT data.
Wherein, the RMT data acquisition module includes: the device comprises a test unit, an RMT data acquisition unit and a restarting unit. The test unit is used for executing each test through the MRC after restarting the server to be tested; the RMT data acquisition unit is used for entering the EFI shell after completing one test, reading the BIOS data area table based on MMA service, and acquiring the RMT data in each restarting process; and the restarting unit is used for restarting the server to be tested after acquiring the RMT data in the last restarting process according to the set batch file, and executing the next test through the MRC until the set collection turns are completed.
In this embodiment, the storage module may select a USB device, and the USB device is connected to the server to be tested.
Further, the RMT data retrieval module includes: the device comprises a test unit, an RMT data acquisition unit and a restarting unit. The test unit is used for executing each test through the MRC after restarting the server to be tested; the RMT data acquisition unit is used for entering the EFI shell after completing one test, reading the BIOS data area table based on MMA service, and acquiring the RMT data in each restarting process; and the restarting unit is used for restarting the server to be tested after acquiring the RMT data in the last restarting process according to the set batch file, and executing the next test through the MRC until the set collection turns are completed.
In this embodiment, the BIOS configuration module is mainly configured to set the serial port configuration option level to a minimum level, the BSSA memory margin testing tool is set to an open state, the memory margin testing tool is set to a closed state, the BIOS data area table is set to an open state, and the BSSA target loader is set to an open state.
The working principle and working method of the system for collecting RMT test data based on MMA service under the Whitley platform in this embodiment are already described in detail in the embodiment shown in fig. 1, and reference may be made between the two embodiments, which are not described herein.
The foregoing is merely a specific embodiment of the application to enable one skilled in the art to understand or practice the application. 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 application. Thus, the present application 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 (8)

1. A method for collecting RMT test data based on MMA services under a Whitley platform, the method comprising:
according to the acquired RMT test data collection command, carrying out option configuration on BIOS of the server to be tested;
according to the set collection turns, after restarting the server to be tested each time, reading a BIOS data area table based on MMA service under the EFI shell, and obtaining RMT data in the restarting process;
and storing the RMT data into USB equipment connected with the server to be tested.
2. The method for collecting RMT test data based on MMA service under the Whitley platform according to claim 1, wherein the method for obtaining RMT data during restart by reading the BIOS data area table based on MMA service under the EFI shell after each restart of the server under test according to the set collection number of times comprises:
after restarting the server to be tested, executing a test through the MRC;
after the primary test is finished, entering EFIshell, reading a BIOS data area table based on MMA service, and obtaining RMT data in the primary restarting process;
and restarting the server to be tested after obtaining the RMT data in the last restarting process according to the set batch file, and executing the next test through the MRC until the set collection turns are completed.
3. The method for collecting RMT test data based on MMA service under the Whitley platform as claimed in claim 1, wherein the number of collection turns is 5.
4. The method for collecting RMT test data based on MMA service under whatley platform as claimed in claim 1, wherein the method for configuring options of BIOS of server under test according to the obtained RMT test data collection command comprises:
setting the serial port configuration option level as a minimum level;
the BSSA memory margin testing tool is set to be in an open state;
the memory margin testing tool is set to be in a closed state;
the BIOS data area table is set to be in an open state;
the BSSA target loader is set to an open state.
5. A system for collecting RMT test data based on MMA services under a Whitley platform, the system comprising:
the BIOS configuration module is used for carrying out option configuration on the BIOS of the server to be tested according to the acquired RMT test data collection command;
the RMT data acquisition module is used for reading the BIOS data area table based on MMA service under the EFI shell after restarting the server to be tested each time according to the set collection turns, and acquiring the RMT data in the restarting process;
and the storage module is used for storing the RMT data.
6. The system for collecting RMT test data based on MMA services under the Whitley platform as claimed in claim 5, wherein the RMT data retrieval module includes:
the test unit is used for executing each test through the MRC after restarting the server to be tested;
the RMT data acquisition unit is used for entering the EFI shell after completing one test, reading the BIOS data area table based on MMA service, and acquiring the RMT data in each restarting process;
and the restarting unit is used for restarting the server to be tested after acquiring the RMT data in the last restarting process according to the set batch file, and executing the next test through the MRC until the set collection turns are completed.
7. The system for collecting RMT test data based on MMA services under the Whitley platform as claimed in claim 5, wherein the storage module is a USB device connected to the server under test.
8. The system for collecting RMT test data based on MMA services under the Whitley platform as claimed in claim 5, wherein the BIOS configuration module is configured to set serial port configuration option level to minimum level, BSSA memory margin test tool to on state, memory margin test tool to off state, BIOS data region table to on state, BSSA target loader to on state.
CN202211101599.9A 2022-09-09 2022-09-09 Method and system for collecting RMT test data based on MMA service under Whitley platform Pending CN116302724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211101599.9A CN116302724A (en) 2022-09-09 2022-09-09 Method and system for collecting RMT test data based on MMA service under Whitley platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211101599.9A CN116302724A (en) 2022-09-09 2022-09-09 Method and system for collecting RMT test data based on MMA service under Whitley platform

Publications (1)

Publication Number Publication Date
CN116302724A true CN116302724A (en) 2023-06-23

Family

ID=86826299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211101599.9A Pending CN116302724A (en) 2022-09-09 2022-09-09 Method and system for collecting RMT test data based on MMA service under Whitley platform

Country Status (1)

Country Link
CN (1) CN116302724A (en)

Similar Documents

Publication Publication Date Title
US7743292B2 (en) Apparatus and method for memory card testing
CN102495789B (en) Automatic test method and device for the same
CN101369463B (en) Flash memory detection classification method
CN110718264A (en) Method and device for testing information of solid state disk, computer equipment and storage medium
CN111950212A (en) Efficient multi-mode verification platform and method
CN102479121A (en) Method for realizing and testing redundant array of independent disks (RAID)
CN115510804A (en) Full-chip pin multiplexing automatic verification method, device, equipment and storage medium
CN109460359A (en) A kind of software version test method and system for embedded device
CN116302724A (en) Method and system for collecting RMT test data based on MMA service under Whitley platform
CN107807870B (en) Method and system for testing power-down protection function of storage server mainboard
CN113960391A (en) Abnormal power failure testing device and method for storage medium
CN112216340A (en) Hard disk test method and device, storage medium and electronic equipment
CN107885536A (en) Startup method, embeded processor and the storage device of a kind of embeded processor
CN116382991A (en) Storage device testing method and device, computer device and storage medium
CN110764960A (en) Solid state disk firmware testing method
CN113872839B (en) Real vehicle testing method based on CAN signal automatic transmission and storage medium
CN112860316B (en) Kernel and BSP transplanting method of openEular open source system
CN112464594B (en) Circuit function simulation test method, device, equipment and readable storage medium
CN114492266A (en) Chip verification method and device, electronic equipment and storage medium
CN102750167A (en) Method and device for starting application program and computer system
CN109408277B (en) Method for testing link characteristics of data block of AEP memory
CN109884435B (en) Relay protection device tester, automatic testing method and device
CN101710302B (en) Firmware program detecting method based on NandFlash storage medium
CN112329362B (en) General method, device and storage medium for complex engineering modification of chip
CN114996066A (en) Hard disk incoming material inspection method based on fio and ipmitool

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