Ventilation and cooling method for multi-gpu server and related device
By constructing a temperature distribution matrix and independently adjusting the speed of the middle fan and coordinating the speed of the front and rear fan groups, the problems of uneven temperature field distribution and low airflow utilization in multi-GPU servers are solved, achieving a more efficient heat dissipation effect.
Patent Information
- Application Number
- CN202611624911.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-20
- Publication Date
- 2026-11-20
AI Technical Summary
Existing ventilation and heat dissipation solutions for multi-GPU servers use a single air duct and a uniform fan speed control method, which cannot perform independent speed adjustment and overall system coordinated control based on the temperature distribution of different areas of the GPU array. This results in uneven temperature distribution, difficulty in eliminating local hot spots, and low airflow utilization.
By acquiring the heatsink temperature of each GPU processor, a temperature distribution matrix is constructed. Based on the mapping relationship between the mid-section fan and the GPU sub-region, the independent speed adjustment of each mid-section fan is achieved. Furthermore, the speed of the front intake and rear exhaust fan groups is coordinated and adjusted according to the overall system temperature characteristics of the temperature distribution matrix.
It achieves independent speed adjustment and overall coordinated control of the GPU array based on the temperature distribution of each region, eliminating local hot spots, improving airflow utilization and temperature uniformity, and ensuring the stable operation of the GPU processor.
Smart Images

