Abnormal positioning system and method, electronic equipment and storage medium
By introducing a high-speed serial switching module and a conversion module into the baseboard management controller, parallel diagnostic information acquisition from multiple graphics processors is achieved, solving the problem of low fault location efficiency in multi-graphics processor environments and improving the speed and accuracy of anomaly location.
Patent Information
- Application Number
- CN202411534263.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-10-30
AI Technical Summary
In a multi-GPU environment, the board management controller cannot simultaneously capture diagnostic information from multiple GPUs, resulting in low fault location efficiency. Traditional debugging methods cannot support high-concurrency signal transmission, limiting the real-time performance and accuracy of anomaly location.
By employing a high-speed serial exchange module, a conversion module, a serial port interface module, and a joint test working group interface module, the baseboard management controller can acquire register information and status information of multiple graphics processors in parallel. The high-speed serial exchange module extends control instructions to acquire diagnostic information of multiple graphics processors in parallel.
It enables centralized management and control of multiple graphics processors, quickly locates fault sources, reduces troubleshooting time and manpower costs, and improves system operating efficiency and economic benefits.
Smart Images

Figure CN119046053A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of server anomaly detection, and in particular to an anomaly location system, method, electronic device and storage medium. Background Art
[0002] With the rapid development of fields such as artificial intelligence, big data processing, and high-performance computing, graphics processors play an increasingly important role in data processing and computing tasks. Modern graphics processor servers are usually equipped with multiple graphics processors to meet the needs of high concurrency and high performance. However, as the number of graphics processors increases, the complexity of the system also increases, making it more difficult to locate the problem when the graphics processor fails or anomalies occur.
[0003] In related technologies, the baseboard management controller is usually responsible for monitoring and managing the hardware status of the server. However, in a multi-GPU environment, the baseboard management controller can only obtain the status information of the GPU one by one, and cannot capture the diagnostic information of multiple GPUs at the same time. When a GPU fails, engineers need to obtain fault information through tedious steps such as reproducing the problem one by one, shutting down and restarting the computer, resulting in low debugging efficiency and thus prolonging the troubleshooting time. In addition, traditional debugging methods often rely on traditional serial port communications and joint test workgroup interfaces, which cannot effectively support high-concurrency signal transmission, limiting the real-time and accuracy of abnormal location. Summary of the invention
[0004] The embodiments of the present disclosure provide an abnormality positioning system, method, electronic device and storage medium, aiming to solve the problems existing in the above-mentioned background technology.
[0005] In order to solve the above technical problems, the present disclosure is implemented as follows: In a first aspect, an embodiment of the present disclosure provides an abnormality locating system, the system comprising: Baseboard management controller, used to connect control devices; A plurality of graphics processors, each graphics processor having a joint test workgroup interface and a serial port interface; The control device includes: a high-speed serial switching module, a first conversion module, a second conversion module, a serial port interface module and a joint test working group interface module; The input end of the high-speed serial switching module is connected to the baseboard management controller, and the output end of the high-speed serial switching module is connected to the first conversion module and the second conversion module respectively; The serial port interface module is used to connect the serial port interfaces of the multiple graphics processors; the joint test workgroup interface module is used to connect the joint test workgroup interfaces of the multiple graphics processors; The baseboard management controller is used to obtain in parallel the register information of the joint test working group interface and the status information of the serial port interface returned by the high-speed serial switching module from the multiple graphics processors to locate the abnormality.
[0006] Optionally, the baseboard management controller has a first high-speed serial interface, which is connected to the control device through a first high-speed serial signal line; the input end of the high-speed serial switching module has a second high-speed serial interface, and the output end has a third high-speed serial interface and a fourth high-speed serial interface, a first high-speed serial signal line is connected between the second high-speed serial interface and the first high-speed serial interface of the baseboard management controller, the third high-speed serial interface is connected to the first conversion module, and the fourth high-speed serial interface is connected to the second conversion module; The joint test workgroup interfaces on the plurality of graphics processors include a high potential joint test workgroup interface and a low potential joint test workgroup interface; The joint test working group interface module includes a first joint test working group interface module and a second joint test working group interface module; The first joint test workgroup interface module is connected in parallel to the high-potential joint test workgroup interfaces on the multiple graphics processors. The first joint test workgroup interface module is used to connect in parallel to the low-potential joint test workgroup interfaces on the multiple graphics processors.
[0007] Optionally, the input end of the first conversion module has a fifth high-speed serial interface, and the output end has a first joint test working group interface and a second joint test working group interface; The fifth high-speed serial interface of the first conversion module is connected to the third high-speed serial interface of the high-speed serial switching module through a second high-speed serial signal line; The first joint test working group interface of the first conversion module is connected to the first joint test working group interface module via a first joint test working group signal line, and the second joint test working group interface of the first conversion module is connected to the second joint test working group interface module via a second joint test working group signal line.
[0008] Optionally, the input end of the second conversion module has a sixth high-speed serial interface, and the output end has a serial port interface; The sixth high-speed serial interface of the second conversion module is connected to the fourth high-speed serial interface of the high-speed serial switching module through a third high-speed serial signal line, and the serial port interface of the second conversion module is connected to the serial port interface module through a serial port signal line.
[0009] Optionally, the baseboard management controller is configured with a first storage space storing diagnostic firmware, the diagnostic firmware being used to locate anomalies according to register information of the joint test workgroup interface of the plurality of graphics processors and status information of the serial port interface; The baseboard management controller is configured with a second storage space storing baseboard management controller firmware, and the priority of the baseboard management controller firmware is different from the priority of the diagnosis firmware.
[0010] In a second aspect, an embodiment of the present disclosure provides an abnormality locating method, which is applied to an abnormality locating system, and the method includes: Receiving register information and status information of at least one first graphics processor that has an abnormality among multiple graphics processors of the server in parallel through the joint test workgroup interface module and the serial port interface module, and returning the register information and the status information to the first conversion module and the second conversion module in parallel; The register information and the status information are respectively converted into a protocol and a data format compatible with a high-speed serial conversion module by the first conversion module and the second conversion module, and returned to the high-speed serial conversion module; Integrating the register information and the status information into diagnostic information through the high-speed serial switching module, and returning the diagnostic information to the baseboard management controller; The baseboard management controller performs fault location according to the diagnostic information to determine the abnormal cause of the first graphics processor.
[0011] Optionally, the performing fault location according to the diagnostic information by the baseboard management controller to determine the abnormal cause of the first graphics processor includes: Determining, by the baseboard management controller, a register value of an over-temperature register for monitoring a temperature state according to register information of the first graphics processor; Determine whether the register value of the over-temperature register is set, and if the register value of the over-temperature register is set, obtain the current temperature of the first graphics processor returned via the high-speed serial switching module; When the current temperature of the first graphics processor is greater than a preset temperature threshold, it is determined that the abnormal cause of the first graphics processor is an over-temperature abnormality.
[0012] Optionally, when the register value of the over-temperature register is not set, it is determined that the first graphics processor does not have an over-temperature exception.
[0013] Optionally, the method further comprises: When the current temperature of the first graphics processor is greater than a preset temperature threshold, obtaining, through the baseboard management controller, the current temperature of a second graphics processor returned via the high-speed serial switching module, where the second graphics processor is a graphics processor deployed adjacent to the first graphics processor; When the current temperature of the second graphics processor is greater than the preset temperature threshold, determining that the abnormal cause of the first graphics processor is abnormal ambient temperature; When the current temperature of the second graphics processor is less than or equal to the preset temperature threshold, it is determined that the abnormal cause of the first graphics processor is the abnormal temperature of the first graphics processor itself.
[0014] Optionally, the performing fault location according to the diagnostic information by the baseboard management controller to determine the abnormal cause of the first graphics processor includes: Determining, by the baseboard management controller, a register value of a logic device for performing logic control on the first graphics processor according to the register information of the first graphics processor; It is determined whether the register value of the logic device is set, and when the register value of the logic device is set, it is determined that the abnormal cause of the first graphics processor is a power supply abnormality.
[0015] Optionally, the method further comprises: When the register value of the logic device is set, obtaining, through the baseboard management controller, a register value of a key alarm register for monitoring a power-off protection state of the first graphics processor returned via the high-speed serial switching module; Determining whether the register value of the key alarm register is set, and if the register value of the key alarm register is set, determining that the abnormal cause of the first graphics processor is a power supply abnormality caused by a power-off protection abnormality of the first graphics processor; When the register value of the key alarm register is not set, it is determined that the abnormal cause of the first graphics processor is a power supply abnormality caused by a non-self abnormality of the first graphics processor.
[0016] Optionally, the method further comprises: In a case where the register value of the key alarm register is not set, judging, by the baseboard management controller, whether the power supply and timing of the logic chip on the first graphics processor are normal according to the status information of the first graphics processor; When the power supply and timing of the logic chip on the first graphics processor are normal, determining that the abnormal cause of the first graphics processor is a power supply abnormality caused by the first graphics processor itself; When the power supply and timing of the logic chip on the first graphics processor are abnormal, it is determined that the abnormal cause of the first graphics processor is a power supply abnormality not caused by the first graphics processor itself.
[0017] Optionally, the method further comprises: In the case where the register value of the logic device is not set, judging, by the baseboard management controller, whether the communication links of the plurality of graphics processors of the server are connected normally according to the status information of the first graphics processor; When the communication links of the plurality of graphics processors are connected normally, obtaining status information of a third graphics processor returned by the high-speed serial switching module, comparing the status information of the third graphics processor with the status information of the first graphics processor item by item, and determining whether there are any differences, and the third graphics processor is a graphics processor without any abnormality; In the case where there is a difference item, determining that the abnormal cause of the first graphics processor is a hardware failure or configuration error corresponding to the difference item; in the case where there is no difference item, recording the abnormality-related information of the first graphics processor and the third graphics processor into the operation log of the baseboard management controller, and the abnormality-related information is used to perform failure analysis on the first graphics processor and the third graphics processor; In the case where there is a graphics processor with an abnormal communication link connection, all graphics processors with abnormal communication link connection are determined; all graphics processors with abnormal communication link connection are swapped one by one with the first graphics processor to check whether the communication link connection is restored to normal after the position swap; in the case that the communication link connection is restored to normal after the position swap, it is determined that the cause of the abnormality of the first graphics processor is the communication link abnormality caused by its own abnormality; in the case that the communication link connection is not restored to normal after the position swap, it is determined that the cause of the abnormality of the first graphics processor is the communication link abnormality caused by a link configuration abnormality.
[0018] In a third aspect, an embodiment of the present disclosure provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of an abnormality locating method when executed by the processor.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of an exception location method are implemented.
[0020] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: The present invention can obtain the register information and status information of multiple graphics processors in parallel, avoiding the inefficient process of obtaining data one by one in the traditional method. When a fault occurs, the status information of multiple graphics processors can be monitored and analyzed at the same time, and the source of the fault can be quickly located, reducing the time for troubleshooting. In addition, the high-speed serial switching module, conversion module, serial port and joint test workgroup interface module built into the control device realize the centralized management and control of multiple graphics processors. Based on the integrated design of the present invention, not only the hardware connection is simplified, but also the downtime and labor costs caused by troubleshooting are reduced through fast and accurate abnormality positioning, thereby improving the operational efficiency and economic benefits of the overall system. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 The present invention is a hardware topology diagram of a graphics processor substrate based on a serial port interface in the related art; Figure 2 The present invention is a hardware topology diagram of a graphics processor baseboard based on a joint test working group interface in a related art; Figure 3 is a hardware topology diagram of an abnormality locating system provided by an embodiment of the present disclosure; Figure 4 This is a schematic diagram of the steps of an abnormality locating method provided by an embodiment of the present disclosure; Figure 5 is a flowchart of abnormality location of over-temperature abnormality in one embodiment of the present disclosure; Figure 6 This is a flowchart of anomaly location without identifying anomalies in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure. In the description of the embodiments of the present disclosure, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In the present disclosure, "at least one" means one or more, and "multiple" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0024] Graphics processor fault diagnosis and location is a challenge that the increasingly prosperous server industry must face. Although traditional graphics processor abnormality diagnosis methods provide basic functions, the diagnosis and management efficiency is low in high-density and high-performance server environments. Figure 1 The hardware topology diagram of a graphics processor substrate based on a serial port interface in a related technology is shown in FIG. Figure 1As shown, the solution has multiple operation, management and maintenance slots, each of which can be inserted with a graphics processor. Each graphics processor has its own serial port interface for outputting diagnostic information. Due to the limited number of interfaces of the baseboard management controller, when there are multiple graphics processors in the server, it is impossible to provide each graphics processor with an independent serial port to connect to the baseboard management controller. Therefore, a serial port multiplexer is used to switch between multiple serial port signals, thereby allowing the baseboard management controller to access the diagnostic information of any graphics processor. The baseboard management controller is responsible for monitoring all graphics processor diagnostic information transmitted through the serial port. When a problem occurs, the baseboard management controller can switch different serial port lines as needed to capture the error information of a specific graphics processor. However, when multiple graphics processors have problems at the same time, the baseboard management controller cannot capture the serial port information of all graphics processors at the same time due to hardware and software limitations. This results in the inability to monitor all graphics processor states at the same time in an emergency. In a multi-graphics processor system, the capture and analysis of diagnostic information requires switching the serial port output of each graphics processor one by one, which increases the diagnostic time. In particular, when multiple errors occur, multiple switches and tests are required to locate the problem. If you need to connect the serial port information of multiple GPUs at the same time, you need to shut down the server, open the chassis and physically connect the serial port signal line of each GPU, which is not only time-consuming but also inefficient. In addition, the use of traditional serial port multiplexers and serial port converters is limited by hardware resources, especially in high-density GPU deployment environments, where application limitations are more obvious.
[0025] Figure 2 The hardware topology diagram of a graphics processor baseboard based on a joint test working group interface in a related art is shown in FIG. Figure 2 As shown in the figure, in a multi-GPU environment, the baseboard management controller can only access a single GPU or its CPLD (complex programmable logic device) / FPGA (field programmable gate array) through a joint test workgroup connection. If you want to access the information of another GPU, you need to reconfigure the connection or physically switch to another joint test workgroup chain, which limits the ability to debug multiple GPUs simultaneously. Since only one GPU can be connected at a time, when multiple GPUs have problems or need to be debugged in parallel, the debugging efficiency will be significantly reduced, and the time for problem location and resolution will be extended, especially when complex or cross-affecting faults occur. In addition, joint test workgroup debugging requires a physical interface, such as a specific joint test workgroup head or adapter. In a dense server environment, frequent access and modification of physical connections is not only time-consuming, but also increases the complexity of operation and the possibility of errors.
[0026] In summary, the embodiments of the present disclosure provide an abnormality location system, which aims to capture relevant fault information at one time and clearly analyze the problem of abnormality of the corresponding graphics processor. Figure 3 is a hardware topology diagram of an abnormality location system provided by an embodiment of the present disclosure, such as Figure 3 As shown, the system comprises: The system comprises: Baseboard management controller, used to connect control devices; A plurality of graphics processors, each graphics processor having a joint test workgroup interface and a serial port interface; The control device includes: a high-speed serial switching module, a first conversion module, a second conversion module, a serial port interface module and a joint test working group interface module; The input end of the high-speed serial switching module is connected to the baseboard management controller, and the output end of the high-speed serial switching module is connected to the first conversion module and the second conversion module respectively; The serial port interface module is used to connect the serial port interfaces of the plurality of graphics processors; the joint test workgroup interface module is used to connect the joint test workgroup interfaces of the plurality of graphics processors; The baseboard management controller is used to obtain in parallel the register information of the joint test working group interface and the status information of the serial port interface returned by the high-speed serial switching module from the multiple graphics processors to locate the abnormality.
[0027] It should be noted that the abnormality locating system disclosed in the present invention realizes a two-way signal interaction, that is, the baseboard management controller can simultaneously send relevant control instructions to the designated abnormal graphics processor, and can also simultaneously receive diagnostic information (register information and status information) returned by multiple abnormal graphics processors to locate the abnormality. In the embodiment of the present disclosure, the baseboard management controller is the core control unit of the entire system, responsible for monitoring and managing the diagnostic information of all graphics processors, including the register information of the joint test working group interface and the status information of the serial port interface from the multiple graphics processors. The baseboard management controller communicates with other components through a high-speed serial bus to realize parallel monitoring of the graphics processor status. The core idea of the present disclosure is to expand the control instructions from the baseboard management controller through a high-speed serial switching module, and send them to the first conversion module and the second conversion module in parallel. Or integrate the register information and status information from the first conversion module and the second conversion module and return them to the baseboard management controller. Parallel acquisition of diagnostic information of multiple graphics processors avoids the single-thread monitoring problem caused by the switching of the serial port multiplexer in the traditional solution, thereby improving the efficiency of fault diagnosis.
[0028] For multiple graphics processors, each graphics processor has a serial port interface and a joint test workgroup interface. Figure 3 The number of GPUs shown is 8, which is configured in a typical GPU server. In the abnormal location process, these two interfaces are used for different diagnosis and location tasks respectively. The serial port interface is used to output the status information of the GPU, such as temperature, fault status, etc., while the joint test workgroup interface is used to obtain the information of the relevant registers of the GPU. In the traditional solution, the baseboard management controller cannot monitor the serial port information of multiple GPUs at the same time or perform joint test workgroup debugging due to interface limitations, but in the present disclosure, this limitation is broken.
[0029] The control device is the hub of the abnormality location system in the embodiment of the present disclosure, and is responsible for coordinating and converting the data communication between the baseboard management controller and multiple graphics processors. The control device can be an FPGA. The modules deployed on the control device include a high-speed serial switching module, a first conversion module, a second conversion module, a serial port interface module, and a joint test workgroup interface module. The high-speed serial switching module is used to realize high-speed data exchange in the system, and its input end is connected to the baseboard management controller, and the output end is respectively connected to the first conversion module and the second conversion module, so as to convert different types of interface data into high-speed serial data. The first conversion module and the second conversion module are respectively responsible for converting different types of data into a format that can be processed by the high-speed serial switching module for unified management and transmission. The serial port interface module is used to connect the serial port interfaces of multiple graphics processors and collect status information. The joint test workgroup interface module is used to connect the joint test workgroup interfaces of multiple graphics processors and collect register information.
[0030] The present disclosure can obtain the joint test workgroup and status information of multiple graphics processors in parallel, avoiding the inefficient process of obtaining data one by one in the traditional method. When a fault occurs, the status information of multiple graphics processors can be monitored and analyzed at the same time, and the source of the fault can be quickly located, reducing the time for troubleshooting. In addition, the high-speed serial switching module, conversion module, serial port and joint test workgroup interface module built into the control device realize centralized management and control of multiple graphics processors. Based on the integrated design of the present disclosure, not only the hardware connection is simplified, but also the downtime and labor costs caused by troubleshooting are reduced through fast and accurate abnormality positioning, thereby improving the operational efficiency and economic benefits of the overall system.
[0031] Exemplarily, the baseboard management controller has a first high-speed serial interface, which is connected to the control device through a first high-speed serial signal line; the input end of the high-speed serial switching module has a second high-speed serial interface, and the output end has a third high-speed serial interface and a fourth high-speed serial interface, a first high-speed serial signal line is connected between the second high-speed serial interface and the first high-speed serial interface of the baseboard management controller, the third high-speed serial interface is connected to the first conversion module, and the fourth high-speed serial interface is connected to the second conversion module.
[0032] The baseboard management controller has a high-speed serial interface for efficient data transmission with the high-speed serial switching module. The high-speed serial switching module has multiple high-speed serial interfaces, including a second high-speed serial interface for receiving high-speed data requests and instructions from the baseboard management controller; a third high-speed serial interface (output end), connected to the first conversion module, sending instructions from the baseboard management controller to the first conversion module, or receiving register information returned by the first conversion module; a fourth high-speed serial interface (output end), connected to the second conversion module, performing similar functions, responsible for another parallel path, sending instructions from the baseboard management controller to the second conversion module, or receiving status information returned by the second conversion module. The first high-speed serial signal line connects the first high-speed serial interface of the baseboard management controller and the second high-speed serial interface of the high-speed serial switching module, and the transmission path is used to transmit instructions from the baseboard management controller, or to transmit integrated register information and status information. The third high-speed serial interface is connected to the first conversion module, and the transmission path is used to convert high-speed serial data into a protocol and format compatible with the joint test working group interface, or to convert register information from the joint test working group interface module into a protocol and format compatible with the high-speed serial switching module. The connection between the fourth high-speed serial interface and the second conversion module is used for the status information of the serial port interface. The baseboard management controller is connected to the high-speed serial switching module through its high-speed serial interface, and is responsible for issuing instructions and receiving data from different modules. The high-speed serial switching module distributes the data from the baseboard management controller to two different conversion modules (the first and second conversion modules) in order to process data in different formats.
[0033] Exemplarily, the joint test workgroup interfaces on the plurality of graphics processors include a high-potential joint test workgroup interface and a low-potential joint test workgroup interface; The joint test working group interface module includes a first joint test working group interface module and a second joint test working group interface module; The first joint test workgroup interface module is connected in parallel to the high-potential joint test workgroup interfaces on the multiple graphics processors. The first joint test workgroup interface module is used to connect in parallel to the low-potential joint test workgroup interfaces on the multiple graphics processors.
[0034] On multiple graphics processors, the joint test workgroup interface is divided into two types: high potential and low potential. The two interfaces differ in electrical characteristics, signal transmission rate and power consumption. The high potential joint test workgroup interface is used for debugging operations that require higher voltage signals, provides stronger signal integrity, and is suitable for high-speed data transmission. The low potential joint test workgroup interface is used for low-power operations and is suitable for basic debugging tasks. The first joint test workgroup interface module and the second joint test workgroup interface module are responsible for the high potential and low potential joint test workgroup interface connections respectively. Among them, the first joint test workgroup interface is used to connect the high potential joint test workgroup interfaces of multiple graphics processors in parallel, and the baseboard management controller can access the high potential joint test workgroup interfaces of multiple graphics processors at the same time for efficient debugging and data collection, which significantly improves the debugging efficiency, especially when it is necessary to quickly locate faults, it can simultaneously obtain the register information of multiple graphics processors. The second joint test workgroup interface module is used to connect the low potential joint test workgroup interfaces of multiple graphics processors in parallel. Similarly, the second joint test workgroup module is also connected to multiple graphics processors in parallel, allowing the baseboard management controller to access multiple graphics processors at the same time when performing low-potential abnormal location debugging. To achieve efficient resource utilization during the abnormality location process, the baseboard management controller can simultaneously process register information from multiple graphics processors at the same time, avoiding the inefficient process of accessing one by one.
[0035] The present disclosure not only improves the response speed of debugging, but also reduces the complexity of physical connections and reduces the operational errors that may be caused by frequent access and modification of connections. In the entire abnormality positioning system, the joint test working group interface module, as an important part of the control device, works together with the high-speed serial switching module and the serial port interface module to achieve centralized management and control of multiple graphics processors, so that the baseboard management controller can obtain the register information of the graphics processor in parallel, quickly analyze and locate the abnormal source, and improve the overall abnormality handling capability and efficiency.
[0036] Exemplarily, the input end of the first conversion module has a fifth high-speed serial interface, and the output end has a first joint test working group interface and a second joint test working group interface; The fifth high-speed serial interface of the first conversion module is connected to the third high-speed serial interface of the high-speed serial switching module through a second high-speed serial signal line; The first joint test working group interface of the first conversion module is connected to the first joint test working group interface module via a first joint test working group signal line, and the second joint test working group interface of the first conversion module is connected to the second joint test working group interface module via a second joint test working group signal line.
[0037] The first conversion module is responsible for converting the data from the high-speed serial switching module into a data format suitable for the joint test working group interface, aiming to achieve effective data transmission and format conversion for subsequent abnormality diagnosis and positioning. The fifth high-speed serial interface is the input end of the first conversion module, which is specifically used to receive the data stream from the high-speed serial switching module. Through the fifth high-speed serial interface, the first conversion module obtains the diagnostic data of multiple graphics processors. The fifth high-speed serial interface is connected to the third high-speed serial interface of the high-speed serial switching module through the second high-speed serial signal line. It should be noted that the high-speed serial signal lines in the abnormality positioning system provided in the embodiment of the present disclosure are all high-speed serial buses that support high-bandwidth and low-latency data transmission and can effectively transmit control signals and data.
[0038] The output end of the first conversion module includes a first joint test working group interface and a second joint test working group interface, and the first joint test working group interface is connected to the first joint test working group interface module through a first joint test working group signal line. The first joint test working group interface is responsible for transmitting the converted joint test working group signal to the first joint test working group interface module so as to debug and diagnose a specific graphics processor. The second joint test working group interface is connected to the second joint test working group interface module through a second joint test working group signal line. The second joint test working group interface is responsible for transmitting another set of converted joint test working group signals to the second joint test working group interface module to support debugging and diagnosis tasks for other graphics processors.
[0039] The first conversion module is used to convert the input high-speed serial signal into a data format suitable for the joint test working group interface. Specifically, the first conversion module parses the high-speed serial signal into the format required by the joint test working group protocol to ensure that the data can be correctly parsed and used. After receiving the data from the high-speed serial switching module, it is processed according to the preset protocol and format to ensure that the output signal meets the requirements of the joint test working group interface. The first conversion module can receive register information from multiple graphics processors at the same time. These data streams are processed centrally instead of relying on switching connections one by one. That is, at the same time, the baseboard management controller can route the first conversion module to obtain status information and diagnostic data of multiple graphics processors, thereby improving the efficiency of monitoring.
[0040] Exemplarily, the input end of the second conversion module has a sixth high-speed serial interface, and the output end has a serial port interface; The sixth high-speed serial interface of the second conversion module is connected to the fourth high-speed serial interface of the high-speed serial switching module through a third high-speed serial signal line, and the serial port interface of the second conversion module is connected to the serial port interface module through a serial port signal line.
[0041] Similar to the first conversion module, the second conversion module is mainly responsible for converting the data from the high-speed serial switching module into a data format suitable for the serial port interface, aiming to achieve effective data transmission and format conversion, so as to facilitate subsequent abnormal diagnosis and status monitoring. The sixth high-speed serial interface is the input end of the second conversion module, which is used to receive the data stream from the high-speed serial switching module. Through the sixth high-speed serial interface, the second conversion module can obtain serial port diagnostic data of multiple graphics processors. The sixth high-speed serial interface is connected to the fourth high-speed serial interface of the high-speed serial switching module through the third high-speed serial signal line. The third high-speed serial signal line is also part of the high-speed serial bus, supporting high-bandwidth and low-latency data transmission. The output end of the second conversion module includes a serial port interface, which is responsible for transmitting the converted serial port signal to the serial port interface module. Through the serial port interface, the second conversion module can transmit the status information (such as temperature, abnormal status, etc.) from multiple graphics processors to the serial port interface module for centralized processing and monitoring.
[0042] The second conversion module closely cooperates with the high-speed serial switching module, the serial port interface module and the first conversion module to ensure that the status information from multiple graphics processors can be effectively collected and transmitted, supporting parallel abnormal diagnosis and status monitoring. By transmitting the signal from the high-speed serial switching module to the serial port interface module, parallel monitoring of multiple graphics processors is achieved, avoiding the inefficiency caused by obtaining data one by one in the traditional method.
[0043] Exemplarily, the baseboard management controller is configured with a first storage space, storing diagnostic firmware, and the diagnostic firmware is used to locate abnormalities based on register information of the joint test workgroup interface of the multiple graphics processors and status information of the serial port interface; the baseboard management controller is configured with a second storage space, storing baseboard management controller firmware, and the priority of the baseboard management controller firmware is different from the priority of the diagnostic firmware.
[0044] As mentioned above, the baseboard management controller is the core control unit of the entire abnormality location system, responsible for monitoring and managing the status information of multiple graphics processors. By communicating with the joint test workgroup and serial port interface of the graphics processor, diagnostic data is obtained for abnormality location and system management. The first storage space is part of the internal configuration of the baseboard management controller, which is specifically used to store diagnostic firmware. The main function of this firmware is to locate abnormalities based on data obtained from the joint test workgroup interface and serial port interface of multiple graphics processors. The diagnostic firmware analyzes the received register information (such as register status) and status information (such as temperature, abnormal status, etc.), and extracts information that is helpful for abnormality diagnosis.
[0045] The second storage space is also part of the internal configuration of the baseboard management controller, which is used to store the baseboard management controller firmware, which is responsible for the basic operations and functions of the baseboard management controller, including system initialization, resource management, communication protocol processing, etc. The priority of the baseboard management controller firmware is different from the priority of the diagnostic firmware, that is, when the system is running, the baseboard management controller will schedule and execute tasks according to the priority of the firmware to ensure effective switching between normal operation and exception processing.
[0046] Due to the different priorities of the baseboard management controller firmware and the diagnostic firmware, the system can quickly switch to the exception handling mode when an exception occurs. Even in normal operation, the diagnostic firmware running in the background does not affect the operation of the baseboard management controller firmware, and the baseboard management controller can maintain the stability of its basic functions. Efficient monitoring and management are achieved in a complex multi-GPU environment, while ensuring the stability and performance of the overall system.
[0047] Figure 4 The present invention provides a schematic diagram of steps of an abnormality locating method provided by an embodiment of the present invention, which is applied to a baseboard management controller in an abnormality locating system. The method includes: Step S101, receiving register information and status information of at least one first graphics processor having an abnormality among multiple graphics processors of a server in parallel through a joint test workgroup interface module and a serial port interface module respectively, and returning the register information and the status information to a first conversion module and a second conversion module in parallel.
[0048] Step S102: The register information and the status information are converted into a protocol and data format compatible with a high-speed serial conversion module by the first conversion module and the second conversion module, and returned to the high-speed serial conversion module.
[0049] Step S103: integrating the register information and the status information into diagnostic information through the high-speed serial switching module, and returning the diagnostic information to the baseboard management controller.
[0050] Step S104: performing fault location according to the diagnostic information by the baseboard management controller to determine the abnormal cause of the first graphics processor.
[0051] In step S101, in the above-mentioned abnormality positioning system, the baseboard management controller is configured with a monitoring mechanism for the abnormality of the graphics processor, and the running status of the graphics processor is monitored in real time. Among the multiple graphics processors on the server, when there is an abnormality in the graphics processor or its associated hardware (such as memory, data bus, cooling system, etc.), a corresponding abnormal alarm signal is generated and returned to the baseboard management controller through the interface module, the conversion module and the high-speed serial exchange module respectively. For example, the temperature of the graphics processor is too high, the memory access error, the data processing abnormality (such as execution error, calculation error) or the graphics processor is unrecognizable. Once the baseboard management controller receives the abnormal alarm signal, it can quickly locate the first graphics processor that has an abnormality among the multiple graphics processors in the server. In the embodiment of the present disclosure, each graphics processor is pre-assigned with its own coding information, and the coding information can be a combination of a serial number and a manufacturer number. The specific graphics processor can be locked by the coding information. Specifically, the register information and status information of at least one first graphics processor are received in parallel through the joint test working group interface module and the serial port interface module. The joint test working group interface module and the serial port interface module are responsible for communicating with the first graphics processor and obtaining its internal register information and status information respectively. In the disclosed embodiment, the joint test workgroup interface module and the serial port interface module simultaneously obtain information from multiple graphics processors instead of processing them one by one. The obtained register information and status information are returned to the first conversion module and the second conversion module in parallel for subsequent data conversion and processing.
[0052] Involving step S102, the register information and status information obtained from at least one first graphics processor exist in the formats and protocols of the joint test working group and the serial port, respectively, and therefore need to be converted to ensure that subsequent processing can understand and use these diagnostic data. The first conversion module is responsible for processing the register information from the joint test working group interface module, and converting it into a protocol and data format that meets the requirements of the high-speed serial conversion module. The second conversion module is responsible for processing the status information from the serial port interface module, and also converting it into a format compatible with the high-speed serial conversion module. Optionally, a unit for encoding, formatting and structuring data can be configured in the first conversion module and the second conversion module. After the conversion is completed, the first conversion module and the second conversion module return the processed register information and status information to the high-speed serial conversion module to prepare for subsequent integration and diagnostic information generation.
[0053] Involving step S103, in step S102, the register information and status information have been converted into a protocol and data format compatible with the high-speed serial conversion module. In this step, the converted register information and status information are summarized and integrated into unified diagnostic information to facilitate subsequent fault location and analysis. Specifically, the high-speed serial switching module is responsible for receiving data from the first conversion module and the second conversion module, and integrating them into diagnostic information. After the integration is completed, the diagnostic information will be returned to the baseboard management controller. At this time, the baseboard management controller will be able to obtain detailed information about the abnormal graphics processor, providing a basis for subsequent fault analysis and location.
[0054] In step S104, the baseboard management controller uses the diagnostic information (register information and status information) to perform fault analysis to find out the specific cause of the abnormality of the graphics processor. The baseboard management controller uses the built-in diagnostic firmware to determine the nature of the abnormality according to preset rules and logic. For example, the temperature, memory status, error code, etc. of the graphics processor can be checked to determine whether there is overheating, memory failure or other hardware problems. Through analysis, the baseboard management controller can gradually obtain the required diagnostic information to determine the specific cause of the abnormality of the first graphics processor.
[0055] The present disclosure uses a baseboard management controller to receive and process register information and status information of multiple abnormal graphics processors in parallel, which significantly improves the efficiency of fault detection and location. Compared with the traditional method of obtaining information one by one, the present disclosure can quickly integrate diagnostic data from multiple graphics processors, reducing the time and labor costs required for troubleshooting. In addition, the baseboard management controller uses built-in monitoring mechanisms and diagnostic firmware to analyze and determine the cause of abnormalities in real time, thereby achieving rapid response and precise positioning. It can be seen that the integrated design of the present disclosure not only simplifies hardware connections and improves the reliability and stability of the system, but also effectively reduces downtime caused by faults and improves overall operational efficiency and economic benefits.
[0056] Exemplarily, the baseboard management controller is used to locate the fault according to the diagnostic information to determine the cause of the abnormality of the first graphics processor, including: determining, through the baseboard management controller, a register value of an over-temperature register used to monitor the temperature status according to register information of the first graphics processor; judging whether the register value of the over-temperature register is set, and when the register value of the over-temperature register is set, obtaining the current temperature of the first graphics processor returned via the high-speed serial switching module; when the current temperature of the first graphics processor is greater than a preset temperature threshold, determining that the cause of the abnormality of the first graphics processor is an over-temperature abnormality.
[0057] Each GPU is equipped with a dedicated register for monitoring temperature status, namely the over-temperature register. When the temperature of the GPU exceeds a certain safety threshold, the over-temperature register will be triggered and the register value will be set (set to a specific state), indicating that the GPU has a temperature abnormality. Figure 5 This is a flowchart of the abnormal location of over-temperature anomaly in one embodiment of the present disclosure. Please refer to Figure 5 After the baseboard management controller receives the abnormal alarm signal, it first checks the current state of the over-temperature register according to the register information of the first graphics processor. If the register shows that it is set, it indicates that the graphics processor has detected that the temperature exceeds the safety limit. If it is confirmed that the register value of the over-temperature register is set, the current temperature data of the graphics processor is further obtained, which can be obtained by accessing a specific hardware interface or monitoring system.
[0058] In order to determine whether the temperature is abnormal, the baseboard management controller obtains the current temperature of the first graphics processor returned via the high-speed serial exchange module. In the embodiment of the present disclosure, the baseboard management controller first sends an instruction to the first graphics processor to obtain the current temperature, and the instruction will be expanded via the high-speed serial exchange module and distributed to the first conversion module and the second conversion module respectively, and then the instruction is sent to at least one graphics processor connected to the joint test working group interface module and the serial port interface module via the first conversion module and the second conversion module. The baseboard management controller compares the current temperature of the first graphics processor with a preset temperature threshold. The preset temperature threshold is pre-set during system design and configuration, based on the safe operating range of the graphics processor and the temperature standard recommended by the manufacturer. For example, if the preset temperature threshold is 80°C, then when the current temperature of the first graphics processor exceeds this value, it will be regarded as an over-temperature abnormality. If it is detected that the current temperature value is greater than the preset temperature threshold, it is determined that the abnormal cause of the graphics processor is an over-temperature abnormality, indicating that there may be a problem with the heat dissipation system, such as a fan failure or a radiator blockage, or the ambient temperature is too high, causing the system to be unable to effectively dissipate heat.
[0059] Through the above steps, the abnormality type of the first graphics processor can be quickly and accurately located and confirmed as an over-temperature abnormality. Not only can the real-time response to the abnormality be achieved through the detection of register information, but the root cause of the problem can also be further analyzed through the status information, and the temperature abnormality can be discovered and resolved in time, which can avoid hardware damage caused by overheating, thereby extending the service life of the system and improving the reliability of the high-performance computing system.
[0060] Exemplarily, when the register value of the over-temperature register is not set, it is determined that the first graphics processor does not have an over-temperature exception.
[0061] See also Figure 5If the register value of the over-temperature register is not set (i.e., remains at "0" or "false"), it indicates that during the monitoring process, the temperature of the first graphics processor has been in the normal range and has not exceeded the safety threshold. It can be determined that the current temperature state of the first graphics processor is normal, and further confirms that the first graphics processor has no temperature-related abnormalities. In other words, it indicates that the current alarm signal is not caused by a temperature problem. In short, this judgment logic helps the system quickly confirm whether there is a temperature abnormality in the graphics processor, and if the register state is normal, temperature can be ruled out as the cause of the abnormality, and attention can be focused on troubleshooting other types of abnormalities, which improves the efficiency of abnormality location and enables the system to determine the root cause of the problem more quickly.
[0062] Exemplarily, the method further includes: when the current temperature of the first graphics processor is greater than a preset temperature threshold, acquiring, through the baseboard management controller, the current temperature of a second graphics processor returned via the high-speed serial switching module, the second graphics processor being a graphics processor deployed at a position adjacent to the first graphics processor; When the current temperature of the second graphics processor is greater than the preset temperature threshold, it is determined that the abnormal cause of the first graphics processor is abnormal ambient temperature; when the current temperature of the second graphics processor is less than or equal to the preset temperature threshold, it is determined that the abnormal cause of the first graphics processor is abnormal temperature of the first graphics processor itself.
[0063] See also Figure 5 When the temperature of the first graphics processor exceeds the preset safety threshold, the temperature status of other graphics processors adjacent to the first graphics processor (i.e., the second graphics processor) returned by the serial port interface module via the high-speed serial exchange module is obtained. A graphics processor in an adjacent position refers to a graphics processor that is physically adjacent to or close to the first graphics processor in the server, sharing the same cooling facilities or running in a similar physical environment. The temperature of the surrounding environment is determined by comparing the current temperature of the second graphics processor with the preset temperature threshold. If the temperature of the second graphics processor also exceeds the safety threshold, this indicates that there is a temperature abnormality problem in the entire physical environment (such as a cabinet or server), not just a problem with a single graphics processor.
[0064] If the temperature of the second graphics processor is also higher than the preset temperature threshold, this means that the system is in an abnormal environment temperature situation. The abnormal environment temperature may be caused by the failure of the external cooling system, the high temperature of the computer room, insufficient heat dissipation, etc. At this time, it can be determined that the abnormal temperature of the first graphics processor is caused by the abnormal environment temperature, that is, the high temperature is not caused by the hardware failure of a single graphics processor, but by the overall temperature environment problem inside or outside the server.
[0065] If the temperature of the second graphics processor is within the normal range, that is, its current temperature is less than or equal to the preset temperature threshold, then the possibility of abnormal ambient temperature can be ruled out. At this time, the temperature abnormality of the first graphics processor is determined to be caused by its own hardware problems, including failure of the cooling system inside the graphics processor (such as fan failure or heat sink blockage), excessive heating inside the chip, and excessive load on the graphics processor. In this case, the cause of the abnormality is classified as abnormal temperature itself, indicating that the first graphics processor needs to be independently checked and repaired.
[0066] The above steps obtain the status information of multiple GPUs, especially the temperature information of the adjacent second GPU, to comprehensively determine the real cause of the abnormality. In this way, it can be distinguished whether the abnormality is caused by the ambient temperature problem or the hardware problem of the GPU itself, so as to adopt a more targeted solution.
[0067] Exemplarily, the performing of fault location according to the diagnostic information by the baseboard management controller to determine the cause of the abnormality of the first graphics processor includes: determining, according to register information of the first graphics processor, by the baseboard management controller, a register value of a logic device used to perform logical control of the first graphics processor; judging whether the register value of the logic device is set, and determining that the cause of the abnormality of the first graphics processor is power supply abnormality when the register value of the logic device is set.
[0068] In addition to the above-mentioned over-temperature anomaly, the disclosed embodiment also provides a method for diagnosing a non-recognition anomaly, which is a special type of anomaly that means the system cannot recognize a certain graphics processor (GPU), which may be caused by hardware failure, communication error or power problem. Figure 6 is a flowchart of an abnormality location in an embodiment of the present disclosure that does not identify an abnormality, such as Figure 6 As shown, when an unrecognized exception occurs, the baseboard management controller first extracts the register value from the register of the first graphics processor. In the embodiment of the present disclosure, the register value of the register of the logic device responsible for the logic control of the graphics processor (such as a complex programmable device CPLD) is extracted through the joint test working group interface module, and the register information is returned via the high-speed serial exchange module. The register of the logic device records the state of the hardware logic control. If the register information is abnormal, the graphics processor cannot be recognized normally.
[0069] When the register value of the logic device is set, the power module that represents the graphics processor can no longer work properly, causing the graphics processor to be unable to be recognized by the system. Therefore, it is preliminarily determined that the cause of the abnormality is power supply abnormality. The power supply abnormality may manifest itself as the graphics processor failing to obtain sufficient voltage or current, causing it to be unable to start normally or maintain a working state. Power supply problems can be caused by multiple factors, such as power module failure, poor line connection, unstable voltage, etc. These problems will cause the graphics processor to be unable to be recognized by the system, thereby triggering the non-recognition abnormality. It can be seen that the present disclosure provides an effective way to quickly and accurately locate the problem of graphics processor non-recognition caused by power supply abnormality.
[0070] Exemplarily, the method further includes: when the register value of the logic device is set, obtaining, through the baseboard management controller, the register value of a key alarm register returned via the high-speed serial switching module for monitoring the power-off protection state of the first graphics processor; judging whether the register value of the key alarm register is set, and when the register value of the key alarm register is set, determining that the cause of the abnormality of the first graphics processor is a power supply abnormality caused by a power-off protection abnormality of the first graphics processor; and when the register value of the key alarm register is not set, determining that the cause of the abnormality of the first graphics processor is a power supply abnormality caused by a non-self abnormality of the first graphics processor.
[0071] See also Figure 6 , if the register value of the logic device is set, further, the register information of the key alarm register related to the power supply is extracted from the first graphics processor and returned via the high-speed serial switching module. The register is used to monitor the power-off protection state of the graphics processor. The power-off protection state is a protection mechanism used to prevent the graphics processor from being damaged or causing system failure when the power supply is unstable or the power supply is interrupted. When the power-off protection mechanism is triggered, the graphics processor will enter the protection mode and cannot start or run normally, resulting in failure to be recognized by the system. Check the register value of the key alarm register to determine whether it is set. If the value of the key alarm register is set, it indicates that the power-off protection mechanism has been activated, and the graphics processor currently has the risk of unstable power supply or power failure. If the value of the key alarm register is set, it indicates that the power-off protection mechanism of the graphics processor has been activated, indicating that the power supply abnormality is caused by the power-off protection mechanism. This situation may be caused by insufficient power supply voltage, instantaneous power failure or unstable power module.
[0072] If the register value is not set when checking the key alarm register, it indicates that the power-off protection mechanism has not been triggered. At this time, although the GPU has a power supply problem, it is not due to the abnormal power-off protection state of the GPU itself, but the power supply abnormality caused by external reasons. Non-self-abnormalities may include server power module failure, poor main power connection, or problems with certain components on the power circuit. Such problems often affect not only a single GPU, but also other hardware devices, and even the power supply stability of the entire system.
[0073] By analyzing the logic control register and key alarm register, the power supply problem caused by abnormal power-off protection status can be quickly identified and targeted measures can be taken. Not only can the power-off protection problem inside the graphics processor be identified, but it can also distinguish whether it is caused by a power supply problem outside the system, thereby improving the accuracy and efficiency of fault location in multi-graphics processor systems.
[0074] Exemplarily, the method also includes: when the register value of the key alarm register is not set, judging through the baseboard management controller whether the power supply and timing of the logic chip on the first graphics processor are normal according to the status information of the first graphics processor; when the power supply and timing of the logic chip on the first graphics processor are normal, determining that the abnormal cause of the first graphics processor is a power supply abnormality caused by its own abnormality; when the power supply and timing of the logic chip on the first graphics processor are abnormal, determining that the abnormal cause of the first graphics processor is a power supply abnormality not caused by its own abnormality.
[0075] See also Figure 6 , when the register value of the key alarm register is not set, it indicates that the power-off protection mechanism of the first graphics processor is not triggered, and the first graphics processor does not detect obvious power interruption or power-off problems at the register level. Therefore, the power-off protection will not be triggered at this time. Since the alarm register is not set, it can be inferred that the power supply problem has not been directly detected by the first graphics processor, and it is necessary to further check the internal state of the first graphics processor, especially whether the power supply and timing of its logic chip are working properly on the first graphics processor.
[0076] Through the baseboard management controller, the power supply and timing status of the logic chip of the first graphics processor are determined according to the status information of the first graphics processor, and specifically, whether the logic chip can obtain stable current and voltage. If the power supply is unstable or insufficient, the operation of the graphics processor will be affected, and it may not be able to start normally or maintain a normal working state. Timing check refers to whether the clock synchronization mechanism inside the logic chip is working properly. Timing abnormalities will cause abnormal data processing and instruction execution, and may even cause the entire graphics processor to fail. By checking the power supply and timing of the logic chip, it can be determined whether the first graphics processor is abnormal due to these two problems. If the check shows that the power supply and timing of the logic chip are normal, the abnormality caused by power supply or timing problems can be ruled out. At this time, it is necessary to further confirm whether there are other problems with the first graphics processor itself. The characterization problem is not caused by external factors, but is determined to be caused by some hardware failures inside the first graphics processor. For example, some execution units or memory controllers may have problems, causing the first graphics processor to fail to operate normally. At this time, although the power supply and timing of the logic chip are normal, the graphics processor may still not be recognized by the system or work normally due to hardware failure. In this case, it was determined that the GPU power supply problem was caused by a hardware failure of the GPU itself, such as some internal component failing to start up properly or maintain a working state.
[0077] If the inspection results show that the power supply and timing of the logic chip are not normal, this indicates that the problem of the graphics processor is not an internal fault, but is caused by external reasons. For example, the external power module fails to provide enough voltage or current for the graphics processor, causing the graphics processor to fail to work properly. In this case, it is determined that the power supply problem of the graphics processor is caused by an external power supply problem, not an abnormality of the graphics processor itself.
[0078] The present disclosure provides detailed diagnostic steps for power supply anomalies of a graphics processor, relying on register information and logic chip status checks to clarify whether the power problem is caused by its own anomalies or external power supply problems, so that targeted fault repair measures can be taken.
[0079] Exemplarily, through the baseboard management controller, it is determined whether the communication links of the multiple graphics processors of the server are connected normally according to the status information of the first graphics processor; when the communication links of the multiple graphics processors are connected normally, the status information of the third graphics processor returned by the high-speed serial switching module is obtained, and the status information of the third graphics processor is compared with the status information of the first graphics processor item by item to determine whether there are difference items, and the third graphics processor is a graphics processor without abnormality; when there are difference items, it is determined that the abnormal cause of the first graphics processor is a hardware failure or configuration error corresponding to the difference item; when there are no difference items, the abnormality between the first graphics processor and the third graphics processor is compared. The normal related information is recorded in the operation log of the baseboard management controller, and the abnormal related information is used to perform failure analysis on the first graphics processor and the third graphics processor; in the case of a graphics processor with an abnormal communication link connection, all graphics processors with abnormal communication link connection are determined; all graphics processors with abnormal communication link connection are swapped with the first graphics processor one by one, and it is checked whether the communication link connection is restored to normal after the position swap; in the case of checking that the communication link connection is restored to normal after the position swap, it is determined that the cause of the abnormality of the first graphics processor is the communication link abnormality caused by its own abnormality; in the case of checking that the communication link connection is not restored to normal after the position swap, it is determined that the cause of the abnormality of the first graphics processor is the communication link abnormality caused by the link configuration abnormality.
[0080] See also Figure 6, when the check finds that the register value of the logic device (such as CPLD) responsible for logic control is not set, that is, the current abnormality is not a power supply problem. In this case, the abnormality may be related to the communication link or other hardware configuration of the graphics processor. Check the communication link between multiple graphics processors in the server. In a multi-graphics processor system, the graphics processor interacts with other processors or system components through a communication link. If there is a connection problem in the communication link, some graphics processors may not be recognized or communicate with the system normally. Check the communication link of each graphics processor one by one to confirm whether the connection is normal. If the check finds that the communication link connection of all graphics processors is normal, it indicates that the problem is not a physical connection error of the link. At this time, it is necessary to further compare the status information of the first graphics processor and the third graphics processor that has no abnormality. Compare the status information of the first graphics processor and the third graphics processor (normally working graphics processor) item by item, such as register information, hardware configuration, running status, etc., to determine whether there is a difference. If the status comparison finds that there are differences between the status of the first graphics processor and the third graphics processor, it indicates that the abnormality is caused by some hardware failure or configuration error. At this time, it can be determined that the cause of the abnormality of the first graphics processor is due to the problems corresponding to these differences. If the comparison of the status information reveals that there is no significant difference between the status of the first GPU and the third GPU, this indicates that the anomaly may be difficult to locate directly through the existing status information. At this time, the anomaly-related information (such as register values, hardware status, and fault information) of the two is recorded in the operation log to facilitate subsequent detailed failure analysis. Failure analysis can help find more anomaly clues in the future, thereby further improving the system's diagnostic and recovery capabilities.
[0081] If it is found during the initial inspection that the communication link of one or more graphics processors has a connection problem (i.e., the communication link is abnormal), it can be determined that this may be the direct cause of the abnormality. Next, it is necessary to step by step check these graphics processors with abnormal links, and confirm whether the problem comes from the specific graphics processor itself or the link configuration abnormality by swapping positions. Swap the position of the graphics processor with abnormal communication link with the first graphics processor, and recheck whether the communication link after the swap position is restored to normal by changing the physical position of the graphics processor in the system. If it is found that the communication link is restored to normal after the position swap, it indicates that the initial communication link abnormality was caused by the problem of the first graphics processor itself. That is, some hardware failure or internal problem of the first graphics processor affects its communication with the system. At this time, it can be determined that the abnormal cause of the first graphics processor is a communication link problem caused by its own abnormality. If the communication link still does not return to normal after the position swap, the fault of the first graphics processor itself can be ruled out, and the abnormal cause is characterized by the abnormality of the communication link caused by abnormal link configuration, such as slot failure.
[0082] Through the above series of steps, the reasons that cause the GPU to be unrecognizable can be effectively located and eliminated, whether it is caused by hardware failure, configuration error, communication link problem or system link configuration abnormality, thereby improving the fault diagnosis and repair efficiency in the multi-GPU system.
[0083] Exemplarily, historical fault data of multiple graphics processors in the server are analyzed through a machine learning model to generate a fault mode database; in response to the abnormal alarm signal, based on the fault mode database and the register information, status information and environmental data of the first graphics processor, the potential abnormality type that may occur in the first graphics processor is predicted; when the predicted potential abnormality type is inconsistent with the actual detected abnormality type, an intelligent repair plan is generated, and the first graphics processor is dynamically configured and adjusted according to the intelligent repair plan.
[0084] During the historical operation of multiple graphics processors in the server, various abnormal conditions (such as overtemperature, power supply problems, communication link problems, etc.) will be encountered. The occurrence of these abnormalities will record relevant data, such as register information, status information, and environmental data (such as temperature, working conditions of other surrounding hardware, etc.). Over a period of time, these historical fault data will accumulate to form a large fault data set. By analyzing these historical fault data, machine learning models (such as decision trees, random forests, support vector machines, or deep learning models) are used to learn the characteristic patterns of different fault types. The machine learning model can extract the typical features of each fault. For example, a certain type of abnormality may correspond to a specific register value abnormality, status information abnormality, or overtemperature.
[0085] Through the trained machine learning model, a fault mode database is formed, that is, the mapping relationship between each fault type and its corresponding characteristic mode, which can help the system quickly match and identify the fault type that will occur in the future. In response to the abnormal alarm signal, the current register information, state information and related environmental data of the first graphics processor are immediately collected. Based on the fault mode database generated by machine learning, the real-time information currently obtained is compared with the fault characteristics in the database to predict the type of abnormality that may occur in the graphics processor. The predictive ability of machine learning is used to guess the most likely cause of the abnormality.
[0086] The potential anomaly type given by the machine learning model is a prediction based on historical data and patterns. However, the system may obtain the actual detected anomaly type through direct detection, such as determining an over-temperature anomaly by directly reading the temperature value of the monitoring register. If the potential anomaly type predicted by machine learning is inconsistent with the actual detection result, for example, the machine learning model predicts that it may be a power problem, but the detected problem is a temperature problem, then this indicates that the complexity of the problem exceeds the directly matched pattern.
[0087] In the case of inconsistency between prediction and reality, an intelligent repair plan is generated based on the current GPU information, historical failure data, and existing best practices. This may include adjusting the GPU's operating state, resetting some functional modules, and even making system-level configuration changes. For example, the GPU's operating frequency may directly affect its heat generation and power consumption. By reducing the operating frequency, the processor's heat generation can be reduced to avoid further damage.
[0088] During each fault handling and repair process, new data is continuously accumulated. If the currently generated intelligent repair solution is successfully applied, it means that the model prediction and repair solution are effective. The system can input these new data into the machine learning model to further optimize the fault mode database. Through iteration and looping, future anomaly detection, prediction, and repair will be more accurate, and the self-healing ability of the entire system will continue to improve. If the anomaly cannot be repaired after dynamic configuration adjustment, a fault report is automatically generated, which includes the repair attempt process, failure cause analysis, and recommended further action plans. Help administrators quickly locate problems and continuously improve the fault handling process.
[0089] This paper combines the analysis of historical data with the intelligent processing of real-time data, uses machine learning to make predictions and generate intelligent repair solutions in complex scenarios, significantly improving the automation and efficiency of GPU exception handling. Through dynamic configuration adjustment and status monitoring, human intervention can be minimized, the self-healing ability of the server can be improved, and the efficient and stable operation of the server can be guaranteed.
[0090] An embodiment of the present disclosure also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the various processes in the above-mentioned embodiment of an abnormality locating method are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0091] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process in the above-mentioned embodiment of an abnormality location method is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can be referred to each other.
[0092] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, devices, electronic devices, and storage media. Therefore, the embodiments of the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present disclosure may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0093] The embodiments of the present disclosure are described with reference to the flowcharts and / or block diagrams of the methods and devices according to the embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing terminal device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded into a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0094] Although the preferred embodiments of the present disclosure have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present disclosure.
[0095] Finally, it should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "include" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "include..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements. The above describes in detail an abnormality positioning system, method, electronic device and storage medium provided by the present disclosure. The present disclosure uses specific examples to illustrate the principles and implementation methods of the present disclosure. The description of the above embodiments is only used to help understand the method and its core idea of the present disclosure; at the same time, for those skilled in the art, according to the idea of the present disclosure, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present disclosure.
Claims
1. An abnormality positioning system, characterized in that: The system comprises: Baseboard management controller, used to connect control devices; A plurality of graphics processors, each graphics processor having a joint test workgroup interface and a serial port interface; The control device includes: a high-speed serial switching module, a first conversion module, a second conversion module, a serial port interface module and a joint test working group interface module; The input end of the high-speed serial switching module is connected to the baseboard management controller, and the output end of the high-speed serial switching module is connected to the first conversion module and the second conversion module respectively; The serial port interface module is used to connect the serial port interfaces of the plurality of graphics processors; the joint test workgroup interface module is used to connect the joint test workgroup interfaces of the plurality of graphics processors; The baseboard management controller is used to obtain in parallel the register information of the joint test working group interface and the status information of the serial port interface returned by the high-speed serial switching module from the multiple graphics processors to locate the abnormality.
2. The system according to claim 1, characterized in that The baseboard management controller has a first high-speed serial interface, which is connected to the control device through a first high-speed serial signal line; the input end of the high-speed serial switching module has a second high-speed serial interface, and the output end has a third high-speed serial interface and a fourth high-speed serial interface, the second high-speed serial interface and the first high-speed serial interface of the baseboard management controller are connected by a first high-speed serial signal line, the third high-speed serial interface is connected to the first conversion module, and the fourth high-speed serial interface is connected to the second conversion module; The joint test workgroup interfaces on the plurality of graphics processors include a high potential joint test workgroup interface and a low potential joint test workgroup interface; The joint test working group interface module includes a first joint test working group interface module and a second joint test working group interface module; The first joint test workgroup interface module is connected in parallel to the high-potential joint test workgroup interfaces on the multiple graphics processors. The first joint test workgroup interface module is used to connect in parallel to the low-potential joint test workgroup interfaces on the multiple graphics processors.
3. The system according to claim 2, characterized in that The input end of the first conversion module has a fifth high-speed serial interface, and the output end has a first joint test working group interface and a second joint test working group interface; The fifth high-speed serial interface of the first conversion module is connected to the third high-speed serial interface of the high-speed serial switching module through a second high-speed serial signal line; The first joint test working group interface of the first conversion module is connected to the first joint test working group interface module via a first joint test working group signal line, and the second joint test working group interface of the first conversion module is connected to the second joint test working group interface module via a second joint test working group signal line.
4. The system according to claim 1, characterized in that The input end of the second conversion module has a sixth high-speed serial interface, and the output end has a serial port interface; The sixth high-speed serial interface of the second conversion module is connected to the fourth high-speed serial interface of the high-speed serial switching module through a third high-speed serial signal line, and the serial port interface of the second conversion module is connected to the serial port interface module through a serial port signal line.
5. The system according to any one of claims 1 to 4, characterized in that: The baseboard management controller is configured with a first storage space storing diagnostic firmware, wherein the diagnostic firmware is used to locate anomalies according to register information of the joint test workgroup interface of the plurality of graphics processors and status information of the serial port interface; The baseboard management controller is configured with a second storage space storing baseboard management controller firmware, and the priority of the baseboard management controller firmware is different from the priority of the diagnosis firmware.
6. A method for locating anomalies, characterized in that: Applied to the system according to any one of claims 1 to 5, the method comprises: Receiving register information and status information of at least one first graphics processor that has an abnormality among multiple graphics processors of the server in parallel through the joint test workgroup interface module and the serial port interface module, and returning the register information and the status information to the first conversion module and the second conversion module in parallel; The register information and the status information are respectively converted into a protocol and a data format compatible with a high-speed serial conversion module by the first conversion module and the second conversion module, and returned to the high-speed serial conversion module; Integrating the register information and the status information into diagnostic information through the high-speed serial switching module, and returning the diagnostic information to the baseboard management controller; The baseboard management controller performs fault location according to the diagnostic information to determine the abnormal cause of the first graphics processor.
7. The method according to claim 6, characterized in that The method of performing fault location according to the diagnostic information by the baseboard management controller to determine the abnormal cause of the first graphics processor includes: Determining, by the baseboard management controller, a register value of an over-temperature register for monitoring a temperature state according to register information of the first graphics processor; Determine whether the register value of the over-temperature register is set, and if the register value of the over-temperature register is set, obtain the current temperature of the first graphics processor returned via the high-speed serial switching module; When the current temperature of the first graphics processor is greater than a preset temperature threshold, it is determined that the abnormal cause of the first graphics processor is an over-temperature abnormality.
8. The method according to claim 7, characterized in that When the register value of the over-temperature register is not set, it is determined that the first graphics processor does not have an over-temperature exception.
9. The method according to claim 7, characterized in that: The method further comprises: When the current temperature of the first graphics processor is greater than a preset temperature threshold, obtaining, through the baseboard management controller, the current temperature of a second graphics processor returned via the high-speed serial switching module, where the second graphics processor is a graphics processor deployed adjacent to the first graphics processor; When the current temperature of the second graphics processor is greater than the preset temperature threshold, determining that the abnormal cause of the first graphics processor is abnormal ambient temperature; When the current temperature of the second graphics processor is less than or equal to the preset temperature threshold, it is determined that the abnormal cause of the first graphics processor is abnormal temperature of the first graphics processor itself.
10. The method according to claim 6, characterized in that The method of performing fault location according to the diagnostic information by the baseboard management controller to determine the abnormal cause of the first graphics processor includes: Determining, by the baseboard management controller, a register value of a logic device for performing logic control on the first graphics processor according to the register information of the first graphics processor; It is determined whether the register value of the logic device is set, and when the register value of the logic device is set, it is determined that the abnormal cause of the first graphics processor is a power supply abnormality.
11. The method according to claim 10, characterized in that The method further comprises: When the register value of the logic device is set, obtaining, through the baseboard management controller, a register value of a key alarm register for monitoring a power-off protection state of the first graphics processor returned via the high-speed serial switching module; Determining whether the register value of the key alarm register is set, and if the register value of the key alarm register is set, determining that the abnormal cause of the first graphics processor is a power supply abnormality caused by a power-off protection abnormality of the first graphics processor; When the register value of the key alarm register is not set, it is determined that the abnormal cause of the first graphics processor is a power supply abnormality caused by a non-self abnormality of the first graphics processor.
12. The method according to claim 11, characterized in that The method further comprises: In a case where the register value of the key alarm register is not set, judging, by the baseboard management controller, whether the power supply and timing of the logic chip on the first graphics processor are normal according to the status information of the first graphics processor; When the power supply and timing of the logic chip on the first graphics processor are normal, determining that the abnormal cause of the first graphics processor is a power supply abnormality caused by the first graphics processor itself; When the power supply and timing of the logic chip on the first graphics processor are abnormal, it is determined that the abnormal cause of the first graphics processor is a power supply abnormality not caused by the first graphics processor itself.
13. The method according to claim 10, characterized in that The method further comprises: In the case where the register value of the logic device is not set, judging, by the baseboard management controller, whether the communication links of the plurality of graphics processors of the server are connected normally according to the status information of the first graphics processor; When the communication links of the plurality of graphics processors are connected normally, obtaining status information of a third graphics processor returned by the high-speed serial switching module, comparing the status information of the third graphics processor with the status information of the first graphics processor item by item, and determining whether there are any differences, and the third graphics processor is a graphics processor without any abnormality; In the case where there is a difference item, determining that the abnormal cause of the first graphics processor is a hardware failure or configuration error corresponding to the difference item; in the case where there is no difference item, recording the abnormality-related information of the first graphics processor and the third graphics processor into the operation log of the baseboard management controller, and the abnormality-related information is used to perform failure analysis on the first graphics processor and the third graphics processor; In the case where there is a graphics processor with an abnormal communication link connection, all graphics processors with abnormal communication link connection are determined; all graphics processors with abnormal communication link connection are swapped one by one with the first graphics processor to check whether the communication link connection is restored to normal after the position swap; in the case that the communication link connection is restored to normal after the position swap, it is determined that the cause of the abnormality of the first graphics processor is the communication link abnormality caused by its own abnormality; in the case that the communication link connection is not restored to normal after the position swap, it is determined that the cause of the abnormality of the first graphics processor is the communication link abnormality caused by a link configuration abnormality.
14. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the method according to any one of claims 6 to 13 are implemented.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 6 to 13 are implemented.
Citation Information
Patent Citations
Chip test abnormity monitoring device and method, computer equipment and storage medium
CN107704406A
Graphic processor board card
CN109408445A
Graphics processor module abnormity self-recovery method and device, equipment and storage medium
CN116627725A
Board card management method, device and system
CN117493255A
Abnormality detection method, device and program
US20110029817A1
Cited By
Method and device for determining fault graphic processing chip in computing power cluster and electronic equipment
CN119759628A
Graphics processor module anomaly detection method and electronic equipment
CN120821624A
