Processor detection device, method, controller, medium and program product
Monitoring the deformation of the GPU substrate through strain gauges and voltage modules, combined with temperature and power consumption monitoring of heat dissipation capabilities, solves the problem of difficulty in real-time monitoring of GPU deformation and heat dissipation in the existing technology, realizes automated monitoring and alarms, and improves efficiency and safety.
Patent Information
- Application Number
- CN202410845566.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-27
AI Technical Summary
Existing technology makes it difficult to monitor and identify the deformation and heat dissipation capabilities of the GPU substrate in real time. As a result, poor heat dissipation may lead to performance degradation or hardware damage. Maintenance personnel rely on visual inspection and cannot continuously track the deformation of the GPU fixed substrate.
Strain gauges and voltage modules are used to detect the deformation of the GPU substrate, the deformation value is calculated through the mainboard management controller, and the heat dissipation capacity is monitored based on temperature, power consumption and fan speed to achieve automated real-time monitoring and alarms.
It realizes real-time monitoring of GPU substrate deformation and heat dissipation capability without manual operation, improves monitoring efficiency, avoids performance degradation and hardware damage caused by poor heat dissipation, and timely replaces heat-conducting media, reducing maintenance costs.
Smart Images

Figure CN118394606B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of processor monitoring technology, and in particular to a processor detection device, method, controller, medium and program product. Background Art
[0002] As the core component of AI (Artificial Intelligence) servers, GPU (graphics processing unit) plays a vital role. Its parallel processing capability and high efficiency make it an ideal choice for processing large-scale data and complex calculations. Since GPU generates a lot of heat during high-performance computing, poor heat dissipation may lead to performance degradation or even damage to the hardware. The current mainstream heat dissipation solutions are water cooling and air cooling. Whether it is water cooling or air cooling, a radiator needs to be added to the GPU, and silicone grease or gaskets are used as thermal conductive media to transfer heat between the GPU and the radiator. At the same time, screws are used to lock the radiator and the GPU substrate together to form a GPU module.
[0003] In the related art, maintenance personnel mainly rely on visual inspection to determine whether the locking contact between the radiator and the GPU is good. This can only be judged before the GPU module is installed inside the chassis. The thermal gaps formed by the small deformation of the GPU fixed baseplate cannot be effectively identified. In addition, the deformation of the GPU fixed baseplate mainly occurs during long-term operation, and maintenance personnel cannot continuously track and monitor whether the GPU fixed baseplate has been deformed. Summary of the invention
[0004] In view of this, the present invention provides a processor detection device, method, controller, medium and program product to monitor the deformation and heat dissipation capacity of the processor.
[0005] In a first aspect, the present invention provides a processor detection device, the device comprising:
[0006] at least one graphics processor substrate, wherein a strain gauge is disposed on the graphics processor substrate, and wherein the strain gauge is used to determine a target resistance based on a deformation of the graphics processor substrate;
[0007] at least one voltage module, the input end of the voltage module is connected to the strain gauge, and is used to convert the target resistance into an input voltage of a motherboard management controller, and the voltage module corresponds to the graphics processor substrate one by one;
[0008] A motherboard management controller, the motherboard management controller is used to perform calculations based on the input voltage and a standard voltage to determine a deformation value of the graphics processor substrate, the standard voltage being used to characterize an input voltage of the motherboard management controller corresponding to the graphics processor substrate in an initial state;
[0009] A first switch device, wherein an input end of the first switch device is connected to the at least one voltage module, and an output end of the first switch device is connected to the motherboard management controller, and the first switch device is used to use an input voltage corresponding to any one of the graphics processor substrates as an input to the motherboard management controller.
[0010] In an optional embodiment, the device further comprises:
[0011] A first switch device, wherein an input end of the first switch device is connected to the at least one voltage module, and an output end of the first switch device is connected to the motherboard management controller, and the first switch device is used to use an input voltage corresponding to any one of the graphics processor substrates as an input to the motherboard management controller.
[0012] In an optional embodiment, the device further comprises:
[0013] A first temperature measuring device, the first temperature measuring device is disposed on the graphics processor substrate and is used to measure a first temperature of the graphics processor substrate;
[0014] A second temperature measuring device, the second temperature measuring device is arranged in the chassis where the graphics processor substrate is located, and the output end of the second temperature measuring device is connected to the motherboard management controller for measuring a second temperature in the chassis;
[0015] A power detection device, the power detection device is used to monitor the operating power consumption of the graphics processor substrate;
[0016] A fan speed measuring device, wherein the input end of the fan speed measuring device is connected to the fan, and the output end is connected to the mainboard management controller, and is used to obtain the fan speed.
[0017] In an optional embodiment, the device further comprises:
[0018] A second switch device, wherein an input end of the second switch device is connected to the at least one graphics processor substrate, and an output end of the second switch device is connected to the motherboard management controller, and is used to obtain a first temperature and an operating power of any graphics processor substrate.
[0019] In a second aspect, the present invention provides a processor detection method, which is applied to a motherboard management controller, and the method comprises:
[0020] Acquire a current input voltage, where the current input voltage corresponds to a current graphics processor substrate;
[0021] The deformation value of the current graphics processor substrate is calculated based on the current input voltage and the standard voltage, the deformation value is used to characterize the deformation of the graphics processor substrate, and the standard voltage is used to characterize the input voltage of the motherboard management controller corresponding to the current graphics processor substrate in the initial state.
[0022] In an optional implementation manner, obtaining the current input voltage includes:
[0023] The first switch device is controlled to obtain an input voltage corresponding to the current graphics processor substrate, and an output end of the first switch device is connected to the motherboard management controller.
[0024] In an optional implementation, the calculating the deformation value of the current graphics processor substrate based on the current input voltage and the standard voltage includes:
[0025] Obtaining the power supply voltage of the voltage module;
[0026] Calculating a difference between the power supply voltage and the current input voltage to determine a first difference;
[0027] Calculating a difference between the power supply voltage and the standard voltage to determine a second difference;
[0028] Based on the ratio of the first difference to the second difference, a deformation value of the current graphics processor substrate is determined.
[0029] In an optional implementation manner, the standard voltage is determined by:
[0030] The strain gauge detects the initial deformation of the current graphics processor substrate and determines the initial resistance value according to the initial deformation;
[0031] The bridge circuit in the voltage module outputs a first initial voltage based on the initial resistance value;
[0032] The amplifier in the voltage module amplifies the first initial voltage to determine the standard voltage corresponding to the current graphics processor substrate.
[0033] In an optional implementation, after calculating the deformation value of the current graphics processor substrate based on the current input voltage and the standard voltage, the method further includes:
[0034] comparing the deformation value with a preset deformation threshold;
[0035] When the deformation value is less than the preset deformation threshold, a first alarm is issued.
[0036] In an optional embodiment, the method further includes:
[0037] The operating parameters of the current graphics processor substrate are acquired, and the heat dissipation condition is determined based on the operating parameters and the deformation value of the current graphics processor substrate.
[0038] In an optional implementation, the operating parameters include a first temperature, a second temperature, operating power consumption, and a fan speed, and obtaining the operating parameters of the current graphics processor substrate and determining the heat dissipation condition based on the operating parameters and the deformation value of the current graphics processor substrate includes:
[0039] Acquire a first temperature of the graphics processor substrate and a second temperature in a chassis where the graphics processor substrate is located based on a temperature sensor;
[0040] Acquiring the operating power consumption of the graphics processor substrate based on the microcontroller unit;
[0041] Obtaining the fan speed of the graphics processor substrate based on a programmable logic device; calculating a first product of a first temperature and the fan speed, and a second product of a second temperature and operating power consumption respectively;
[0042] Calculating a ratio of the second product to the first product, and calculating a product of the ratio of the second product to the first product and a reciprocal of a deformation value of the graphics processor substrate to determine a thermal conductivity of the thermally conductive medium;
[0043] Calculating a ratio of the thermal conductivity of the heat-conducting medium to a standard thermal conductivity, and comparing the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity with a preset thermal conductivity threshold;
[0044] The heat conduction state of the heat conduction medium is determined based on the comparison result, so as to determine the heat dissipation condition based on the heat conduction state, and the heat conduction state is negatively correlated with the heat dissipation condition.
[0045] In an optional implementation, the thermal conductivity is determined according to the following formula:
[0046]
[0047] in, represents the first temperature, represents the second temperature, Indicates the fan speed, Indicates the operating power consumption, represents the deformation value of the graphics processor substrate, Indicates thermal conductivity.
[0048] In an optional implementation, determining the heat conduction state of the heat conduction medium based on the comparison result includes:
[0049] When the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity is less than a preset thermal conductivity threshold, a second alarm is issued.
[0050] In a third aspect, the present invention provides a motherboard management controller, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method of the above-mentioned second aspect or any corresponding embodiment thereof by executing the computer instructions.
[0051] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method of the second aspect or any corresponding embodiment thereof.
[0052] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the method of the second aspect or any corresponding embodiment thereof.
[0053] The method described in the embodiment of the present invention can monitor the deformation of the graphics processor substrate through the strain gauge and the voltage module during the operation of the server, install the strain gauge on the graphics processor substrate, and when the graphics processor substrate is deformed, determine the corresponding target resistance of the strain gauge, and the voltage module connected to the strain gauge converts the target resistance to determine the input voltage. The input voltage corresponding to any graphics processor substrate is used as the input of the motherboard management controller through the first switch device, and the motherboard management controller calculates the deformation value of the graphics processor substrate based on the input voltage and the standard voltage. The method does not require manual operation, and can monitor the deformation of the GPU substrate in real time by itself, which is convenient for further analysis based on the deformation value and improves the monitoring efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 is a schematic diagram of a processor detection device according to an embodiment of the present invention;
[0056] Figure 2 is a hardware connection block diagram of substrate deformation monitoring according to an embodiment of the present invention;
[0057] Figure 3 is a hardware connection diagram of thermal conductivity monitoring according to an embodiment of the present invention;
[0058] Figure 4 is a flowchart of a processor detection method according to an embodiment of the present invention;
[0059] Figure 5 is a flow chart of another processor detection method according to an embodiment of the present invention;
[0060] Figure 6 It is a schematic diagram of the hardware structure of the motherboard management controller according to an embodiment of the present invention. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0062] AI (Artificial Intelligence) servers, with their powerful computing power and efficient processing speed, meet the needs of artificial intelligence algorithms for large-scale data processing and complex calculations. They are widely used in deep learning, machine learning, data analysis and other fields, and have become an important infrastructure to promote the development of artificial intelligence. As the core component of AI servers, GPUs (graphics processing units) play a vital role. Their parallel processing capabilities and high efficiency make them an ideal choice for processing large-scale data and complex calculations.
[0063] Since the GPU generates a lot of heat during high-performance computing, poor heat dissipation may lead to performance degradation or even damage to the hardware. The mainstream heat dissipation solutions are water cooling and air cooling. Whether it is water cooling or air cooling, a radiator needs to be added to the GPU, and silicone grease or gaskets are used as thermal conductive media to transfer heat between the GPU and the radiator. At the same time, screws are used to lock the radiator and the GPU substrate together to form a GPU module. The installation effect of silicone grease or gaskets will directly determine the heat dissipation capacity of the entire GPU module. Uneven silicone grease or poor contact of the gasket will cause local overheating and affect the overall performance. In addition, over time, the thermal grease will oxidize and harden, and the thermal conductivity will decrease. The thermal gasket will also reduce its ability to fill the gap due to the hardening of the material, and even lose its heat transfer ability; long-term locking of the screws will cause the GPU fixed substrate to deform, resulting in the ineffective fit between the GPU and the heat sink.
[0064] In the related art, the current judgment of whether the radiator and the thermal conductive medium are well installed mainly relies on the visual inspection of the maintenance personnel. In order to avoid the GPU performance impact caused by the failure of the thermal conductive medium, the maintenance personnel will regularly replace the new thermal conductive medium. The above inspection results and replacement cycle are mainly determined by the experience of the maintenance personnel. The aging speed of the thermal conductive medium is different when the GPU runs for a long time under different working environments, and the workload of the GPU may also cause the difference in aging speed. Relying on the visual inspection of the maintenance personnel to judge whether the locking contact effect between the radiator and the GPU is good, it can only be judged before the GPU module is installed inside the chassis. The thermal conductive gap formed by the small deformation of the GPU fixed substrate cannot be effectively identified. In addition, the deformation of the GPU fixed substrate mainly occurs during long-term operation, and the maintenance personnel cannot continuously track and monitor whether the GPU fixed substrate has deformed. The replacement cycle of the thermal conductive medium is also determined based on the experience of the maintenance personnel. There is no actual working situation as a reference. Too frequent replacement will affect the normal operation of the GPU, and the replaced thermal conductive medium will also increase the maintenance cost; untimely replacement will cause the GPU to operate at too high a temperature for a long time, reducing the performance of the GPU and even the service life. Based on this, the embodiment of the present invention provides a processor detection device, method, controller, medium and program product.
[0065] According to an embodiment of the present invention, a processor detection device is provided, which includes deformation monitoring and thermal conductivity monitoring. Figure 1The processor detection device includes: at least one graphics processor (GPU) substrate, at least one voltage module, a motherboard management controller and a first switch device, wherein a strain gauge is provided on the graphics processor substrate, the strain gauge is used to determine the target resistance based on the deformation of the graphics processor substrate, the input end of the voltage module is connected to the strain gauge, and is used to convert the target resistance into the input voltage of the motherboard management controller, the voltage module corresponds to the graphics processor substrate one by one, the motherboard management controller (BMC) is used to calculate based on the input voltage and the standard voltage to determine the deformation value of the graphics processor substrate, and the standard voltage is used to characterize the input voltage of the motherboard management controller corresponding to the graphics processor substrate in the initial state. Before the GPU substrate is installed with a radiator, the strain gauge should be installed in advance, and after the strain gauge is connected to the voltage module, the standard voltage corresponding to the GPU substrate in this initial state is obtained. It can be understood that each GPU substrate has its corresponding standard voltage, and the standard voltages of each GPU substrate can be the same or different. After determining the standard voltage of each GPU substrate, the BMC stores the standard voltage of each GPU substrate. Specifically, the identifier of each GPU substrate can be set, and the standard voltage of each GPU substrate is stored through the identifier. Considering that different substrates may have certain individual differences during initial operation, this method calculates the corresponding standard voltage for each GPU substrate, which improves the accuracy of subsequent deformation monitoring to a certain extent. The resistance value of the strain gauge changes when the GPU substrate is deformed, and the changed resistance value is the target resistance. After receiving the target resistance, the voltage module converts the target resistance, which causes the input voltage provided to the BMC to change, that is, from the standard voltage to the input voltage.
[0066] When performing deformation monitoring, the input voltage obtained can carry the identification of the GPU substrate corresponding to the input voltage. The BMC determines the corresponding standard voltage based on the identification, and then calculates the deformation value based on the standard voltage and the input voltage. One or more strain gauges can be installed on the GPU substrate. The GPU substrate corresponds to the voltage module one by one. Each voltage module converts the target resistance of the strain gauge on its corresponding GPU substrate to obtain the input voltage.
[0067] The input end of the first switch device is connected to at least one voltage module, and the output end is connected to the motherboard management controller. The first switch device is used to use the input voltage corresponding to any of the graphics processor substrates as the input of the motherboard management controller.
[0068] The first switch device can switch the circuit according to the needs of the BMC, so as to obtain the input voltage of the voltage module that needs to be obtained, so that the BMC performs deformation analysis on the corresponding GPU substrate based on the input voltage. Specifically, the first switch device can be a routing chip I2C SWITCH. I2C SWITCH, that is, I2C (Inter-Integrated Circuit) switch, is a short name for an internal integrated circuit switch. I2C SWITCH is a special integrated circuit device used to manage, select and switch multiple slave devices on the I2C bus, allowing a single I2C master device (such as a microcontroller) to communicate with multiple slave devices (such as sensors, memories, etc.) through a single bus interface, while solving address conflicts and bandwidth limitations. I2CSWITCH contains control logic and multiple switching channels. The control logic can be used to select and activate a specific switching channel. When the master device needs to communicate with a slave device, it first sends a switching command through the control interface of the I2C SWITCH to select the correct channel. Once the channel is activated, communication between the master device and the slave device can be carried out through the channel. In this embodiment, when the BMC determines the GPU substrate to be monitored, a switching command can be sent through the control interface of the I2C SWITCH to select the corresponding channel, thereby transmitting the input voltage corresponding to the GPU substrate to be monitored to the BMC.
[0069] After receiving the input voltage, the BMC performs calculations based on the input voltage and the standard voltage. The standard voltage can be used as the standard value of the GPU substrate deformation when the server is running. Substitute the input voltage and the standard voltage into the standard model for calculation to obtain the deformation value that characterizes the deformation of the GPU substrate.
[0070] Since there are one or more graphics processor substrates in the device, there are one or more voltage modules accordingly. When there are multiple graphics processor substrates, the BMC can obtain the input voltage corresponding to each graphics processor substrate in turn according to the settings, thereby monitoring the deformation of each graphics processor substrate respectively.
[0071] The device described in the embodiment of the present invention can monitor the deformation of the GPU substrate through the strain gauge and the voltage module during the operation of the server. The strain gauge is installed on the graphics processor substrate. When the GPU substrate is deformed, the corresponding target resistance of the strain gauge is determined, and the voltage module connected to the strain gauge converts the target resistance to determine the input voltage. The input voltage corresponding to any graphics processor substrate is used as the input of the motherboard management controller through the first switch device. The motherboard management controller calculates the deformation value of the GPU substrate based on the input voltage and the standard voltage. The device does not require manual operation and can monitor the deformation of the GPU substrate in real time, which is convenient for further analysis based on the deformation value and improves the monitoring efficiency.
[0072] In some optional embodiments, the voltage module includes a bridge circuit and an amplifier, wherein the bridge circuit is connected to a strain gauge on a graphics processor substrate, and is used to output a first voltage based on the target resistance; the input end of the amplifier is connected to the bridge circuit, and the output end is connected to the first switching device, and is used to amplify the first voltage and determine the input voltage of the motherboard management controller.
[0073] The bridge circuit is a circuit used to measure weak changes. It can convert the resistance change rate (ΔR / R) of the resistor into a voltage output. The voltage module corresponds to the graphics processor substrate one by one, so the bridge circuit and the amplifier correspond to the graphics processor substrate one by one. The input end of the bridge circuit is connected to the strain gauge on the graphics processor substrate. When the strain gauge is subjected to force, its resistance will change. This change is converted into a voltage output through the bridge circuit, that is, the bridge circuit outputs a first voltage according to the target resistance change of the strain gauge. The input end of the amplifier is connected to the bridge circuit to receive the first voltage output by the bridge circuit, and its output end is connected to the first switch device to provide input voltage to the motherboard management controller (BMC).
[0074] The amplifier works based on the diffusion and drift effects of carriers in semiconductor materials moving under an applied electric field. When the input signal (i.e., the first voltage output by the bridge circuit) passes through the amplifier, it is amplified to a voltage level suitable for the BMC.
[0075] In some optional embodiments, the device also includes: a first temperature measuring device, a second temperature measuring device, a power detection device, and a fan speed measuring device. The first temperature measuring device is arranged on the graphics processor substrate, and is used to measure the first temperature of the graphics processor substrate. The second temperature measuring device is arranged in the chassis where the graphics processor substrate is located. The output end of the second temperature measuring device is connected to the motherboard management controller, and is used to measure the second temperature in the chassis. The power detection device is used to monitor the operating power consumption of the graphics processor substrate. The input end of the fan speed measuring device is connected to the fan, and the output end is connected to the motherboard management controller, and is used to obtain the fan speed.
[0076] The first temperature measuring device and the second temperature measuring device may be temperature sensors. The first temperature measuring device is installed on the GPU substrate, and the second temperature measuring device is installed in the chassis. The second temperature detected is the ambient temperature of the GPU module, and the first temperature is the temperature of the GPU substrate. The power detection device may use a microcontroller unit (MCU), and the BMC may communicate with the GPU module MCU to obtain the current operating power consumption of the GPU substrate. The fan speed measuring device may be a CPLD (Complex Programmable Logic Device). Specifically, a control chain from the BMC module to the CPLD module and then to the fan may be constructed. The control chain is the basis for realizing communication between the BMC and the fan. The BMC module issues a fan control instruction, which may include a request to obtain the fan speed. After receiving the fan control instruction issued by the BMC, the CPLD module performs corresponding operations according to the instruction content. The CPLD module communicates with the fan through the control chain, reads the current fan speed information, and returns the read fan speed N to the BMC.
[0077] In some optional embodiments, the apparatus further includes: a second switch device, wherein an input end of the second switch device is connected to the at least one graphics processor substrate, and an output end of the second switch device is connected to the motherboard management controller, for obtaining a first temperature and operating power of any graphics processor substrate.
[0078] The second switch device can switch the circuit according to the requirement of the BMC, so as to obtain the first temperature and operating power of the GPU substrate that need to be obtained, so that the BMC performs heat dissipation analysis based on the first temperature and operating power.
[0079] In some optional implementations, a processor detection device is provided in an embodiment of the present invention, including a deformation monitoring device and a thermal conductivity monitoring device. For details, see Figure 2 The hardware connection diagram of the substrate deformation monitoring is shown in Figure 3 The hardware connection block diagram of thermal conductivity monitoring is shown. In the deformation monitoring device, the BMC is connected to the I2C SWITCH, and a strain gauge is attached to each GPU substrate. Each GPU substrate has a corresponding bridge circuit, and the strain gauge is connected to the bridge circuit, and the bridge circuit is connected to the amplifier, and multiple amplifiers are connected to the I2C SWITCH. In the thermal conductivity monitoring device, each GPU module is equipped with a temperature sensor (temperature SENSOR), and the current temperature T of the GPU is detected by the temperature sensor. The BMC is connected to the CPLD, and the other end of the CPLD is connected to multiple fans to obtain the current speed N of the fan. A temperature sensor is also installed inside the chassis, and the ambient temperature of the GPU module is obtained through the temperature sensor in the chassis ,In addition, the BMC can obtain the current operating power consumption P of the GPU by communicating ,with the MCU inside the GPU through I2C.
[0080] Based on the above-mentioned processor detection device, an embodiment of the present invention provides an embodiment of a processor detection method. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0081] In this embodiment, a processor detection method is provided, which can be used for a motherboard management controller in the above device. Figure 4 is a flowchart of a processor detection method according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:
[0082] Step S101, obtaining the current input voltage.
[0083] The current input voltage is determined by a voltage module. A strain gauge is provided on the current graphics processor (GPU) substrate. The target resistance of the strain gauge is obtained, and the target resistance is converted by the voltage module to obtain the current input voltage. The current input voltage corresponds to the current graphics processor substrate.
[0084] Step S102, calculating the deformation value of the current GPU substrate based on the current input voltage and the standard voltage.
[0085] The connection between the GPU substrate and the radiator through screws will cause the substrate to deform, resulting in a poor fit between the GPU chip and the radiator. During the long-term operation of the server, the deformation of the GPU substrate will increase, and the fit effect will be further reduced. The strain gauge can convert the deformation of the substrate into a change in circuit resistance. The deformation value is used to characterize the deformation of the graphics processor substrate, and the standard voltage is used to characterize the input voltage of the motherboard management controller corresponding to the current graphics processor substrate in the initial state. Before installing the radiator on the GPU substrate, the strain gauge should be installed in advance, and after connecting the strain gauge to the voltage module, the standard voltage corresponding to the GPU substrate in this initial state is obtained. It can be understood that each GPU substrate has its corresponding standard voltage, and the standard voltages of each GPU substrate can be the same or different. After determining the standard voltage of each GPU substrate, the BMC stores the standard voltage of each GPU substrate. Specifically, the identification of each GPU substrate can be set, and the standard voltage of each GPU substrate is stored through the identification.
[0086] When it is necessary to monitor the deformation of the current graphics processor substrate, the current input voltage corresponding to the current graphics processor substrate is obtained, and calculation is performed based on the current input voltage and the corresponding standard voltage to obtain the deformation value of the current graphics processor substrate.
[0087] In some optional implementations, the above step S101 includes: controlling a first switch device to obtain an input voltage corresponding to a current graphics processor substrate, wherein an output end of the first switch device is connected to the motherboard management controller.
[0088] The first switch device can switch the circuit according to the needs of the BMC, so as to obtain the input voltage of the voltage module that needs to be obtained, so that the BMC can perform deformation analysis on the corresponding GPU substrate based on the input voltage. When the BMC determines the current graphics processor substrate that needs to be monitored, it can send a switching command through the control interface of the first switch device to select the corresponding channel, so as to transmit the current input voltage corresponding to the current graphics processor substrate to the BMC.
[0089] In some optional implementations, the above step S102 includes the following steps:
[0090] Step S201, obtaining the power supply voltage of the voltage module;
[0091] Step S202, calculating the difference between the power supply voltage and the current input voltage to determine a first difference;
[0092] Step S203, calculating the difference between the power supply voltage and the standard voltage to determine a second difference;
[0093] Step S204: determining a deformation value of the current graphics processor substrate based on a ratio of the first difference to the second difference.
[0094] There is a power supply to the voltage module, and the supply voltage is the power supply voltage , the deformation value of the current GPU substrate Determined according to the following formula:
[0095]
[0096] in, Indicates the power supply voltage (i.e. the input level of the bridge circuit, for example: 3.3V), Indicates the current input voltage (i.e. the analog value after the strain gauge is deformed, which is proportional to the deformation). Indicates standard voltage (i.e., the analog value when the strain gauge has no deformation, usually 0). The range of each parameter is only an example and is subject to the actual situation of the server.
[0097] In some optional implementations, the method for determining the standard voltage includes the following steps:
[0098] Step S301, the strain gauge detects the initial deformation of the current graphics processor substrate and determines the initial resistance value according to the initial deformation;
[0099] Step S302, the bridge circuit in the voltage module outputs a first initial voltage based on the initial resistance value;
[0100] Step S303: the amplifier in the voltage module amplifies the first initial voltage to determine a standard voltage corresponding to the current graphics processor substrate.
[0101] Before installing the heat sink, the GPU substrate will install strain gauges in advance and connect the strain gauges to the bridge circuit in the voltage module. When the current graphics processor substrate starts to run, the initial resistance of the strain gauge in the initial state is detected, and the bridge circuit outputs a first initial voltage based on the initial resistance. The first initial voltage is amplified by an amplifier connected to the bridge circuit to obtain the standard voltage corresponding to the current graphics processor substrate. Each GPU substrate has its corresponding standard voltage, and the standard voltages of each GPU substrate can be the same or different. After determining the standard voltage of each GPU substrate, the BMC stores the standard voltage of each GPU substrate. Specifically, the identification of each GPU substrate can be set, and the standard voltage of each GPU substrate is stored through the identification.
[0102] In some optional implementations, after the above step S102, the method further includes:
[0103] Step S401, comparing the deformation value with a preset deformation threshold;
[0104] Step S402: When the deformation value is less than a preset deformation threshold, a first alarm is issued.
[0105] The preset deformation threshold can be set according to the actual situation. After the deformation value of the current graphics processor substrate is calculated, the deformation value is compared with the preset deformation threshold. If the deformation value is less than the preset deformation threshold, a first alarm is issued, indicating that the current deformation value is less than the preset deformation threshold, that is, the deformation of the current graphics processor substrate has exceeded the allowable range, and the situation can also be recorded in the log.
[0106] In this embodiment, the calculated deformation value of the current graphics processor substrate can be compared with a preset deformation threshold, and a first alarm can be issued when the deformation value is less than the preset deformation threshold, thereby achieving real-time monitoring and abnormal alarm of the GPU substrate deformation state, thereby improving the monitoring efficiency.
[0107] In some optional implementations, the method further includes: acquiring operating parameters of the current graphics processor substrate, and determining the heat dissipation condition based on the operating parameters and the deformation value of the current graphics processor substrate.
[0108] On the other hand, the method can also monitor the heat dissipation condition, obtain the operating parameters of the current graphics processor substrate, and substitute the operating parameters and the deformation value of the current graphics processor substrate into the set mathematical model for calculation, so as to determine the heat dissipation condition according to the calculation results.
[0109] In some implementations, the operating parameters include a first temperature, a second temperature, operating power consumption, and a fan speed, and the method includes the following steps:
[0110] Step S501, obtaining a first temperature of a graphics processor substrate and a second temperature in a chassis where the graphics processor substrate is located based on a temperature sensor;
[0111] Step S502, obtaining the operating power consumption of the graphics processor substrate based on the micro control unit;
[0112] Step S503, obtaining the fan speed of the graphics processor substrate based on the programmable logic device; respectively calculating a first product of the first temperature and the fan speed, and a second product of the second temperature and the operating power consumption;
[0113] like Figure 3 As shown, each GPU module is equipped with a temperature sensor (temperature SENSOR), which detects the current temperature of the GPU , BMC is connected to CPLD, and the other end of CPLD is connected to multiple fans to obtain the current speed of the fans A temperature sensor is also installed inside the chassis to obtain the ambient temperature of the GPU module. In addition, the BMC can communicate with the MCU inside the GPU through I2C to obtain the current operating power consumption of the GPU .
[0114] Step S504, calculating the ratio of the second product to the first product, and calculating the product of the ratio of the second product to the first product and the inverse of the deformation value of the graphics processor substrate to determine the thermal conductivity of the thermal conductive medium;
[0115] Specifically, the thermal conductivity is determined according to the following formula:
[0116]
[0117] in, represents the first temperature (which may be 20°C to 100°C), represents the second temperature (which can be 5°C to 45°C), Indicates the fan speed (can be 1000rpm to 30000rpm, rpm is the abbreviation of Revolutions Per Minute, indicating the number of rotations per minute), Indicates the operating power consumption, represents the deformation value of the graphics processor substrate, Indicates thermal conductivity. The range of each parameter is only an example and is subject to the actual situation of the server.
[0118] Step S505, calculating the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity, and comparing the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity with a preset thermal conductivity threshold;
[0119] The standard thermal conductivity is The preset thermal conductivity threshold and the standard thermal conductivity value are It can be set according to actual situation.
[0120] Step S506: determining the heat conduction state of the heat conduction medium based on the comparison result, so as to determine the heat dissipation condition based on the heat conduction state.
[0121] Among them, the thermal conductivity state is negatively correlated with the heat dissipation, that is, the better the thermal conductivity state of the thermal conductive medium, the stronger the thermal conductivity capacity, and the better the heat dissipation effect. If the current temperature is higher, it means that the thermal conductive medium fails to transfer heat to the radiator in time, that is, the worse the thermal conductivity state of the thermal conductive medium, the weaker the thermal conductivity capacity, and the poorer the heat dissipation effect.
[0122] Further, step S506 includes: when the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity is less than a preset thermal conductivity threshold, issuing a second alarm.
[0123] Taking the preset thermal conductivity threshold as 80% as an example, if If it is less than 80%, a second alarm is issued, indicating that the current thermal state does not meet expectations and the current heat dissipation capacity does not meet expectations. The second alarm prompts relevant technicians to replace the thermal conductive medium.
[0124] After replacing the new thermal conductive medium, the server needs to run stably for 12 hours, and collect and record the fan speed N and the second temperature during this 12 hours. , first temperature T, GPU operating power consumption P, take the average value and calculate the thermal conductivity The thermal conductivity value is ,Will It is used as the standard value for judging the thermal conductivity of the heat transfer medium within this cycle.
[0125] In an embodiment of the present invention, a processor detection device is provided, including a deformation monitoring device and a thermal conductivity monitoring device. The deformation of the substrate can be monitored by installing a strain gauge on the GPU substrate. When the deformation is less than a preset deformation threshold, a first alarm is issued. The GPU power consumption information, GPU temperature, fan speed, ambient temperature and other parameters can be obtained through the BMC to perform corresponding calculations to obtain calculation results, and the calculation results are compared with the standard threshold. When the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity is less than the preset thermal conductivity threshold, a second alarm is issued.
[0126] Based on the above device, the embodiment of the present invention also provides a processor detection method, the process of which is as follows: Figure 5 As shown, the strain gauge is mounted on the GPU substrate, and each GPU substrate is connected to the corresponding bridge circuit. When the GPU substrate is deformed, the resistance value of the strain gauge on the GPU substrate will change. The bridge circuit is a circuit that can measure small changes in resistance. When the strain gauge is strained, the resistance value will change. This resistance change will cause the output voltage of the bridge circuit to change. The output voltage of the bridge circuit is amplified by the amplifier to obtain the analog quantity D, which is provided to the BMC. The analog quantity corresponding to each GPU substrate is obtained in turn through the switching device I2C SWITCH. The strain gauge will be installed in advance before the GPU substrate is installed, and the strain gauge will be connected to the bridge circuit to obtain the standard analog quantity corresponding to the GPU in this state (that is, the state without deformation). , As the standard value of the base plate deformation during server operation, after receiving the analog value D, the BMC uses the formula:
[0127]
[0128] Calculate, where U represents the power supply voltage of the bridge circuit, that is, the input level of the bridge circuit, for example: 3.3V; Indicates the current input voltage (i.e. the analog value after the strain gauge is deformed, which is proportional to the deformation); Indicates standard voltage (i.e., the analog value when the strain gauge has no deformation, usually 0). The range of each parameter is only an example and is subject to the actual situation of the server.
[0129] In this embodiment, when the calculated Z is less than 80%, it means that the current deformation of the GPU substrate has exceeded the warning value, then an alarm will be issued and the situation will be recorded in the log. During the operation of the server, the BMC will continue to monitor the deformation of the current GPU substrate, and constantly compare the current deformation value with the standard value. Once the warning value is exceeded, an alarm will be issued. When the calculated Z is greater than 80%, it indicates that the deformation of the GPU substrate is within the allowable range. The BMC accesses the internal MCU of the GPU module through I2C to obtain the current GPU operating power consumption P and the first temperature T, and accesses the internal temperature sensor of the chassis through I2C to obtain the second temperature in the current chassis. , and read the current fan speed N at the same time to calculate the thermal conductivity , and calculate , Characterizes the thermal conductivity of the heat-conducting medium in its initial state. If the value is less than 0.8, it indicates that the thermal conductivity is abnormal, and the BMC issues a second alarm and records it in the log. Greater than 0.8 indicates that the thermal conductivity of the heat-conducting medium is normal and can be continuously monitored. The processor detection method provided in the embodiment of the present invention, on the one hand, uses strain gauges, voltage modules and the first switch device to monitor the deformation degree of each GPU substrate during the operation of the server in real time, so as to avoid the poor contact between the substrate and the radiator caused by excessive deformation of the GPU substrate, the inability of the GPU to effectively dissipate heat, resulting in excessive temperature, reduced GPU performance and even hardware damage. On the other hand, by obtaining the fan speed, the first temperature of the graphics processor substrate, the second temperature in the chassis where the graphics processor substrate is located, the GPU operating power consumption and other operating parameters, and calculating the thermal conductivity value of the heat-conducting medium, and then by comparing and measuring the thermal conductivity of the current heat-conducting medium, the heat-conducting medium is replaced in time when it ages to the point where it cannot meet the use requirements, so as to avoid the increase in maintenance costs caused by premature replacement and the lack of heat dissipation capacity of the GPU module caused by untimely replacement.
[0130] The present invention also provides a motherboard management controller, see Figure 6 , Figure 6 is a structural diagram of a motherboard management controller provided by an optional embodiment of the present invention, such as Figure 6As shown, the motherboard management controller includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the motherboard management controller, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple motherboard management controllers can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0131] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0132] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0133] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the motherboard management controller, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the motherboard management controller via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0134] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0135] The motherboard management controller also includes a communication interface 30, which is used for the motherboard management controller to communicate with other devices or a communication network.
[0136] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0137] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0138] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A processor detection device, characterized in that: The device comprises: at least one graphics processor substrate, wherein a strain gauge is disposed on the graphics processor substrate, and wherein the strain gauge is used to determine a target resistance based on a deformation of the graphics processor substrate; at least one voltage module, the input end of the voltage module is connected to the strain gauge, and is used to convert the target resistance into an input voltage of a motherboard management controller, and the voltage module corresponds to the graphics processor substrate one by one; A motherboard management controller, the motherboard management controller is used to perform calculations based on the input voltage and a standard voltage to determine a deformation value of the graphics processor substrate, the standard voltage being used to characterize an input voltage of the motherboard management controller corresponding to the graphics processor substrate in an initial state; The deformation value of the graphics processor substrate is determined in the following manner: obtaining the power supply voltage of the voltage module; calculating the difference between the power supply voltage and the input voltage to determine a first difference; calculating the difference between the power supply voltage and the standard voltage to determine a second difference; determining the deformation value of the graphics processor substrate based on the ratio of the first difference to the second difference; a first switch device, wherein an input end of the first switch device is connected to the at least one voltage module, an output end of the first switch device is connected to the motherboard management controller, and the first switch device is used to use an input voltage corresponding to any one of the graphics processor substrates as an input to the motherboard management controller; a first temperature measuring device, the first temperature measuring device is arranged on the graphics processor substrate, and is used to measure the first temperature of the graphics processor substrate; a second temperature measuring device, the second temperature measuring device is arranged in the chassis where the graphics processor substrate is located, and the output end of the second temperature measuring device is connected to the motherboard management controller, and is used to measure the second temperature in the chassis; the first temperature measuring device and the second temperature measuring device are temperature sensors; a power detection device, the power detection device is used to monitor the operating power consumption of the graphics processor substrate, and the power detection device is a micro control unit; a fan speed measuring device, the input end of the fan speed measuring device is connected to the fan, and the output end is connected to the motherboard management controller, and is used to obtain the fan speed, and the fan speed measuring device is a programmable logic device; The operating parameters include a first temperature, a second temperature, an operating power consumption, and a fan speed. The motherboard management controller is used to obtain the operating parameters of the current graphics processor substrate, and determine the heat dissipation condition based on the operating parameters and the deformation value of the current graphics processor substrate, including: obtaining the first temperature of the graphics processor substrate and the second temperature in the chassis where the graphics processor substrate is located based on the temperature sensor; obtaining the operating power consumption of the graphics processor substrate based on the microcontroller; obtaining the fan speed of the graphics processor substrate based on the programmable logic device; respectively calculating the first product of the first temperature and the fan speed; a product of the second temperature and the second product of the operating power consumption; calculating the ratio of the second product to the first product, and calculating the product of the ratio of the second product to the first product and the inverse of the deformation value of the graphics processor substrate to determine the thermal conductivity of the thermal conductive medium; calculating the ratio of the thermal conductivity of the thermal conductive medium to the standard thermal conductivity, and comparing the ratio of the thermal conductivity of the thermal conductive medium to the standard thermal conductivity with a preset thermal conductivity threshold; determining the thermal conductivity state of the thermal conductive medium based on the comparison result, and determining the heat dissipation condition based on the thermal conductivity state, wherein the thermal conductivity state is negatively correlated with the heat dissipation condition; the thermal conductivity value is determined according to the following formula: in, represents the first temperature, represents the second temperature, Indicates the fan speed, Indicates the operating power consumption, represents the deformation value of the graphics processor substrate, Indicates thermal conductivity.
2. The device according to claim 1, characterized in that The voltage module comprises: a bridge circuit connected to a strain gauge on a graphics processor substrate and configured to output a first voltage based on the target resistance; An amplifier, wherein the input end of the amplifier is connected to the bridge circuit, and the output end of the amplifier is connected to the first switch device, and is used to amplify the first voltage to determine the input voltage of the motherboard management controller.
3. The device according to claim 1, characterized in that The device also includes: A second switch device, wherein an input end of the second switch device is connected to the at least one graphics processor substrate, and an output end of the second switch device is connected to the motherboard management controller, and is used to obtain a first temperature and an operating power of any graphics processor substrate.
4. A processor detection method, characterized in that: The processor detection device according to any one of claims 1 to 3, wherein the method comprises: Acquire a current input voltage, where the current input voltage corresponds to a current graphics processor substrate; The deformation value of the current graphics processor substrate is calculated based on the current input voltage and the standard voltage, wherein the deformation value is used to characterize the deformation of the graphics processor substrate, and the standard voltage is used to characterize the input voltage of the motherboard management controller corresponding to the current graphics processor substrate in the initial state; the deformation value of the current graphics processor substrate is calculated based on the current input voltage and the standard voltage, including: Obtaining the power supply voltage of the voltage module; Calculating a difference between the power supply voltage and the current input voltage to determine a first difference; Calculating a difference between the power supply voltage and the standard voltage to determine a second difference; Determining a deformation value of the current graphics processor substrate based on a ratio of the first difference to the second difference; The method further includes: acquiring operating parameters of the current graphics processor substrate, and determining a heat dissipation condition based on the operating parameters and a deformation value of the current graphics processor substrate; The operating parameters include a first temperature, a second temperature, operating power consumption, and a fan speed. The acquiring the operating parameters of the current graphics processor substrate and determining the heat dissipation condition based on the operating parameters and the deformation value of the current graphics processor substrate include: Based on the temperature sensor, respectively obtain the first temperature of the graphics processor substrate and the second temperature in the chassis where the graphics processor substrate is located; based on the microcontroller unit, obtain the operating power consumption of the graphics processor substrate; based on the programmable logic device, obtain the fan speed of the graphics processor substrate; respectively calculate the first product of the first temperature and the fan speed, and the second product of the second temperature and the operating power consumption; calculate the ratio of the second product to the first product, and calculate the product of the ratio of the second product to the first product and the inverse of the deformation value of the graphics processor substrate to determine the thermal conductivity of the heat-conducting medium; calculate the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity, and compare the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity with a preset thermal conductivity threshold; determine the thermal conductivity state of the heat-conducting medium based on the comparison result, so as to determine the heat dissipation condition based on the thermal conductivity state, and the thermal conductivity state is negatively correlated with the heat dissipation condition; The thermal conductivity is determined according to the following formula: in, represents the first temperature, represents the second temperature, Indicates the fan speed, Indicates the operating power consumption, represents the deformation value of the graphics processor substrate, Indicates thermal conductivity.
5. The method according to claim 4, characterized in that The obtaining of the current input voltage comprises: The first switch device is controlled to obtain an input voltage corresponding to the current graphics processor substrate, and an output end of the first switch device is connected to the motherboard management controller.
6. The method according to claim 4, characterized in that The method for determining the standard voltage includes: The strain gauge detects the initial deformation of the current graphics processor substrate and determines the initial resistance value according to the initial deformation; The bridge circuit in the voltage module outputs a first initial voltage based on the initial resistance value; The amplifier in the voltage module amplifies the first initial voltage to determine the standard voltage corresponding to the current graphics processor substrate.
7. The method according to claim 4, characterized in that After calculating the deformation value of the current graphics processor substrate based on the current input voltage and the standard voltage, the method further includes: comparing the deformation value with a preset deformation threshold; When the deformation value is less than the preset deformation threshold, a first alarm is issued.
8. The method according to claim 4, characterized in that The step of determining the heat conduction state of the heat conduction medium based on the comparison result includes: When the ratio of the thermal conductivity of the heat-conducting medium to the standard thermal conductivity is less than a preset thermal conductivity threshold, a second alarm is issued.
9. A motherboard management controller, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the processor detection method according to any one of claims 4 to 8 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the processor detection method according to any one of claims 4 to 8.
11. A computer program product, characterized in that The method comprises computer instructions, wherein the computer instructions are used to cause a computer to execute the processor detection method according to any one of claims 4 to 8.