Figure CN123137474A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of server heat dissipation technology, and in particular relates to a ventilation and heat dissipation method and related equipment for a multi-GPU server. Background Technology
[0002] Multi-GPU servers typically operate in high-performance computing, artificial intelligence training and inference scenarios, and densely deploy multiple GPU processors to form a GPU array. GPU processors consume significant heat during operation and are highly sensitive to operating temperature. Insufficient heat dissipation can easily lead to localized high-temperature areas within the GPU array, affecting computing power stability and lifespan. Currently, most existing ventilation and cooling solutions employ a single airflow structure with front-end intake and rear-end exhaust, and fan control is generally based on uniform speed adjustment for the entire machine. This approach has the following shortcomings: airflow tends to attenuate as it flows along the center of the chassis, making it difficult to precisely target airflow to different locations and sub-regions with varying heat loads within the GPU array; furthermore, the lack of effective coordination between front-end, mid-range, and rear-end fans results in airflow interference, low effective airflow utilization, and uneven temperature distribution across the entire machine. Since the different GPU processors within the GPU array have varying cooling conditions and workloads, relying solely on uniform speed adjustment for the entire machine is insufficient to ensure that each GPU sub-region reaches a suitable temperature. Therefore, there is an urgent need for a multi-GPU server ventilation and heat dissipation method that can independently adjust the speed of each sub-region of the GPU array and make the front-end, middle and back-end fans work together. This is to solve the problem that the existing ventilation and heat dissipation solutions use a single air duct and a unified fan speed adjustment method, which cannot adjust the speed of each region of the GPU array independently and coordinate the whole machine according to the temperature distribution of each region. This results in uneven temperature field distribution, difficulty in eliminating local hot spots and low airflow utilization. Summary of the Invention
[0003] This application provides a ventilation and heat dissipation method for a multi-GPU server, aiming to solve the problems of existing ventilation and heat dissipation solutions that use a single air duct and uniform fan speed control, which cannot perform independent speed adjustment and overall system-wide coordinated control based on the temperature distribution of different areas of the GPU array. This results in uneven temperature distribution, difficulty in eliminating local hot spots, and low airflow utilization. By acquiring the heatsink temperature of each GPU processor, a temperature distribution matrix is constructed. Based on the mapping relationship between the mid-section fans and GPU sub-regions, the temperature of the corresponding sub-region for each mid-section fan is determined, and independent speed adjustment is performed on each mid-section fan to make the temperature of the corresponding sub-region approach the target temperature corresponding to the current task. Furthermore, based on the overall system temperature characteristics of the temperature distribution matrix, the speed of the front-end intake fan group and the rear-end exhaust fan group are coordinated and adjusted. This solves the problems of existing ventilation and heat dissipation solutions that use a single air duct and uniform fan speed control, which cannot perform independent speed adjustment and overall system-wide coordinated control based on the temperature distribution of different areas of the GPU array, resulting in uneven temperature distribution, difficulty in eliminating local hot spots, and low airflow utilization.
[0004] In a first aspect, embodiments of the present invention provide a ventilation and heat dissipation method for a multi-GPU server, applied to a multi-GPU server, the server comprising a front-end intake fan group, a mid-section pressurized and flow-equalizing fan group, and a rear-end exhaust fan group arranged sequentially along the airflow direction, the mid-section pressurized and flow-equalizing fan group comprising multiple mid-section fans arranged in a matrix, each mid-section fan correspondingly covering at least one sub-region of the GPU array through airflow diversion ribs; the method includes the following steps:
[0005] The temperature of the heatsink of each GPU processor is obtained, and a temperature distribution matrix is constructed. Specifically, the temperature sensor on the heatsink of each GPU processor is polled at a sampling frequency of not less than a preset frequency to obtain the temperature value on the heatsink of each GPU processor. The temperature values on the heatsink of each GPU processor are then arranged in rows and columns according to the GPU array to generate a temperature distribution matrix.
[0006] Based on the mapping relationship between the mid-section fans and the GPU sub-regions, the temperature of the corresponding sub-region for each mid-section fan is determined;
[0007] Independent speed adjustment is performed on each mid-section fan to make the temperature of the corresponding sub-area approach the target temperature corresponding to the current task;
[0008] Furthermore, based on the overall temperature characteristics of the temperature distribution matrix, the rotation speeds of the front intake fan assembly and the rear exhaust fan assembly are adjusted in a coordinated manner.
[0009] Optionally, before performing independent speed adjustment on each mid-section fan to bring the temperature of the corresponding sub-region closer to the target temperature corresponding to the current task, the method further includes:
[0010] Obtain the type of task currently being executed by the GPU processor, including training tasks, inference tasks, and idle states;
[0011] Based on the preset mapping relationship between task type and target temperature, determine the target temperature corresponding to the current task type.
[0012] Optionally, the independent speed control of each mid-section fan includes:
[0013] Based on the temperature distribution matrix, determine the highest temperature of the sub-region corresponding to each mid-section fan;
[0014] Using the difference between the highest temperature of the corresponding sub-region and the target temperature as input, the PWM duty cycle of the middle section fan is calculated using a PID control algorithm;
[0015] Independent speed control is performed on the mid-section fan based on the PWM duty cycle.
[0016] Optionally, the independent speed control of each mid-section fan includes:
[0017] When the deviation between the highest temperature in any sub-region and the average temperature of the whole machine is greater than a preset temperature difference threshold, the speed of the corresponding middle section fan in the sub-region is increased.
[0018] The speed of the intermediate fan in the adjacent sub-region is increased simultaneously to divert the adjacent airflow to the sub-region.
[0019] Optionally, the coordinated adjustment of the rotation speeds of the front intake fan assembly and the rear exhaust fan assembly includes:
[0020] Obtain the average speed of the mid-section booster fan assembly;
[0021] The speed of the front intake fan group is controlled based on the average speed of the mid-section booster fan group.
[0022] Furthermore, the rotational speed of the rear exhaust fan group is controlled based on the average rotational speed of the mid-section booster fan group.
[0023] Optionally, the method further includes:
[0024] When any mid-section fan failure is detected, the mid-section fan adjacent to the failure mid-section fan is determined;
[0025] The rotational speeds of the front intake fan group and the rear exhaust fan group are controlled based on the increase in rotational speed of the adjacent mid-section fan to the faulty mid-section fan.
[0026] Secondly, embodiments of the present invention also provide a multi-GPU server, the server comprising a front-end intake fan group, a mid-section pressurization and flow equalization fan group and a rear-end exhaust fan group arranged sequentially along the airflow direction, the mid-section pressurization and flow equalization fan group comprising multiple mid-section fans arranged in a matrix, each mid-section fan correspondingly covering at least one sub-region of the GPU array through airflow diversion ribs, the multi-GPU server implementing the method described in the embodiments of the present invention.
[0027] Thirdly, embodiments of the present invention provide an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps in the ventilation and heat dissipation method for a multi-GPU server provided in embodiments of the present invention.
[0028] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the ventilation and heat dissipation method for a multi-GPU server provided in the embodiments of the present invention.
[0029] In this embodiment of the invention, the heatsink temperatures of each GPU processor are obtained to construct a temperature distribution matrix; based on the mapping relationship between the mid-section fans and the GPU sub-regions, the temperature of the corresponding sub-region for each mid-section fan is determined; independent speed adjustment is performed on each mid-section fan to make the temperature of the corresponding sub-region approach the target temperature corresponding to the current task; and, based on the overall system temperature characteristics of the temperature distribution matrix, the speeds of the front-end intake fan group and the rear-end exhaust fan group are coordinated and adjusted. This invention solves the problems of existing ventilation and heat dissipation solutions that use a single air duct and uniform fan speed adjustment method, which cannot perform independent speed adjustment and overall coordinated control based on the temperature distribution of each region of the GPU array, resulting in uneven temperature field distribution, difficulty in eliminating local hot spots, and low airflow utilization.
[0030] Other beneficial effects of this application will be described in detail in the following detailed description section. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0032] Figure 1 A flowchart illustrating a ventilation and heat dissipation method for a multi-GPU server provided in an embodiment of this application;
[0033] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0034] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0035] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0036] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0037] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0038] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0039] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0040] like Figure 1 As shown, Figure 1 This is a flowchart of a ventilation and heat dissipation method for a multi-GPU server provided in an embodiment of the present invention. The ventilation and heat dissipation method for a multi-GPU server includes the following steps:
[0041] 101. Obtain the heatsink temperature of each GPU processor and construct a temperature distribution matrix. Specifically, poll the temperature sensor on each GPU processor heatsink at a sampling frequency no less than a preset frequency to obtain the temperature value on each GPU processor heatsink; generate a temperature distribution matrix by arranging the temperature values on each GPU processor heatsink according to the row and column layout of the GPU array.
[0042] In this embodiment of the invention, the ventilation and heat dissipation method for the multi-GPU server is used in a multi-GPU server. The server includes a front-end intake fan group, a mid-section pressurized and flow-equalizing fan group, and a rear-end exhaust fan group arranged sequentially along the airflow direction. The mid-section pressurized and flow-equalizing fan group includes multiple mid-section fans arranged in a matrix, each mid-section fan corresponding to at least one sub-region of the GPU array through airflow diversion ribs. The front-end intake fan group can be a collection of fans located in the front ventilation area of the server, used to introduce cool air from the outside to provide basic airflow and intake pressure for the multi-GPU server. The mid-section pressurized and flow-equalizing fan group can be a collection of fans located in the middle ventilation area of the server, used to perform secondary pressurization and uniform distribution of the airflow entering from the front, accurately covering the heat dissipation area of each GPU processor. The rear-end exhaust fan group can be a collection of fans located in the rear ventilation area of the server, used to quickly exhaust the hot air flowing through the GPU array from the server, avoiding hot air accumulation and backflow. The GPU processor can be a graphics processing unit or accelerator processor in the server that performs parallel computing tasks and is the main heat source of the server. The aforementioned sub-region can be a local area in the GPU array covered by a mid-section fan via airflow ducts.
[0043] The aforementioned heatsink temperature can be the temperature value collected by the temperature sensor on the heatsink of the GPU processor, used to characterize the current heat dissipation status of the GPU processor.
[0044] In this embodiment of the invention, the preset sampling frequency can be a pre-set sampling frequency. The preset sampling frequency can be expressed as the number of samples per unit time, such as once per second, ten times per second, etc.
[0045] It is understandable that polling at a frequency no lower than the preset sampling frequency means reading the temperature values of each temperature sensor sequentially at a preset sampling frequency or higher, ensuring that the temperature data update speed can reflect the temperature fluctuations caused by changes in GPU load in a timely manner.
[0046] The aforementioned polling can be a process of sequentially reading the temperature values of the temperature sensors on each GPU processor heatsink in a preset order. Polling ensures that the reading times of each temperature sensor are close within the same round, thus giving the temperature values of each element in the same temperature distribution matrix a unified time reference.
[0047] The aforementioned GPU processor heatsink can be a metal heat dissipation structure mounted on the GPU processor to increase the heat dissipation area and conduct heat. Each GPU processor heatsink is equipped with a temperature sensor to collect the heatsink temperature of that GPU processor.
[0048] The temperature sensors described above are used to measure the temperature of the GPU processor's heatsink in real time. Each GPU processor has its own temperature sensor.
[0049] The row and column layout of the aforementioned GPU array can be a physical arrangement of multiple GPU processors within a server, such as 2 rows and 8 columns, 4 rows and 4 columns, etc. Each GPU processor has a unique row and column position in the array.
[0050] The temperature distribution matrix described above can be a matrix data structure formed by arranging the temperature values of each GPU processor's heatsink according to the row and column layout of the GPU array. The number of rows and columns in the temperature distribution matrix is the same as the number of rows and columns in the GPU array. The element in the i-th row and j-th column of the matrix corresponds to the heatsink temperature value of the GPU processor at the i-th row and j-th column position in the GPU array. The temperature distribution matrix reflects the temperature distribution of each GPU processor in the server at the current moment.
[0051] In this embodiment of the invention, by polling the temperature sensors on the heatsinks of each GPU processor at a sampling frequency no less than a preset frequency, the temperature values of the heatsinks of each GPU processor can be continuously acquired with a sufficiently high time resolution. This ensures that the temperature data update speed can promptly reflect temperature fluctuations caused by changes in GPU load, avoiding the problem of temperature data lag caused by low sampling frequency. By generating a temperature distribution matrix according to the row and column layout of the GPU array based on the temperature values on the heatsinks of each GPU processor, a clear correspondence is established between the temperature data and the physical location of the GPU processors. Each element in the temperature distribution matrix corresponds to a GPU processor at a specific row and column position in the GPU array.
[0052] It should be noted that by acquiring the heatsink temperature of each GPU processor and constructing a temperature distribution matrix, real-time perception and structured representation of the global temperature status of the GPU array are achieved.
[0053] 102. Based on the mapping relationship between the mid-section fan and the GPU sub-region, determine the temperature of the corresponding sub-region for each mid-section fan.
[0054] In this embodiment of the invention, the mid-section booster flow equalization fan group includes multiple mid-section fans arranged in a matrix, and each mid-section fan covers at least one sub-region of the GPU array through airflow diversion ribs.
[0055] The mapping relationship between the mid-section fan and the GPU sub-region mentioned above can be a pre-set mapping relationship. Specifically, it can be the correspondence between each mid-section fan and the GPU sub-region it covers via airflow ribs.
[0056] Furthermore, based on the mapping relationship between the mid-section fan and the GPU sub-region, the temperature data in the temperature distribution matrix can be accurately associated with the specific fan, determining the current temperature state of the sub-region corresponding to each mid-section fan.
[0057] 103. Implement independent speed adjustment for each mid-section fan to make the temperature of the corresponding sub-area approach the target temperature corresponding to the current task.
[0058] In this embodiment of the invention, the aforementioned independent speed regulation can be a control method that adjusts the speed of each mid-section fan individually based on the difference between the temperature of its corresponding sub-region and the target temperature.
[0059] The target temperature mentioned above can be a pre-set operating temperature value that the GPU processor should approach, based on the current task type.
[0060] The speed of each mid-section fan is independently adjusted based on the difference between the temperature of its corresponding sub-region and the target temperature of the current task. For example, when the temperature of a sub-region is higher than the target temperature, the speed of the mid-section fan corresponding to that sub-region is increased to enhance heat dissipation; when the temperature of a sub-region is lower than the target temperature, the speed of the mid-section fan can be appropriately reduced to save energy.
[0061] It should be noted that by independently adjusting the speed of each mid-section fan, the temperature of the corresponding sub-region is made closer to the target temperature corresponding to the current task. This achieves differentiated speed adjustment between the actual temperature and the target temperature of each sub-region, effectively eliminating local hot spots in the GPU array and improving the temperature uniformity of the server.
[0062] 104. Furthermore, based on the overall temperature characteristics of the temperature distribution matrix, the rotation speeds of the front intake fan assembly and the rear exhaust fan assembly are adjusted in a coordinated manner.
[0063] In this embodiment of the invention, the above-mentioned overall temperature characteristics can be feature quantities extracted from the temperature distribution matrix to characterize the overall temperature status of the whole machine. The overall temperature characteristics can be the average temperature, the highest temperature, the temperature distribution trend, etc.
[0064] Based on the overall temperature characteristics of the unit according to the temperature distribution matrix, the speed of the front intake fan group and the rear exhaust fan group can be adjusted in a coordinated manner. The front intake fan group is responsible for introducing sufficient cold air to provide basic airflow, the rear exhaust fan group is responsible for quickly expelling hot air to avoid hot air accumulation, and the middle pressurization and flow equalization fan group is responsible for secondary pressurization and uniform distribution of airflow.
[0065] In this embodiment of the invention, by coordinating the speed of the front intake fan group and the rear exhaust fan group according to the overall temperature characteristics of the temperature distribution matrix, the independent speed adjustment of the middle fan is combined with the overall coordinated adjustment of the front and rear fan groups, forming a complete coordinated heat dissipation system of front-end air pushing - middle-section pressurization - rear-end air extraction.
[0066] In this embodiment of the invention, the heatsink temperatures of each GPU processor are obtained to construct a temperature distribution matrix; based on the mapping relationship between the mid-section fans and the GPU sub-regions, the temperature of the corresponding sub-region for each mid-section fan is determined; independent speed adjustment is performed on each mid-section fan to make the temperature of the corresponding sub-region approach the target temperature corresponding to the current task; and, based on the overall system temperature characteristics of the temperature distribution matrix, the speeds of the front-end intake fan group and the rear-end exhaust fan group are coordinated and adjusted. This invention solves the problems of existing ventilation and heat dissipation solutions that use a single air duct and uniform fan speed adjustment method, which cannot perform independent speed adjustment and overall coordinated control based on the temperature distribution of each region of the GPU array, resulting in uneven temperature field distribution, difficulty in eliminating local hot spots, and low airflow utilization.
[0067] It is understood that in the specific embodiments of this application, data such as temperature data, adjustment data, and rotation speed data are involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required. Furthermore, the collection, use, and processing of related data, as well as the training, deployment, and invocation of algorithm models, must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0068] Optionally, before performing independent speed adjustment on each mid-section fan to bring the temperature of the corresponding sub-region closer to the target temperature corresponding to the current task, the type of task currently being executed by the GPU processor can be obtained; and the target temperature corresponding to the current task type can be determined based on the preset mapping relationship between task types and target temperatures.
[0069] In this embodiment of the invention, the task type can be the category to which the computing task currently being executed by the GPU processor belongs. The task types include training tasks, inference tasks, and idle states. The training task can be a high-load, continuous computing task where the GPU processor is performing deep learning model training. The inference task can be a computing task where the GPU processor is performing model inference. The idle state can be a state where the GPU processor is not currently performing any computing tasks and is in standby or low-power mode.
[0070] The aforementioned mapping relationship between task types and target temperatures can be a pre-defined mapping relationship. This mapping relationship can be implemented in the form of a mapping table, lookup table, etc. The core of the mapping relationship between task types and target temperatures is to assign a matching target temperature value to each task type. The mapping relationship can be pre-configured based on factors such as the GPU processor model, thermal design, and application scenario.
[0071] The target temperature mentioned above can be a pre-set operating temperature value that the GPU processor should approach, based on the current task type.
[0072] It should be noted that the target temperature can be determined based on the preset mapping relationship between task types and target temperatures, thus assigning differentiated target temperatures to different task types. For example, for training tasks, the target temperature can be set at a level that allows for higher temperatures, such as 43℃ to 45℃, because training tasks have a certain tolerance for temperature fluctuations, and appropriately increasing the target temperature can reduce fan speed and energy consumption. For inference tasks, the target temperature can be set at a lower level, such as 38℃ to 40℃, to ensure that the GPU does not trigger frequency throttling in temperature-sensitive scenarios and to ensure inference response latency. For idle states, the target temperature can be set at a higher level or directly enter a low-power cooling mode, because the GPU load is extremely low and no powerful cooling is required.
[0073] In this embodiment of the invention, by obtaining the current task type being executed by the GPU processor and determining the target temperature corresponding to the current task type based on the preset mapping relationship between task type and target temperature, the target temperature can be dynamically adjusted as the task type changes, thereby achieving precise matching between heat dissipation capacity and heat load, and taking into account both heat dissipation effect and energy consumption control.
[0074] Optionally, in the step of performing independent speed regulation for each mid-section fan, the highest temperature of the corresponding sub-region of each mid-section fan can be determined according to the temperature distribution matrix; the difference between the highest temperature of the corresponding sub-region and the target temperature can be used as input to calculate the PWM duty cycle of the mid-section fan using a PID control algorithm; and independent speed regulation of the mid-section fan can be performed based on the PWM duty cycle.
[0075] In this embodiment of the invention, the temperature distribution matrix can be a matrix-like data structure formed by arranging the temperature values on the heatsinks of each GPU processor according to the row and column layout of the GPU array. Each element in the temperature distribution matrix corresponds to the temperature value of the heatsink of one GPU processor.
[0076] The sub-region corresponding to the aforementioned mid-section fan can be the local area of the GPU array covered by each mid-section fan through the airflow splitter. Each sub-region contains at least one GPU processor.
[0077] The highest temperature in the aforementioned sub-region can be the maximum value among all GPU processor heatsink temperatures within the sub-region corresponding to the mid-section fan.
[0078] The target temperature mentioned above can be a pre-set operating temperature value that the GPU processor should approach, based on the current task type.
[0079] The aforementioned temperature deviation can be the difference between the highest temperature in the sub-region and the target temperature.
[0080] The aforementioned PID control algorithm is a closed-loop control algorithm composed of three parts: proportional, integral, and derivative. The proportional part outputs a control quantity proportional to the magnitude of the current temperature deviation; the larger the deviation, the larger the output. The integral part outputs a control quantity based on the cumulative temperature deviation over time, used to eliminate steady-state error. The derivative part outputs a control quantity based on the rate of change of the temperature deviation, used to predict the trend of deviation change and apply adjustment in advance to suppress overshoot. The output of the PID control algorithm is the control quantity, which is used to determine the PWM duty cycle of the mid-stage fan.
[0081] The PWM duty cycle mentioned above can be the proportion of the high-level duration in the pulse width modulation signal to the signal period, and its value can range from 0 to 1, 0% to 100%, etc. The PWM duty cycle determines the equivalent voltage of the mid-stage fan drive signal, and thus determines the fan speed. The larger the PWM duty cycle, the higher the fan speed.
[0082] The aforementioned independent control can be a control method that adjusts the speed of the mid-section fan individually based on the PWM duty cycle.
[0083] In this embodiment of the invention, the highest temperature of the corresponding sub-region for each mid-section fan is determined by a temperature distribution matrix, and this highest temperature is used as the control input. This ensures that sufficient attention is paid to the cooling of the GPU processor with the highest temperature in the sub-region, avoiding the problem of individual high-temperature GPU processors not receiving sufficient cooling due to the averaging effect when the average temperature of the sub-region is used as the control input. By using the difference between the highest temperature of the corresponding sub-region and the target temperature as input, a PID control algorithm is used to calculate the PWM duty cycle of the mid-section fan. This allows the fan speed adjustment to be based on the continuous calculation results of proportional, integral, and derivative steps, achieving continuous and precise speed adjustment. Compared with on / off control or fixed-gear control, this can make the sub-region temperature approach the target temperature more quickly and smoothly, and effectively suppress temperature overshoot and oscillation. By performing independent speed adjustment of the mid-section fans through the PWM duty cycle, the speed of each mid-section fan is determined according to the temperature deviation of its corresponding sub-region, achieving precise partitioned cooling for each sub-region of the GPU array.
[0084] Optionally, in the step of independently adjusting the speed of each mid-section fan, when the deviation between the highest temperature of any sub-region and the average temperature of the whole machine is greater than the preset temperature difference threshold, the speed of the corresponding mid-section fan in the sub-region is increased; at the same time, the speed of the mid-section fan in the adjacent sub-region is increased to divert the adjacent airflow to the sub-region.
[0085] In this embodiment of the invention, the highest temperature in the aforementioned sub-region can be the maximum value among all GPU processor heatsink temperatures in any sub-region corresponding to the mid-section fan.
[0086] The above average temperature of the entire system can be the average of the temperature values of all GPU processor heatsinks calculated based on the temperature distribution matrix.
[0087] The aforementioned deviation can be the difference between the highest temperature in any sub-region and the average temperature of the entire machine.
[0088] The aforementioned preset temperature difference threshold can be a pre-set temperature difference threshold. When the deviation between the highest temperature in any sub-region and the average temperature of the whole machine is greater than the preset temperature difference threshold, it is determined that a local high temperature has occurred in that sub-region, requiring coordinated treatment.
[0089] The aforementioned adjacent sub-regions can be at least one other GPU sub-region that is directly adjacent to the high-temperature sub-region in the row or column direction in the physical layout of the GPU array. The middle-section fans corresponding to the adjacent sub-regions are adjacent to the middle-section fans corresponding to the high-temperature sub-regions in the matrix arrangement.
[0090] The aforementioned diversion can be achieved by increasing the speed of the middle fan in the adjacent sub-region, thereby increasing the airflow pressure in the adjacent sub-region and directing some of the airflow from the adjacent sub-region to the high-temperature sub-region, thus increasing the total amount of airflow available to the high-temperature sub-region.
[0091] The aforementioned sub-region can be a local area in the GPU array covered by a mid-section fan via airflow ducts.
[0092] In this embodiment of the invention, the invention uses the deviation between the highest temperature of a sub-region and the average temperature of the entire system being greater than a preset temperature difference threshold as the trigger condition. This can accurately identify the sub-regions that truly constitute local hot spots, avoiding unnecessary intervention in sub-regions with normal temperature fluctuations. While increasing the speed of the middle fan corresponding to the high-temperature sub-region, the speed of the middle fan in the adjacent sub-region is simultaneously increased, which increases the airflow pressure in the adjacent sub-region and diverts some airflow to the high-temperature sub-region. This can achieve active heat dissipation intervention for local hot spots without changing the hardware structure, effectively improving the uniformity of the GPU array temperature field and reducing the risk of GPU frequency reduction due to local overheating.
[0093] Optionally, in the step of coordinating the speed adjustment of the front intake fan group and the rear exhaust fan group, the average speed of the middle section booster flow equalizing fan group can be obtained; the speed of the front intake fan group can be controlled based on the average speed of the middle section booster flow equalizing fan group; and the speed of the rear exhaust fan group can be controlled based on the average speed of the middle section booster flow equalizing fan group.
[0094] In this embodiment of the invention, the average speed of the aforementioned mid-section booster flow equalizing fan group can be the average of the current speeds of all mid-section fans in the mid-section booster flow equalizing fan group. This average speed reflects the overall workload level of the mid-section fan group.
[0095] Understandably, since each mid-section fan uses independent speed control for its zone, its speed varies depending on the temperature of the corresponding sub-zone. Using the average speed as a benchmark can reflect the overall working status of the mid-section fan group and avoid deviations caused by following the speed of a single mid-section fan.
[0096] The aforementioned front-end intake fan assembly can be a group of fans located in the ventilation area at the front of the server. The front-end intake fan assembly is used to draw cool air from outside the chassis, providing the server with basic airflow and intake pressure.
[0097] The aforementioned rear exhaust fan assembly can be a group of fans located in the ventilation area at the rear of the server. The rear exhaust fan assembly is used to quickly expel hot air flowing through the GPU array from the server, preventing hot air accumulation and backflow.
[0098] In this embodiment of the invention, the average speed of the mid-section pressurized flow-equalizing fan group controls the speed of the front-end intake fan group, so that the front-end intake air volume is adjusted synchronously with the overall working intensity of the mid-section fan group. When the mid-section fan group speeds up, the front-end intake air volume increases synchronously, ensuring that the mid-section fan has sufficient cool air for pressurization and avoiding the problem of negative pressure due to insufficient air intake. The average speed of the mid-section pressurized flow-equalizing fan group controls the speed of the rear-end exhaust fan group, so that the rear exhaust air volume is adjusted synchronously with the overall working intensity of the mid-section fan group. When the mid-section fan group speeds up and the amount of hot air flowing through the GPU array increases, the rear exhaust air volume increases synchronously, ensuring that hot air is discharged in time, avoiding hot air accumulation and backflow, thereby maintaining the airflow balance of the through-flow duct and improving the overall heat dissipation efficiency.
[0099] Optionally, the method further includes: when any mid-section fan failure is detected, determining the mid-section fan adjacent to the failed mid-section fan; and controlling the speed of the front intake fan group and the rear exhaust fan group based on the increase in the speed of the mid-section fan adjacent to the failed mid-section fan.
[0100] In this embodiment of the invention, the aforementioned mid-section fan failure can refer to any mid-section fan in the mid-section booster and flow equalization fan group stopping normal operation or experiencing a significant deviation in speed from the control command due to reasons such as bearing wear, motor failure, abnormal drive circuit, or obstruction by foreign objects. Mid-section fan failures can be detected by reading the deviation between the speed signal fed back from the fan drive circuit and the target speed, monitoring abnormal fan current or power, or receiving fault alarm signals from the fan itself.
[0101] The aforementioned faulty mid-section fan can be a faulty mid-section fan.
[0102] The aforementioned adjacent mid-section fan can be at least one other mid-section fan that is directly adjacent to the faulty mid-section fan in the row or column direction. It is understood that the airflow channels of the adjacent mid-section fan and the faulty mid-section fan are physically close, and the increase in their speed can produce airflow diversion and pressure compensation effects on the corresponding sub-region of the faulty mid-section fan.
[0103] The aforementioned increase in speed can be the difference between the current speed and the maximum allowable speed of the adjacent mid-section fan.
[0104] The aforementioned front intake fan assembly is used to draw in cool air from outside the chassis.
[0105] The aforementioned back-end exhaust fan assembly is used to expel hot air from the server after it has passed through the GPU array.
[0106] In this embodiment of the invention, when any mid-section fan failure is detected, the adjacent mid-section fans are identified, enabling timely identification of adjacent fan resources available for heat dissipation compensation. The speed of the front-end intake fan group is controlled based on the increment of the adjacent fan speeds, increasing the supply of cool air to the faulty area and providing additional cooling airflow. The speed of the rear-end exhaust fan group is also controlled based on the increment of the adjacent fan speeds, enhancing the ability to expel hot air from the vicinity of the faulty area and preventing the accumulation of hot air in the faulty area, thus preventing the formation of high-temperature hotspots. This invention, by controlling the speed of the front-end intake fan group and the rear-end exhaust fan group through the increment of the speed of the mid-section fans adjacent to the faulty mid-section fan, effectively alleviates the decrease in local heat dissipation capacity caused by the failure of a single mid-section fan, reduces the risk of GPU processor overheating and frequency throttling in the faulty sub-region, and improves the operational reliability and heat dissipation robustness of multi-GPU servers under fan failure conditions.
[0107] This invention also provides a multi-GPU server, which includes a front-end intake fan group, a mid-section pressurized and flow-equalizing fan group, and a rear-end exhaust fan group arranged sequentially along the airflow direction. The mid-section pressurized and flow-equalizing fan group includes multiple mid-section fans arranged in a matrix, and each mid-section fan covers at least one sub-region of the GPU array through airflow diversion ribs. When the multi-GPU server is executed, it implements the ventilation and heat dissipation method of the multi-GPU server provided in this invention.
[0108] In this embodiment of the invention, the multi-GPU server also includes a chassis body, which can be a standard rack-mount aluminum alloy chassis with anodized surface treatment, and is internally adapted for multi-GPU processor array installation with unobstructed airflow.
[0109] The aforementioned front-end intake fan group can be a collection of fans located in the front ventilation area of the server chassis. This group is used to introduce cool air from the outside, providing basic airflow and intake pressure for the multi-GPU server. The number of front-end intake fan groups can be 2, 4, etc. The aforementioned mid-section pressurized and evenly distributed fan group can be a collection of fans located in the middle ventilation area of the server chassis. This group is used to further pressurize and evenly distribute the airflow entering from the front, precisely covering the heat dissipation area of each GPU processor. The number of mid-section intake fan groups can be 6, 8, etc. The aforementioned rear-end exhaust fan group can be a collection of fans located in the rear ventilation area of the server chassis. It is used to quickly exhaust hot air flowing through the GPU array from the server, preventing hot air accumulation and backflow. The number of rear-end intake fan groups can be 2, 4, etc. The aforementioned GPU processor can be a graphics processing unit or accelerator processor in the server that performs parallel computing tasks and is the main heat source of the server. The aforementioned sub-region can be a local area in the GPU array covered by a mid-section fan through airflow ribs.
[0110] The aforementioned fan can be an adjustable speed axial fan, such as a 120mm PWM adjustable speed axial fan with an airflow of ≥80CFM and a speed range of 1200~2400r / min.
[0111] In this embodiment of the invention, the multi-GPU server also includes a dustproof structure, which can be located at the front air inlet and the rear air outlet. The dustproof structure can employ a detachable metal mesh + non-woven fabric composite dust filter to block dust from entering the server chassis, prevent dust from adhering to the GPU processor's gold fingers and heat sink fins, and the filter is easy to clean and replace.
[0112] This invention can also attach flame-retardant and sound-absorbing cotton to the fan outlet to reduce operating noise.
[0113] like Figure 2As shown, this embodiment of the invention also provides an electronic device, including a processor, which can execute any of the above-described ventilation and heat dissipation methods for multi-GPU servers.
[0114] Specifically, it includes a processor 201 and a memory 202, as well as a computer program stored on the memory 202 and capable of running on the processor 201, which executes a ventilation and heat dissipation method for a multi-GPU server, wherein:
[0115] The temperature of the heatsink of each GPU processor is obtained, and a temperature distribution matrix is constructed. Specifically, the temperature sensor on the heatsink of each GPU processor is polled at a sampling frequency of not less than a preset frequency to obtain the temperature value on the heatsink of each GPU processor. The temperature values on the heatsink of each GPU processor are then arranged in rows and columns according to the GPU array to generate a temperature distribution matrix.
[0116] Based on the mapping relationship between the mid-section fans and the GPU sub-regions, the temperature of the corresponding sub-region for each mid-section fan is determined;
[0117] Independent speed adjustment is performed on each mid-section fan to make the temperature of the corresponding sub-area approach the target temperature corresponding to the current task;
[0118] Furthermore, based on the overall temperature characteristics of the temperature distribution matrix, the rotation speeds of the front intake fan assembly and the rear exhaust fan assembly are adjusted in a coordinated manner.
[0119] Optionally, before performing independent speed adjustment on each mid-section fan to bring the temperature of the corresponding sub-region closer to the target temperature corresponding to the current task, the method executed by the processor 201 further includes:
[0120] Obtain the type of task currently being executed by the GPU processor, including training tasks, inference tasks, and idle states;
[0121] Based on the preset mapping relationship between task type and target temperature, determine the target temperature corresponding to the current task type.
[0122] Optionally, the process of processor 201 performing independent speed control on each mid-section fan includes:
[0123] Based on the temperature distribution matrix, determine the highest temperature of the sub-region corresponding to each mid-section fan;
[0124] Using the difference between the highest temperature of the corresponding sub-region and the target temperature as input, the PWM duty cycle of the middle section fan is calculated using a PID control algorithm;
[0125] Independent speed control is performed on the mid-section fan based on the PWM duty cycle.
[0126] Optionally, the process of processor 201 performing independent speed control on each mid-section fan includes:
[0127] When the deviation between the highest temperature in any sub-region and the average temperature of the whole machine is greater than a preset temperature difference threshold, the speed of the corresponding middle section fan in the sub-region is increased.
[0128] The speed of the intermediate fan in the adjacent sub-region is increased simultaneously to divert the adjacent airflow to the sub-region.
[0129] Optionally, the coordinated adjustment of the speeds of the front intake fan assembly and the rear exhaust fan assembly performed by the processor 201 includes:
[0130] Obtain the average speed of the mid-section booster fan assembly;
[0131] The speed of the front intake fan group is controlled based on the average speed of the mid-section booster fan group.
[0132] Furthermore, the rotational speed of the rear exhaust fan group is controlled based on the average rotational speed of the mid-section booster fan group.
[0133] Optionally, the method executed by processor 201 further includes:
[0134] When any mid-section fan failure is detected, the mid-section fan adjacent to the failure mid-section fan is determined;
[0135] The rotational speeds of the front intake fan group and the rear exhaust fan group are controlled based on the increase in rotational speed of the adjacent mid-section fan to the faulty mid-section fan.
[0136] This invention also provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of the ventilation and heat dissipation method for a multi-GPU server provided in this invention, and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0137] The above description is the preferred embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principles described in this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A ventilation and heat dissipation method for a multi-GPU server, characterized in that, The method is applied to a multi-GPU server, the server comprising a front-end intake fan group, a mid-section pressurized and flow-equalizing fan group, and a rear-end exhaust fan group arranged sequentially along the airflow direction. The mid-section pressurized and flow-equalizing fan group comprises multiple mid-section fans arranged in a matrix, each mid-section fan covering at least one sub-region of the GPU array via airflow diversion ribs. The method includes the following steps: The temperature of the heatsink of each GPU processor is obtained, and a temperature distribution matrix is constructed. Specifically, the temperature sensor on the heatsink of each GPU processor is polled at a sampling frequency of not less than a preset frequency to obtain the temperature value on the heatsink of each GPU processor. The temperature values on the heatsink of each GPU processor are then arranged in rows and columns according to the GPU array to generate a temperature distribution matrix. Based on the mapping relationship between the mid-section fans and the GPU sub-regions, the temperature of the corresponding sub-region for each mid-section fan is determined; Independent speed adjustment is performed on each mid-section fan to make the temperature of the corresponding sub-area approach the target temperature corresponding to the current task; Furthermore, based on the overall temperature characteristics of the temperature distribution matrix, the rotation speeds of the front intake fan assembly and the rear exhaust fan assembly are adjusted in a coordinated manner.
2. The ventilation and heat dissipation method for a multi-GPU server as described in claim 1, characterized in that, Before performing independent speed adjustment on each mid-section fan to bring the temperature of the corresponding sub-region closer to the target temperature corresponding to the current task, the method further includes: Obtain the type of task currently being executed by the GPU processor, including training tasks, inference tasks, and idle states; Based on the preset mapping relationship between task type and target temperature, determine the target temperature corresponding to the current task type.
3. The ventilation and heat dissipation method for a multi-GPU server as described in claim 1, characterized in that, The independent speed control of each mid-section fan includes: Based on the temperature distribution matrix, determine the highest temperature of the sub-region corresponding to each mid-section fan; Using the difference between the highest temperature of the corresponding sub-region and the target temperature as input, the PWM duty cycle of the middle section fan is calculated using a PID control algorithm; Independent speed control is performed on the mid-section fan based on the PWM duty cycle.
4. The ventilation and heat dissipation method for a multi-GPU server as described in claim 1, characterized in that, The independent speed control of each mid-section fan includes: When the deviation between the highest temperature in any sub-region and the average temperature of the whole machine is greater than a preset temperature difference threshold, the speed of the corresponding middle section fan in the sub-region is increased. The speed of the intermediate fan in the adjacent sub-region is increased simultaneously to divert the adjacent airflow to the sub-region.
5. The ventilation and heat dissipation method for a multi-GPU server as described in claim 1, characterized in that, The coordinated adjustment of the speed of the front intake fan assembly and the rear exhaust fan assembly includes: Obtain the average speed of the mid-section booster fan assembly; The speed of the front intake fan group is controlled based on the average speed of the mid-section booster fan group. Furthermore, the rotational speed of the rear exhaust fan group is controlled based on the average rotational speed of the mid-section booster fan group.
6. The ventilation and heat dissipation method for a multi-GPU server as described in claim 1, characterized in that, The method further includes: When any mid-section fan failure is detected, the mid-section fan adjacent to the failure mid-section fan is determined; The rotational speeds of the front intake fan group and the rear exhaust fan group are controlled based on the increase in rotational speed of the adjacent mid-section fan to the faulty mid-section fan.
7. A multi-GPU server, characterized in that, The server includes a front intake fan group, a middle pressurization and flow equalization fan group, and a rear exhaust fan group arranged sequentially along the airflow direction. The middle pressurization and flow equalization fan group includes multiple middle fans arranged in a matrix. Each middle fan covers at least one sub-region of the GPU array through airflow diversion ribs. When the multi-GPU server is executed, it implements the method as described in any one of claims 1 to 6.
8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps of the ventilation and heat dissipation method for a multi-GPU server as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the ventilation and heat dissipation method for a multi-GPU server as described in any one of claims 1 to 6.
