A method, apparatus, device, and medium for diagnosing data processors.
By implementing a separate diagnostic process for the data processor (DPU), including performance testing, firmware updates, and internal component inspections, the problem of incomplete DPU diagnostics in existing technologies has been resolved. This enables more comprehensive test coverage and automated diagnostics, thereby improving product quality and efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2023-09-27
- Publication Date
- 2026-07-17
AI Technical Summary
The lack of a separate diagnostic process for data processors (DPUs) in existing technologies results in incomplete diagnostic testing of servers paired with DPUs, affecting product shipment quality.
A data processor diagnostic method is provided, which includes connecting the server and DPU to a diagnostic network respectively, performing performance tests and then refreshing the firmware, and performing diagnostic tests on each component inside the DPU, including configuration information and health status checks, until a test report is output.
It improved the diagnostic test coverage of servers paired with DPUs, ensuring product shipment quality and enabling automated testing, thus saving labor costs.
Smart Images

Figure CN117234829B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computers, and more particularly to a method, apparatus, device, and readable medium for diagnosing a data processor. Background Technology
[0002] Data Processors (DPUs) are a new type of processor used to enhance the processing capabilities of data center infrastructure, providing a valuable solution to data center bottlenecks. They are designed to provide software-defined, hardware-accelerated data center infrastructure for cloud computing, core data centers, and edge computing applications. A DPU can be viewed as a small server, containing a CPU, memory, hard drive, network interface card (NIC), PCBA (Printed Circuit Board Assembly) cards, etc. While the server undergoes diagnostic testing, the DPU also needs to be tested separately to ensure the overall quality of the server configuration with the DPU.
[0003] In the current factory diagnostic process, DPU testing is included in the server diagnostic process, encompassing DPU presence status checks, sensor information checks, health status checks, and cycle testing. There is currently no separate diagnostic process for the DPU itself. Summary of the Invention
[0004] In view of this, the purpose of this invention is to provide a method, apparatus, device and readable medium for data processor diagnosis. By using the technical solution of this invention, the diagnostic test coverage of servers paired with data processors can be improved, further ensuring product shipment quality. The method of this invention can realize automated testing and effectively save labor costs.
[0005] To achieve the above objectives, one aspect of the present invention provides a method for diagnosing a data processor, comprising the following steps:
[0006] Connect the server and data processor to the diagnostic network respectively, and start the server performance test;
[0007] In response to the completion of server performance testing, the firmware of each data processor is refreshed;
[0008] In response to the completion of each firmware update of the data processor, diagnostic tests are performed on each component inside the data processor.
[0009] In response to the successful diagnostic tests of all components within the data processor, a stress test is performed on the server side to directly access memory by the data processor, and a test report is output.
[0010] According to one embodiment of the present invention, in response to the completion of firmware updates for the data processor, diagnostic tests are performed on various components within the data processor, including:
[0011] Check whether the configuration information and health status of the data processor are normal;
[0012] In response to the normal configuration information and health status of the data processor, check whether the consistency of the data processor's firmware and component configuration is correct;
[0013] In response to the correct consistency of the data processor's firmware and component configuration, the alarm thresholds in the data processor's BIOS options are modified to default values;
[0014] In response to the completion of the modification of various alarm thresholds in the BIOS options of the data processor, the CPU stress test of the data processor is performed, and after the CPU stress test is completed, the configuration information and health status of the data processor are checked to see if they are normal.
[0015] In response to the normal CPU stress test and the normal configuration information and health status of the data processor, a power-on cycle test of the data processor is performed for the first threshold number of times, and the configuration information and health status of the data processor are checked after each power-on cycle test.
[0016] In response to the normal power-on / off cycle test and the normal configuration information and health status of the data processor, a second threshold number of reboot cycle tests are performed on the data processor, and the configuration information and health status of the data processor are checked after each reboot cycle test.
[0017] In response to the normal reboot cycle test and the normal configuration information and health status of the data processor, a mixed stress test is performed on the memory and CPU of the data processor, and the configuration information and health status of the data processor are checked after the mixed stress test is completed.
[0018] In response to the normal performance of the mixed stress test and the normal configuration information and health status of the data processor, a stress test is performed on the hard drive of the data processing, and the configuration information and health status of the data processor are checked after the hard drive stress test is completed.
[0019] In response to the normal hard drive stress test and the normal configuration information and health status of the data processor, a storage performance test is performed on the data processor, and after the storage performance test is completed, the configuration information and health status of the data processor are checked to see if they are normal.
[0020] In response to the normal performance of the storage test and the normal configuration information and health status of the data processor, a stress test is performed on the network card of the data processor, and the configuration information and health status of the data processor are checked after the network card stress test is completed.
[0021] In response to the network card stress test being normal and the data processor's configuration information and health status being normal, the alarm thresholds in the data processor's BIOS options are modified back to their original values.
[0022] In response to the completion of various alarm threshold modifications in the data processor's BIOS options, the connectivity between the data processor and the server is detected;
[0023] In response to the normal connectivity between the data processor and the server, the system collects and outputs the data processor's file information.
[0024] According to one embodiment of the present invention, detecting whether the configuration information and health status of the data processor are normal includes:
[0025] The configuration information of the data processor is checked, including whether the model, quantity and parameters of the CPU, memory and hard drive of the data processor are normal, and whether the network card model, network card parameters and number of network ports of the data processor are normal.
[0026] Checking the health status of the data processor includes checking the BMC SEL log, BMC sensor information, system log, and whether the PCIe device bandwidth rate is normal.
[0027] According to one embodiment of the present invention, in response to the normal configuration information and health status of the data processor, detecting whether the consistency of the firmware and component configuration of the data processor is correct includes:
[0028] Use the configuration files of a preset number of data processors with the same configuration in the same order as the baseline configuration files;
[0029] Compare the configuration files of the remaining data processors in the order with the baseline configuration file.
[0030] According to one embodiment of the present invention, in response to the storage performance test being normal and the configuration information and health status of the data processor being normal, a stress test is performed on the network interface card (NIC) of the data processor, and after the NIC stress test is completed, the detection of whether the configuration information and health status of the data processor are normal includes:
[0031] Use the two ports of the data processor's network card as the server and client respectively;
[0032] Use the iperf tool to perform a flow test on the two ports and compare the test results with the standard values.
[0033] According to one embodiment of the present invention, in response to the completion of modifications to various alarm thresholds in the BIOS options of the data processor, detecting the connectivity between the data processor and the server includes:
[0034] Connect the management port of the server BMC to the network port of the data processor;
[0035] Set the IP address and routing of the data processor's network port and the server BMC's management network port to static IP addresses on the same network segment;
[0036] Ping the static IP address of the BMC server's management port from the data processor's system.
[0037] According to one embodiment of the present invention, in response to the successful completion of diagnostic tests on various components within the data processor, a stress test on the direct memory access of the data processor is performed on the server side, and a test report is output including:
[0038] The stress test of direct memory access by the data processor on the server side has passed, and the configuration information and health status of the data processor have been checked to see if they are normal.
[0039] If the data processor's configuration information and health status are normal, a test report will be output.
[0040] Another aspect of the present invention provides a data processor diagnostic apparatus, the apparatus comprising:
[0041] The startup module is configured to connect the server and data processor to the diagnostic network respectively, and to enable server performance testing.
[0042] The refresh module is configured to refresh the firmware of the data processor in response to the completion of server performance testing.
[0043] The test module is configured to perform diagnostic tests on various components inside the data processor in response to the completion of each firmware update of the data processor.
[0044] The output module is configured to perform a stress test on the server side to directly access memory of the data processor in response to the passing of diagnostic tests of various components inside the data processor, and output a test report.
[0045] Another aspect of the embodiments of the present invention also provides a computer device, the computer device comprising:
[0046] At least one processor; and
[0047] The memory stores computer instructions that can be executed by a processor, which, when executed by the processor, implement the steps of any of the methods described above.
[0048] In another aspect, embodiments of the present invention also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the above methods.
[0049] The present invention has the following beneficial technical effects: The data processor diagnostic method provided in the embodiments of the present invention, by connecting the server and the data processor to a diagnostic network respectively and starting the server performance test; in response to the completion of the server performance test, updating the firmware of each component of the data processor; in response to the completion of the firmware update of each component of the data processor, performing diagnostic tests on each component of the data processor; in response to the passing of the diagnostic tests on each component of the data processor, performing a stress test on the direct memory access of the data processor on the server side and outputting a test report, can improve the diagnostic test coverage of the server and data processor, further ensuring the quality of product shipment. The method of the present invention can realize automated testing and effectively save labor costs. Attached Figure Description
[0050] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained based on these drawings without creative effort.
[0051] Figure 1 This is a schematic flowchart of a data processor diagnostic method according to an embodiment of the present invention;
[0052] Figure 2 A schematic diagram of a data processor diagnostic method according to an embodiment of the present invention.
[0053] Figure 3 This is a schematic diagram of a data processor diagnostic apparatus according to an embodiment of the present invention;
[0054] Figure 4 This is a schematic diagram of a computer device according to an embodiment of the present invention;
[0055] Figure 5 This is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention. Detailed Implementation
[0056] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to specific examples and the accompanying drawings.
[0057] Based on the above objectives, a first aspect of the embodiments of the present invention provides an embodiment of a method for diagnosing a data processor. Figure 1 The diagram shown is a schematic flowchart of the method.
[0058] like Figure 1 As shown, the method may include the following steps:
[0059] S1 connects the server and data processor to the diagnostic network separately and initiates server performance testing. The server and DPU are then connected to the diagnostic PXE (Preboot Execution Environment) network, booting into the diagnostic OS (system) via the PXE network to begin the diagnostic process. After the DPU enters the diagnostic OS, it remains stationary until the server completes firmware updates and cycle testing, reaching a stable state before starting DPU diagnostic testing. Server cycle testing includes AC cycle (power-on / off cycle), DC cycle (power-on / off cycle), and reboot cycle tests to prevent DPU testing interruption due to server power loss during cycle testing. Server performance testing includes firmware updates, including updates to the BMC, BIOS, CPLD, hard drive, network card, HCA card, and GPU firmware. Server configuration checks include DPU presence checks. Server health checks include DPU bandwidth rate checks and sensor information checks. The server cycle test includes AC cycle, DC cycle, and reboot cycle tests. After each cycle, the server restarts and checks the DPU's presence and health status. The server undergoes stress tests on components such as CPU, memory, and hard drive. If all the above tests are normal, the server waits for the DPU test to begin.
[0060] In response to the completion of server performance testing, S2 updates the firmware of each data processor component. After the server test is completed, the DPU performs the update process first, including updating the DPU's FRU, BMC, BIOS, and FPGA firmware. After the update is complete, the power cycle takes effect.
[0061] In response to the completion of firmware updates for the data processor, S3 performs diagnostic tests on all internal components of the data processor. Once the DPU's components have been updated, diagnostic tests are initiated on all internal components of the DPU, including on-premises status checks, health checks, stress tests, and performance tests for each component (CPU, memory, hard drive, network card, FPGA chip, etc.). Server-side stress testing of the DPU is added, as well as interaction tests between the server and the DPU. During the diagnostic process, the DPU periodically checks the server's power-on / off status. If the server is powered off and is undergoing tests such as AC cycle testing or firmware update, a power-on command is sent out-of-band to power on the server.
[0062] In response to the successful diagnostic tests of all components within the data processor, S4 performs a direct memory access stress test on the server side and outputs a test report. After the diagnostic tests of all components of the DPU pass, a DPU DMA (Direct Memory Access) stress test is performed on the server side. After the stress test is completed, the configuration information and health status of the DPU are checked. If the configuration information and health status of the data processor are normal, a test report is output.
[0063] By using the technical solution of the present invention, the diagnostic test coverage of the server paired with the data processor can be improved, further ensuring the quality of product shipment. The method of the present invention can realize automated testing and effectively save labor costs.
[0064] In a preferred embodiment of the present invention, such as Figure 2 As shown, in response to the completion of each firmware update for the data processor, diagnostic tests are performed on each component within the data processor, including:
[0065] Check whether the configuration information and health status of the data processor are normal;
[0066] In response to the normal configuration information and health status of the data processor, check whether the consistency of the data processor's firmware and component configuration is correct;
[0067] In response to the consistency and correctness of the firmware and component configuration of the data processor, the alarm thresholds in the data processor's BIOS options are modified to the default values, and the DPU's BIOS setup options are modified to lower the alarm thresholds in order to expose more problems during stress testing and improve diagnostic quality. Modifications are made to options such as memory ECC threshold and PCIE CE threshold.
[0068] After the various alarm thresholds in the data processor's BIOS options have been modified, the CPU stress test of the data processor is performed. After the CPU stress test is completed, the configuration information and health status of the data processor are checked to see if they are normal. The power consumption test can be performed using the PTU tool (PTU-Y-CT 8-T60). After the test is completed, check the test results.
[0069] In response to the normal CPU stress test and the normal configuration information and health status of the data processor, a power-on cycle test of the data processor is performed for the first threshold number of times, and the configuration information and health status of the data processor are checked after each power-on cycle test.
[0070] In response to the normal power-on / off cycle test and the normal configuration information and health status of the data processor, a second threshold number of reboot cycle tests are performed on the data processor, and the configuration information and health status of the data processor are checked after each reboot cycle test.
[0071] In response to the normal reboot cycle test and the normal configuration information and health status of the data processor, a mixed stress test is performed on the memory and CPU of the data processor. After the mixed stress test is completed, the configuration information and health status of the data processor are checked to see if they are normal. The mprime tool can be used for CPU stress test and the stressapp tool can be used for memory stress test.
[0072] In response to the normal performance of the hybrid stress test and the normal configuration and health status of the data processor, stress test the hard drive of the data processor, and check whether the configuration and health status of the data processor are normal after the hard drive stress test is completed. The fio tool can be used to stress test the hard drive of the DPU.
[0073] In response to the normal hard drive stress test and the normal configuration information and health status of the data processor, a storage performance test is performed on the data processor. After the storage performance test is completed, the configuration information and health status of the data processor are checked to see if they are normal. The storage performance test includes DMA test and DDR test.
[0074] In response to the normal performance of the storage test and the normal configuration information and health status of the data processor, a stress test is performed on the network card of the data processor, and the configuration information and health status of the data processor are checked after the network card stress test is completed.
[0075] In response to the network card stress test being normal and the data processor's configuration information and health status being normal, the alarm thresholds in the data processor's BIOS options are modified back to their original values.
[0076] In response to the completion of various alarm threshold modifications in the data processor's BIOS options, the connectivity between the data processor and the server is detected;
[0077] In response to the normal connectivity between the data processor and the server, the system collects and outputs the data processor's profile information. This testing process includes testing of all components within the DPU. These tests can be performed automatically. If any test fails to meet requirements, an alarm is triggered and a test report is output. This testing improves the diagnostic test coverage of the server and data processor, further ensuring product quality and effectively saving labor costs.
[0078] In a preferred embodiment of the present invention, detecting whether the configuration information and health status of the data processor are normal includes:
[0079] The configuration information of the data processor is checked, including whether the model, quantity and parameters of the CPU, memory and hard drive of the data processor are normal, and whether the network card model, network card parameters and number of network ports of the data processor are normal.
[0080] Checking the health status of the data processor includes verifying the normality of the BMC SEL logs, BMC sensor information, system logs, and PCIe device bandwidth. This includes checking for alarms, errors, and failures in the DPU BMC SEL logs; verifying the normality of temperature, voltage, and power information in the BMC sensor information; inspecting demsg, messages, and mcelog in the DPU OS logs; and checking the PCIe device bandwidth.
[0081] In a preferred embodiment of the present invention, in response to the normal configuration information and health status of the data processor, detecting whether the consistency of the firmware and component configuration of the data processor is correct includes:
[0082] Use the configuration files of a preset number of data processors with the same configuration in the same order as the baseline configuration files;
[0083] The configuration files of the remaining data processors in the order are compared with the baseline configuration file. The file systems (FW) and component configurations of DPUs with the same configuration in the same order are identical. Therefore, the configuration of the first three DPUs can be used as a baseline to generate the order's baseline configuration file, which is then compared with the configuration files of the other DPUs in the order.
[0084] In a preferred embodiment of the present invention, in response to the storage performance test being normal and the configuration information and health status of the data processor being normal, a stress test is performed on the network card of the data processor, and after the network card stress test is completed, the detection of whether the configuration information and health status of the data processor are normal includes:
[0085] Use the two ports of the data processor's network card as the server and client respectively;
[0086] Use the iperf tool to perform a flow test on the two ports and compare the test results with the standard values.
[0087] In a preferred embodiment of the present invention, in response to the completion of modifications to various alarm thresholds in the BIOS options of the data processor, detecting the connectivity between the data processor and the server includes:
[0088] Connect the management port of the server BMC to the network port of the data processor;
[0089] Set the IP address and routing of the data processor's network port and the server BMC's management network port to static IP addresses on the same network segment;
[0090] Ping the static IP address of the BMC server's management port from the data processor's system.
[0091] In a preferred embodiment of the present invention, in response to the successful completion of diagnostic tests on the various components within the data processor, a stress test on the direct memory access of the data processor is performed on the server side, and a test report is output including:
[0092] The stress test of direct memory access by the data processor on the server side has passed, and the configuration information and health status of the data processor have been checked to see if they are normal.
[0093] If the data processor's configuration information and health status are normal, a test report will be output.
[0094] By using the technical solution of the present invention, the diagnostic test coverage of the server paired with the data processor can be improved, further ensuring the quality of product shipment. The method of the present invention can realize automated testing and effectively save labor costs.
[0095] It should be noted that those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc. The embodiments of the computer program described above can achieve the same or similar effects as any of the corresponding foregoing method embodiments.
[0096] Furthermore, the method disclosed in the embodiments of the present invention can also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. When the computer program is executed by the CPU, it performs the functions defined in the method disclosed in the embodiments of the present invention.
[0097] In view of the above objectives, a second aspect of the embodiments of the present invention provides a data processor diagnostic apparatus, such as... Figure 3 As shown, the device 200 includes:
[0098] The startup module is configured to connect the server and data processor to the diagnostic network respectively, and to enable server performance testing.
[0099] The refresh module is configured to refresh the firmware of the data processor in response to the completion of server performance testing.
[0100] The test module is configured to perform diagnostic tests on various components inside the data processor in response to the completion of each firmware update of the data processor.
[0101] The output module is configured to perform a stress test on the server side to directly access memory of the data processor in response to the passing of diagnostic tests of various components inside the data processor, and output a test report.
[0102] In view of the above objectives, a third aspect of the present invention provides a computer device. Figure 4 The diagram shown is a schematic representation of an embodiment of the computer device provided by the present invention. Figure 4 As shown, embodiments of the present invention include the following apparatus: at least one processor 21; and a memory 22, the memory 22 storing computer instructions 23 that can be executed on the processor, the instructions implementing the above method when executed by the processor.
[0103] In view of the above objectives, a fourth aspect of the present invention provides a computer-readable storage medium. Figure 5The diagram illustrates an embodiment of the computer-readable storage medium provided by the present invention. Figure 5 As shown, the computer-readable storage medium 31 stores a computer program 32 that, when executed by a processor, performs the methods described above.
[0104] Furthermore, the method disclosed in the embodiments of the present invention can also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. When the computer program is executed by the processor, it performs the functions defined in the method disclosed in the embodiments of the present invention.
[0105] Furthermore, the above-described method steps and system units can also be implemented using a controller and a computer-readable storage medium for storing a computer program that enables the controller to perform the functions of the above-described steps or units.
[0106] Those skilled in the art will also understand that the various exemplary logic blocks, modules, circuits, and algorithm steps described in conjunction with the disclosure herein can be implemented as electronic hardware, computer software, or a combination of both. To clearly illustrate this interchangeability between hardware and software, the functionality of various illustrative components, blocks, modules, circuits, and steps has been generally described. Whether this functionality is implemented as software or as hardware depends on the specific application and the design constraints imposed on the system as a whole. Those skilled in the art can implement the functionality in various ways for each specific application, but such implementation decisions should not be construed as departing from the scope of the embodiments disclosed herein.
[0107] In one or more exemplary designs, functionality may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, functionality may be stored as one or more instructions or code on or transmitted via a computer-readable medium. Computer-readable media include computer storage media and communication media, including any medium that facilitates the transfer of a computer program from one location to another. Storage media may be any available medium accessible to a general-purpose or special-purpose computer. By way of example, and not limitation, computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disc storage devices, disk storage devices or other magnetic storage devices, or any other medium that may be used to carry or store the required program code in the form of instructions or data structures and is accessible to a general-purpose or special-purpose computer or a general-purpose or special-purpose processor. Furthermore, any connection may be appropriately referred to as computer-readable media. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the aforementioned coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are all included in the definition of media. As used herein, disks and optical discs include compact discs (CDs), laser discs, optical discs, digital versatile discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0108] The above are exemplary embodiments disclosed in this invention. However, it should be noted that various changes and modifications can be made without departing from the scope of the embodiments of this invention as defined by the claims. The functions, steps, and / or actions of the methods according to the disclosed embodiments described herein do not need to be performed in any particular order. Furthermore, although the elements disclosed in the embodiments of this invention may be described or claimed individually, they may be understood as multiple unless explicitly limited to a singular number.
[0109] It should be understood that, as used herein, the singular form “a” is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, “and / or” refers to any and all possible combinations of one or more of the associated listed items.
[0110] The embodiment numbers disclosed in the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0111] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0112] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of the invention (including the claims) is limited to these examples. Within the framework of the invention, technical features of the above embodiments or different embodiments can be combined, and many other variations of different aspects of the invention exist, which are not provided in the details for the sake of brevity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the invention should be included within the protection scope of the invention.
Claims
1. A method for diagnosing a data processor, characterized in that, Includes the following steps: Connect the server and data processor to the diagnostic network respectively, and start the server performance test; In response to the completion of server performance testing, the firmware of each data processor is refreshed; In response to the completion of each firmware update of the data processor, diagnostic tests are performed on each component inside the data processor. In response to the successful diagnostic tests of all components within the data processor, a stress test is performed on the server side to directly access memory by the data processor, and a test report is output. Diagnostic tests include: Check whether the configuration information and health status of the data processor are normal; In response to the normal configuration information and health status of the data processor, check whether the consistency of the data processor's firmware and component configuration is correct; In response to the correct consistency of the data processor's firmware and component configuration, the alarm thresholds in the data processor's BIOS options are modified to default values; In response to the completion of the modification of various alarm thresholds in the BIOS options of the data processor, the CPU stress test of the data processor is performed, and after the CPU stress test is completed, the configuration information and health status of the data processor are checked to see if they are normal. In response to the normal CPU stress test and the normal configuration information and health status of the data processor, a power-on cycle test of the data processor is performed for the first threshold number of times, and the configuration information and health status of the data processor are checked after each power-on cycle test. In response to the normal power-on / off cycle test and the normal configuration information and health status of the data processor, a second threshold number of reboot cycle tests are performed on the data processor, and the configuration information and health status of the data processor are checked after each reboot cycle test. In response to the normal reboot cycle test and the normal configuration information and health status of the data processor, a mixed stress test is performed on the memory and CPU of the data processor, and the configuration information and health status of the data processor are checked after the mixed stress test is completed. In response to the normal performance of the mixed stress test and the normal configuration information and health status of the data processor, a stress test is performed on the hard drive of the data processing, and the configuration information and health status of the data processor are checked after the hard drive stress test is completed. In response to the normal hard drive stress test and the normal configuration information and health status of the data processor, a storage performance test is performed on the data processor, and after the storage performance test is completed, the configuration information and health status of the data processor are checked to see if they are normal. In response to the normal performance of the storage test and the normal configuration information and health status of the data processor, a stress test is performed on the network card of the data processor, and the configuration information and health status of the data processor are checked after the network card stress test is completed. In response to the network card stress test being normal and the data processor's configuration information and health status being normal, the alarm thresholds in the data processor's BIOS options are modified back to their original values. In response to the completion of various alarm threshold modifications in the data processor's BIOS options, the connectivity between the data processor and the server is detected; In response to the normal connectivity between the data processor and the server, the system collects and outputs the data processor's file information.
2. The method according to claim 1, characterized in that, Checking the configuration information and health status of the data processor includes: The configuration information of the data processor is checked, including whether the model, quantity and parameters of the CPU, memory and hard drive of the data processor are normal, and whether the network card model, network card parameters and number of network ports of the data processor are normal. Checking the health status of the data processor includes checking the BMC SEL log, BMC sensor information, system log, and whether the PCIe device bandwidth rate is normal.
3. The method according to claim 1, characterized in that, In response to the assumption that the data processor's configuration information and health status are normal, the check for consistency between the data processor's firmware and component configuration includes: Use the configuration files of a preset number of data processors with the same configuration in the same order as the baseline configuration files; Compare the configuration files of the remaining data processors in the order with the baseline configuration file.
4. The method according to claim 1, characterized in that, In response to normal storage performance testing and normal configuration and health status of the data processor, a stress test is performed on the data processor's network interface card (NIC). After the NIC stress test is completed, the configuration and health status of the data processor are checked to ensure they are normal, including: Use the two ports of the data processor's network card as the server and client respectively; Use the iperf tool to perform a flow test on the two ports and compare the test results with the standard values.
5. The method according to claim 1, characterized in that, In response to the completion of various alarm threshold modifications in the data processor's BIOS options, the connectivity checks between the data processor and the server include: Connect the management port of the server BMC to the network port of the data processor; Set the IP address and routing of the data processor's network port and the server BMC's management network port to static IP addresses on the same network segment; Ping the static IP address of the BMC server's management port from the data processor's system.
6. The method according to claim 1, characterized in that, In response to the successful diagnostic tests of all components within the data processor, a stress test is performed on the server side to directly access memory by the data processor, and a test report is output including: The stress test of direct memory access by the data processor on the server side has passed, and the configuration information and health status of the data processor have been checked to see if they are normal. If the data processor's configuration information and health status are normal, a test report will be output.
7. A device for diagnosing a data processor, characterized in that, The device includes: A startup module is configured to connect the server and the data processor to the diagnostic network respectively, and to start the server's performance test. A refresh module, configured to refresh the firmware of the data processor in response to the completion of server performance testing; The testing module is configured to perform diagnostic tests on various components inside the data processor in response to the completion of each firmware update of the data processor. The output module is configured to perform a stress test on the server side to directly access memory of the data processor in response to the passing of diagnostic tests of various components inside the data processor, and output a test report. Diagnostic tests include: Check whether the configuration information and health status of the data processor are normal; In response to the normal configuration information and health status of the data processor, check whether the consistency of the data processor's firmware and component configuration is correct; In response to the correct consistency of the data processor's firmware and component configuration, the alarm thresholds in the data processor's BIOS options are modified to default values; In response to the completion of the modification of various alarm thresholds in the BIOS options of the data processor, the CPU stress test of the data processor is performed, and after the CPU stress test is completed, the configuration information and health status of the data processor are checked to see if they are normal. In response to the normal CPU stress test and the normal configuration information and health status of the data processor, a power-on cycle test of the data processor is performed for the first threshold number of times, and the configuration information and health status of the data processor are checked after each power-on cycle test. In response to the normal power-on / off cycle test and the normal configuration information and health status of the data processor, a second threshold number of reboot cycle tests are performed on the data processor, and the configuration information and health status of the data processor are checked after each reboot cycle test. In response to the normal reboot cycle test and the normal configuration information and health status of the data processor, a mixed stress test is performed on the memory and CPU of the data processor, and the configuration information and health status of the data processor are checked after the mixed stress test is completed. In response to the normal performance of the mixed stress test and the normal configuration information and health status of the data processor, a stress test is performed on the hard drive of the data processing, and the configuration information and health status of the data processor are checked after the hard drive stress test is completed. In response to the normal hard drive stress test and the normal configuration information and health status of the data processor, a storage performance test is performed on the data processor, and after the storage performance test is completed, the configuration information and health status of the data processor are checked to see if they are normal. In response to the normal performance of the storage test and the normal configuration information and health status of the data processor, a stress test is performed on the network card of the data processor, and the configuration information and health status of the data processor are checked after the network card stress test is completed. In response to the network card stress test being normal and the data processor's configuration information and health status being normal, the alarm thresholds in the data processor's BIOS options are modified back to their original values. In response to the completion of various alarm threshold modifications in the data processor's BIOS options, the connectivity between the data processor and the server is detected; In response to the normal connectivity between the data processor and the server, the system collects and outputs the data processor's file information.
8. A computer device, characterized in that, include: At least one processor; as well as A memory storing computer instructions executable on the processor, which, when executed by the processor, implement the steps of the method according to any one of claims 1-6.
9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-6.