Method, system, computer device and storage medium for reducing server vibration
Through the substrate management controller and complex programmable logic devices, the power consumption and fan speed of server components are coordinated to monitor and adjust the power consumption and fan speed of server components, the hard disk failure and data loss caused by server vibration are solved, and stable operation and data protection are achieved.
Patent Information
- Application Number
- CN202211058714.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-08-30
AI Technical Summary
The existing server vibration control method is costly, which can easily lead to data loss or hard disk failure, and the existing technology cannot effectively identify the vibration problems of all models of hard disks.
The substrate management controller monitors the vibration intensity of the hard disk in real time, sends vibration alarms to complex programmable logic devices, and reduces vibration by reducing the power consumption and fan speed of CPU, graphics card, GPU, and network card to avoid resonance, and ensures that the hard disk works normally.
Effectively reduce server vibration, avoid data loss, and keep the server running normally. It only comes at the cost of performance degradation, does not affect the hard disk function, and avoids hard disk failure.
Smart Images

Figure CN115469729B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of server technology, and in particular to a method, system, computer device, and storage medium for reducing server vibration. Background Art
[0002] Mechanical hard drives are one of the primary storage media for server production data. Their advantages are large capacity and low price. However, their disadvantage is that they are susceptible to vibration during operation, which can lead to drive failure and data loss, severely impacting server users. Server mechanical hard drives have built-in vibration sensors that transmit relevant sensor information to external hard drive controllers (such as RAID cards / CPUs / PCHs).
[0003] For server vibration control, using RV testing and evaluation methods can be time-consuming and financially expensive if all hard drive models are tested. Evaluation methods that don't include comprehensive RV testing are also unreliable and can't accurately identify which hard drive models have issues.
[0004] If the method of monitoring and stopping running hard drives, such as that described in patent application CN202111440117.8, is used, while it protects the hard drives from damage, it only applies when a RAID card is present and the current hard drives have redundancy. Assume that a RAID card is present, a RAID 5 array is configured (which normally allows for up to one hard drive failure), and a hard drive fails, there is no redundant hard drive, and there is no time to replace the backup drive. At this point, whether or not the problematic hard drive is stopped will not prevent data loss.
[0005] If the cooling method is adopted, such as the staggered installation of hard drives and fans in patent application CN202110208653.9, the valuable space inside the rack server is wasted, resulting in a decrease in the number of hard drives and storage capacity, a longer chassis, a larger server rack size required, and more space occupied, resulting in a decrease in the competitiveness of server products.
[0006] Therefore, the current vibration control methods for servers have the problems of high cost, data loss, and even hard disk shutdown to maintain the server. Summary of the Invention
[0007] Based on this, it is necessary to provide a method, system, computer equipment and storage medium for reducing server vibration that can reduce costs without causing data loss and avoiding the need for server maintenance in order to address the above technical problems.
[0008] In one aspect, a method for reducing vibration of a server is provided, the method comprising:
[0009] The baseboard management controller collects the vibration intensity information of the hard disk in real time through the hard disk controller;
[0010] When the baseboard management controller detects that the vibration intensity of any hard disk reaches the alarm threshold, the baseboard management controller sends a first vibration alarm to the complex programmable logic device;
[0011] When the complex programmable logic device receives the first vibration alarm, it implements a first-level power consumption limit on the CPU, graphics card, GPU, and network card controlled by it, thereby reducing heat generation by reducing power consumption, and further reducing the speed of the fan on the hard disk that has reached the alarm threshold, thereby reducing the vibration intensity of the hard disk;
[0012] When the baseboard management controller sends the first vibration alarm to the complex programmable logic device, it also records a first vibration alarm log; when the number of the first vibration alarm logs is greater than a first threshold, the baseboard management controller again detects that the vibration intensity of any hard disk reaches the alarm threshold, and sends a second vibration alarm to the complex programmable logic device;
[0013] When the complex programmable logic device receives the second vibration alarm, it performs second-level power consumption restriction on the CPU, graphics card, GPU, and network card controlled by it, and the power consumption value of the second-level power consumption restriction is less than the power consumption value of the first-level power consumption restriction.
[0014] In one embodiment, when the baseboard management controller sends the first vibration alarm to the complex programmable logic device, the method further includes:
[0015] The rotation speed of the server fan is adjusted to reduce the rotation speed of the server fan.
[0016] In one embodiment, when the complex programmable logic device performs first-level power consumption limitation on the CPU, graphics card, GPU, and network card controlled by it, it also includes:
[0017] According to the first level power consumption limit, the rotation speed of fans on the graphics card, GPU, and network card controlled by the complex programmable logic device is reduced.
[0018] In one embodiment, when the baseboard management controller sends the first vibration alarm to the complex programmable logic device, it also records a first vibration alarm log; when the number of the first vibration alarm logs is greater than a first threshold, the baseboard management controller sends a second vibration alarm to the complex programmable logic device when it again detects that the vibration intensity of any hard disk reaches the alarm threshold;
[0019] When the complex programmable logic device receives the second vibration alarm, it performs second-level power consumption restriction on the CPU, graphics card, GPU, and network card controlled by it, and the power consumption value of the second-level power consumption restriction is less than the power consumption value of the first-level power consumption restriction.
[0020] In one embodiment, when the complex programmable logic device performs the second level power consumption limitation on the CPU, graphics card, GPU, and network card controlled by it, it further includes:
[0021] According to the second level power consumption limit, the rotation speed of fans on the graphics card, GPU, and network card controlled by the complex programmable logic device is reduced.
[0022] In one embodiment, when the baseboard management controller sends the second vibration alarm to the complex programmable logic device, a second vibration alarm log is also recorded.
[0023] In one of the embodiments, a query is made periodically to determine whether a first vibration alarm log or a second vibration alarm log exists, information in the first vibration alarm log or the second vibration alarm log is identified, and a determination is made as to whether the hard disk with vibration is to be backed up and migrated; if so, after the critical data and critical services are backed up and migrated, a command to cancel the hard disk vibration warning is sent to the baseboard management controller to cancel the first vibration alarm or the second vibration alarm; if not, a command to cancel the hard disk vibration warning is directly sent to the baseboard management controller to cancel the first vibration alarm or the second vibration alarm.
[0024] In another aspect, a system for reducing vibration of a server is provided, the system comprising:
[0025] A baseboard management controller is configured to collect vibration severity information of the hard disks in real time through the hard disk controllers; when the baseboard management controller detects that the vibration severity of any hard disk has reached an alarm threshold, the baseboard management controller sends a first vibration alarm to the complex programmable logic device;
[0026] A complex programmable logic device is used to implement a first-level power consumption limit on the CPU, graphics card, GPU, and network card it controls when receiving a first vibration alarm. This reduces heat generation by reducing power consumption, and further reduces the fan speed of the hard disk that reaches the alarm threshold, thereby reducing the vibration intensity of the hard disk.
[0027] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:
[0028] The baseboard management controller collects the vibration intensity information of the hard disk in real time through the hard disk controller;
[0029] When the baseboard management controller detects that the vibration intensity of any hard disk reaches the alarm threshold, the baseboard management controller sends a first vibration alarm to the complex programmable logic device;
[0030] When the complex programmable logic device receives the first vibration alarm, it performs the first level power consumption limit on the CPU, graphics card, GPU, and network card it controls, reduces heat generation by reducing power consumption, and then reduces the speed of the fan on the hard disk that reaches the alarm threshold to reduce the vibration intensity of the hard disk.
[0031] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0032] The baseboard management controller collects the vibration intensity information of the hard disk in real time through the hard disk controller;
[0033] When the baseboard management controller detects that the vibration intensity of any hard disk reaches the alarm threshold, the baseboard management controller sends a first vibration alarm to the complex programmable logic device;
[0034] When the complex programmable logic device receives the first vibration alarm, it performs the first level power consumption limit on the CPU, graphics card, GPU, and network card it controls, reduces heat generation by reducing power consumption, and then reduces the speed of the fan on the hard disk that reaches the alarm threshold to reduce the vibration intensity of the hard disk.
[0035] The above-mentioned method, system, computer equipment and storage medium for reducing server vibration send a first vibration alarm to the complex programmable logic device when the baseboard management controller detects that the vibration intensity of any hard disk reaches the alarm threshold, and performs a first-level power consumption limit on the CPU, graphics card, GPU, and network card controlled by the complex programmable logic device. By reducing power consumption to reduce heat generation, the fan speed of the hard disk that reaches the alarm threshold is reduced to reduce the vibration intensity of the hard disk, thereby ensuring the normal operation of the hard disk and the server can still run. The only cost is a performance degradation, but each component and function is still available, and there will be no data loss or server maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0037] Figure 1 A diagram illustrating an application environment of a method for reducing server vibration in one embodiment;
[0038] Figure 2 A flowchart of a method for reducing server vibration in one embodiment;
[0039] Figure 3A structural block diagram of a system for reducing server vibration in one embodiment;
[0040] Figure 4 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0042] As described in the background, current methods for controlling server vibrations are costly, can lead to data loss, and can even require hard drive maintenance to be stopped. The fundamental reason for this is that heat dissipation determines the required fan speed. Otherwise, even simply reducing the fan speed will cause heat accumulation and damage the hard drives. If a method is used where the hard drives are partially powered off while still partially running, the remaining hard drives will record numerous errors and even, in the case of an array, cause data desynchronization between the hard drives, damaging the hard drive data and defeating the purpose of protecting the hard drive data. Powering off the hard drives does not guarantee stable server operation. Therefore, how to maintain normal server operation while reducing the hard drive fan speed to prevent the root cause of hard drive vibration is a key issue that needs to be addressed.
[0043] Example 1
[0044] To address the above-mentioned issues, Example 1 of the present invention creatively proposes a method for reducing server vibration. This method comprehensively adjusts vibration conditions while maintaining power to the hard drives. The server remains operational, at the expense of performance degradation, while all components and functions remain functional. This method avoids the situation where a hard drive is partially powered off while remaining partially operational.
[0045] The method for reducing server vibration provided in this application can be applied to Figure 1 In the server system application environment shown, a baseboard management controller (BMC) 101 is connected to a hard disk 301 (mechanical hard disk) via a hard disk controller 102. The baseboard management controller (BMC) 101 is connected to a complex programmable logic device (CPLD) 103, which controls a CPU 201, a graphics card 202, a GPU 203, and a network card 204. Each of the graphics card 202, GPU 203, and network card 204 is equipped with a cooling fan. The baseboard management controller (BMC) 101 is also connected to a server fan.
[0046] The baseboard management controller (BMC) 101 is typically integrated into the server motherboard and is equivalent to a low-performance computer. It runs a simplified operating system and software, and obtains monitoring information such as the temperature, voltage, power consumption, and fan speed of various components in the server, such as the CPU, memory, and hard disk, through a communication link. It communicates with management modules such as the BIOS / CPLD / fans / RAID cards through the communication link, directly or indirectly controlling the operating status of various server components. For example, it sends commands to the BIOS and CPLD to control fan speed.
[0047] A complex programmable logic device (CPLD) 103 is a digital integrated circuit that allows users to customize their logic functions based on their needs. The server's motherboard (typically directly connected to key components such as the CPU, memory, and power supply) typically contains a CPLD chip. When the server is powered on, the CPLD 103 controls the power-on sequence of components on the motherboard (e.g., the CPU, memory, and PCIe cards). During server operation, the CPLD 103 can also control the power supply.
[0048] The motherboard CPLD 103 adjusts the operating status of each component to a certain extent by adjusting or limiting the operating power consumption of each component. For example, limiting the operating power consumption of the graphics card will reduce the heat generated by the graphics card, slow the graphics card fan speed, and change the vibration frequency; for example, increasing the operating power consumption of the fan will increase the fan speed sufficiently to ensure normal heat dissipation of the system.
[0049] In a complete server system, including buildings, bridges, servers, etc., if there are multiple components with the same vibration frequency, resonance phenomenon may be caused, vibration is significantly aggravated, and finally components or the entire system are damaged due to vibration. If the vibration frequency is significantly staggered, resonance phenomenon is generally not easy to occur, and damage will not be caused by internal vibration of the system. Therefore, the application first reduces heat dissipation by reducing the energy consumption of CPU201, graphics card 202, GPU203, network card 204 controlled by complex programmable logic device (CPLD) 103, thereby reducing its graphics card 202, GPU203, network card 204 and correspondingly being provided with cooling fan speed, and then reduces the fan speed of hard disk 301 based on heat dissipation reduction to avoid resonance.
[0050] like Figure 1 As shown, the baseboard management controller (BMC) 101 software sets one or more hard disk vibration monitoring points and a vibration severity alarm threshold. BMC 101 collects real-time vibration severity information from hard disk 301 through hard disk controller 102. This information is displayed in the BMC 101 monitoring list along with other information such as temperature and voltage.
[0051] The server hard drive tray is typically made of metal and plastic and is secured to the hard drive 301 with screws. If it is difficult to collect hard drive vibration intensity information using a hard drive sensor as a hard drive vibration monitoring point, an acceleration / vibration sensor can be installed on the hard drive 301 or the server hard drive tray to transmit the vibration intensity information directly to the BMC 101.
[0052] When BMC101 monitors any one hard disk 301 vibration severity and reaches the alarm threshold, it triggers the first vibration alarm.At this moment, BMC101 notifies CPLD103 to trigger " hard disk vibration yellow warning " (that is, the first vibration warning), records " hard disk vibration yellow warning " daily record (that is, the first vibration warning daily record), and server fan 104 is carried out speed adjustment, for example, maximum speed is limited to 70% from 80%, and real-time speed is lowered by at least 5% immediately.After CPLD103 receives " hard disk vibration yellow warning ", CPU201, graphics card 202, GPU203, network interface card 204 to its control are carried out yellow level power consumption restriction (that is, the first level power consumption restriction), for example, limits each component maximum power consumption to drop to 75% from 100%.
[0053] In this application, upon the first vibration warning, the server fan 104 is first adjusted. This adjustment method directly adjusts the fan speed. Then, the CPLD 103 implements a first-level power consumption limit on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, passively adjusting the fan speed of the graphics card 202, GPU 203, and network card 204 through temperature reduction. This fan speed adjustment method does not actively adjust the fan speed. Furthermore, this sequential adjustment sequence achieves a significant staggered vibration frequency, making resonance less likely to occur.
[0054] After several monitoring cycles, when BMC101 monitors any one hard disk 301 vibration intensity and reaches the alarm threshold and currently has been in " hard disk vibration yellow warning ", triggers the upgrade of warning to the second vibration warning.At this moment, BMC101 notification CPLD103 triggers " hard disk vibration red warning " (that is the first vibration warning), records " hard disk vibration red warning " daily record (that is the first vibration warning daily record), and fan is carried out stricter rotating speed adjustment, for example maximum rotating speed is limited to 60% from 70%, and real-time rotating speed is lowered at least 5% immediately.After CPLD103 receives " hard disk vibration red warning ", CPU201, graphics card 202, GPU203, network interface card 204 of control are carried out red level power consumption restriction (that is the second level power consumption restriction), for example limits each parts maximum power consumption to drop to 50% from 75%.
[0055] Since high power consumption generates a lot of heat and the fan speed is high, and low power consumption generates little heat and the fan speed is low, by centrally adjusting the fan speed and limiting the power consumption of CPU201, graphics card 202, GPU203, and network card 204, the requirement of reducing the fan speed can be met by reducing heat dissipation, maintaining the stability of server operation, and adjusting the vibration frequency of all active components (including the fans on graphics card 202, GPU203, and network card 204) to avoid hard disk failure.
[0056] In this application, when the second vibration warning is triggered, the server fan 104 is first adjusted. This adjustment method directly adjusts the fan speed. Then, the CPLD 103 controls the CPU 201, graphics card 202, GPU 203, and network card 204, which it controls, and then applies a second level of power consumption limit. This passively adjusts the fan speeds of the graphics card 202, GPU 203, and network card 204 by cooling them. This method of adjusting the fan speed does not actively adjust the fan speed. Furthermore, this sequential adjustment sequence achieves a significant staggered vibration frequency, making resonance less likely to occur.
[0057] Only when the administrator manually intervenes with the BMC101 and sends a command to cancel the hard drive vibration warning will the BMC101 cancel the "yellow hard drive vibration warning" and "red hard drive vibration warning." During server maintenance hours (for example, between 1:00 AM and 6:00 AM, not during external service hours), after backing up and migrating key server data and services, the administrator manually intervenes with the BMC101 and sends a command to cancel the hard drive vibration warning. Only then will the "yellow hard drive vibration warning" and "red hard drive vibration warning" be canceled. To mitigate the risk of hard drive failure, you can decide whether to replace a server component (for example, a different hard drive model, a fan, or a graphics card or network card with a fan) or replace the entire server.
[0058] Overall, this solution indirectly adjusts the vibration frequency of various moving parts by applying emergency measures such as reducing power consumption and fan speed before a problem occurs, thereby preventing hard drive vibration failure and protecting the hard drive and the data on it. This solution also keeps the server running while emergency measures are applied, maintaining basic stability for external business operations.
[0059] Additionally, when the monitored value reaches the alarm threshold, a "Yellow Hard Drive Vibration Warning" or "Red Hard Drive Vibration Warning" is triggered. Because fan speed adjustment takes several seconds, thresholds should be set with a certain amount of lead time; do not trigger the alarm just seconds before a failure. The specific number of seconds needed for lead time can be verified experimentally. First, run the RV test to identify the problematic hard drive and server model. Then, run this solution with the problematic hard drive and server model, comparing the drive's failure and the presence of alarm logs to confirm.
[0060] After CPLD103 receives the "yellow warning for hard disk vibration" and "red warning for hard disk vibration", it limits the power consumption of the CPU201, graphics card 202, GPU203, and network card 204 contained therein, and changes the real-time vibration frequency of each component. This application not only takes into account the server fans, but also the fans on the graphics card 202, GPU203, and network card 204. The fans on these cards are only affected by the sensors and controllers on the cards, and are not directly controlled by controllers such as BMC101 on the server. The speed of the fans on the graphics card 202, GPU203, and network card 204 cannot be directly adjusted. In order to adjust the speed of the fans on the card, the heat (power consumption) of the card must be reduced first, and then the controller on the card will reduce the speed of the fans on the card. This solution indirectly adjusts the speed of the fans on the card by comprehensively reducing the power consumption and heat of the graphics card 202, GPU203, and network card 204.
[0061] In the above-described method for reducing server vibration, when the baseboard management controller (BMC) 101 detects that the vibration intensity of any hard disk 301 has reached the alarm threshold, a first vibration alarm is sent to the complex programmable logic device (CPLD). This then applies a first level of power consumption restriction to the CPU 201, graphics card 202, GPU 203, and network interface card 204 controlled by the CPLD 103. This reduces heat generation by reducing power consumption, thereby reducing the fan speed of the hard disk 301 that has reached the alarm threshold, thereby reducing the vibration intensity of the hard disk. If vibration is still detected after several monitoring cycles, a second vibration alarm is sent, and a second level of power consumption restriction is applied to the CPU 201, graphics card 202, GPU 203, and network interface card 204 controlled by the CPLD 103. This ensures the normal operation of the hard disk and the continued operation of the server, with only a performance degradation. However, all components and functions remain available, and there is no data loss or server maintenance required.
[0062] Example 2
[0063] In Example 2, Figure 2 As shown, a method for reducing server vibration is provided, and the method is applied to Figure 1 The server system in the example is used to illustrate the following steps:
[0064] In step S1 , the baseboard management controller (BMC) 101 collects vibration severity information of the hard disk 301 in real time through the hard disk controller 102 .
[0065] Step S2 : When the baseboard management controller (BMC) 101 detects that the vibration intensity of any hard disk 301 reaches an alarm threshold, the baseboard management controller (BMC) 101 sends a first vibration alarm to the complex programmable logic device (CPLD) 103 .
[0066] Step S3, when the complex programmable logic device receives the first vibration alarm, it performs the first level power consumption restriction on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, reduces the heat generation by reducing the power consumption, and then reduces the speed of the fan on the hard disk 301 that reaches the alarm threshold to reduce the vibration intensity of the hard disk.
[0067] In step S4, when the baseboard management controller (BMC) 101 sends the first vibration alarm to the complex programmable logic device (CPLD) 103, the first vibration alarm log is also recorded; when the number of the first vibration alarm logs is greater than the first threshold, the baseboard management controller (BMC) 101 again detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, and sends a second vibration alarm to the complex programmable logic device (CPLD) 103.
[0068] Step S5: When the complex programmable logic device receives the second vibration alarm, it performs second-level power consumption restriction on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, and the power consumption value of the second-level power consumption restriction is less than the power consumption value of the first-level power consumption restriction.
[0069] Among them, steps S1-S3 can be executed separately. When the baseboard management controller (BMC) 101 detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, a first vibration alarm is sent to the complex programmable logic device, and the complex programmable logic device 103 controls the CPU 201, graphics card 202, GPU 203, and network card 204 to perform the first level power consumption limit. By reducing power consumption to reduce heat generation, the fan speed of the hard disk 301 that reaches the alarm threshold is reduced to reduce the vibration intensity of the hard disk, thereby ensuring the normal operation of the hard disk and the continued operation of the server.
[0070] In addition, steps S4-S5 are added on the basis of steps S1-S3. If vibration is still detected after several monitoring cycles, a second vibration alarm is sent, and the complex programmable logic device 103 controls the CPU 201, graphics card 202, GPU 203, and network card 204 to perform second-level power consumption restrictions, thereby ensuring the normal operation of the hard disk and the continued operation of the server. The only cost is a decrease in performance, but each component and function is still available, and there will be no data loss or server maintenance.
[0071] In this embodiment, when the baseboard management controller (BMC) 101 sends the first vibration alarm to the complex programmable logic device (CPLD) 103, the method further includes:
[0072] The rotation speed of the server fan 104 is adjusted to reduce the rotation speed of the server fan 104 .
[0073] In this application, upon the first vibration warning, the server fan 104 is first adjusted. This adjustment method directly adjusts the fan speed. Then, the CPLD 103 implements a first-level power consumption limit on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, passively adjusting the fan speed of the graphics card 202, GPU 203, and network card 204 through temperature reduction. This fan speed adjustment method does not actively adjust the fan speed. Furthermore, this sequential adjustment sequence achieves a significant staggered vibration frequency, making resonance less likely to occur.
[0074] In this embodiment, when the complex programmable logic device performs the first level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, it also includes:
[0075] According to the first level power consumption limit, the rotation speeds of the fans on the graphics card 202 , the GPU 203 , and the network card 204 controlled by the complex programmable logic device are reduced.
[0076] In this embodiment, when the complex programmable logic device performs the second level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, it also includes:
[0077] According to the second level power consumption limitation, the rotation speeds of the fans on the graphics card 202 , the GPU 203 , and the network card 204 controlled by the complex programmable logic device are reduced.
[0078] In this embodiment, when the baseboard management controller (BMC) 101 sends the second vibration alarm to the complex programmable logic device (CPLD) 103 , a second vibration alarm log is also recorded.
[0079] In this embodiment, when the baseboard management controller (BMC) 101 sends a second vibration alarm to the complex programmable logic device (CPLD) 103, the method further includes:
[0080] The rotation speed of the server fan 104 is adjusted to reduce the rotation speed of the server fan 104 .
[0081] In this application, when the second vibration warning is triggered, the server fan 104 is first adjusted. This adjustment method directly adjusts the fan speed. Then, the CPLD 103 controls the CPU 201, graphics card 202, GPU 203, and network card 204, which it controls, and then applies a second level of power consumption limit. This passively adjusts the fan speeds of the graphics card 202, GPU 203, and network card 204 by cooling them. This method of adjusting the fan speed does not actively adjust the fan speed. Furthermore, this sequential adjustment sequence achieves a significant staggered vibration frequency, making resonance less likely to occur.
[0082] like Figure 2 As shown, in this embodiment, after step S5, the following is also included: step S6, regularly querying whether there is a first vibration alarm log or a second vibration alarm log, identifying the information of the first vibration alarm log or the second vibration alarm log and judging whether to back up and migrate the hard disk with vibration; if so, after the key data and key services are backed up and migrated, sending a command to cancel the hard disk vibration warning to the baseboard management controller (BMC) 101 to cancel the first vibration alarm or the second vibration alarm; if not, directly sending a command to cancel the hard disk vibration warning to the baseboard management controller (BMC) 101 to cancel the first vibration alarm or the second vibration alarm.
[0083] In the above-described method for reducing server vibration, when the baseboard management controller (BMC) 101 detects that the vibration intensity of any hard disk 301 has reached an alarm threshold, a first vibration alarm is sent to the complex programmable logic device (CPLD) 103. This controls the CPU 201, graphics card 202, GPU 203, and network interface card 204 to implement a first-level power consumption restriction. This reduces heat generation by reducing power consumption, thereby reducing the fan speed of the hard disk 301 that has reached the alarm threshold, thereby reducing the vibration intensity of the hard disk. If vibration is still detected after several monitoring cycles, a second vibration alarm is sent, and the complex programmable logic device (CPLD) 103 controls the CPU 201, graphics card 202, GPU 203, and network interface card 204 to implement a second-level power consumption restriction. This ensures the normal operation of the hard disk and the continued operation of the server, with only a performance degradation. However, all components and functions remain available, and there is no data loss or server maintenance.
[0084] It should be understood that although Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 2At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0085] In one embodiment, Figure 3 As shown, a system 100 for reducing server vibration is provided, comprising: a baseboard management controller (BMC) 101, a hard disk controller 102, a complex programmable logic device (CPLD) 103, and a server fan 104. The baseboard management controller (BMC) 101 is connected to the hard disk controller 102, the complex programmable logic device (CPLD) 103, and the server fan 104. The hard disk controller 102 is connected to multiple hard disks 301, each of which is equipped with a fan. The complex programmable logic device (CPLD) 103 includes a CPU 201, a graphics card 202, a GPU 203, and a network card 204, each of which is equipped with a fan.
[0086] The baseboard management controller (BMC) 101 is used to collect vibration intensity information of the hard disk 301 in real time through the hard disk controller 102, and is used to send a first vibration alarm to the complex programmable logic device (CPLD) 103 when it is detected that the vibration intensity of any hard disk 301 reaches the alarm threshold.
[0087] The complex programmable logic device (CPLD) 103 is used to perform first-level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it when receiving the first vibration alarm, thereby reducing heat generation by reducing power consumption, and then reducing the speed of the fan on the hard disk 301 that reaches the alarm threshold to reduce the vibration intensity of the hard disk.
[0088] In this embodiment, when the baseboard management controller (BMC) 101 sends the first vibration alarm to the complex programmable logic device (CPLD) 103, it also records a first vibration alarm log. When the number of the first vibration alarm logs is greater than a first threshold, the baseboard management controller (BMC) 101 sends a second vibration alarm to the complex programmable logic device (CPLD) 103 when it detects that the vibration intensity of any hard disk 301 reaches the alarm threshold again.
[0089] When the complex programmable logic device (CPLD) 103 receives the second vibration alarm, the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it are subjected to the second level of power consumption limitation, and the power consumption value of the second level of power consumption limitation is less than the power consumption value of the first level of power consumption limitation.
[0090] In this embodiment, when the baseboard management controller (BMC) 101 sends the first vibration alarm to the complex programmable logic device (CPLD) 103, the method further includes:
[0091] The rotation speed of the server fan 104 is adjusted to reduce the rotation speed of the server fan 104 .
[0092] In this embodiment, when the complex programmable logic device (CPLD) 103 performs the first level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, it also includes:
[0093] According to the first level power consumption limitation, the rotation speeds of the fans on the graphics card 202 , the GPU 203 , and the network card 204 of the complex programmable logic device (CPLD) 103 are reduced.
[0094] In this embodiment, when the complex programmable logic device (CPLD) 103 performs the second level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, it also includes:
[0095] According to the second level power consumption limitation, the rotation speeds of the fans on the graphics card 202 , the GPU 203 , and the network card 204 of the complex programmable logic device (CPLD) 103 are reduced.
[0096] In this embodiment, when the baseboard management controller (BMC) 101 sends the second vibration alarm to the complex programmable logic device (CPLD) 103 , a second vibration alarm log is also recorded.
[0097] In this embodiment, a query is made periodically to determine whether a first vibration alarm log or a second vibration alarm log exists, information in the first vibration alarm log or the second vibration alarm log is identified, and a determination is made as to whether the hard disk with vibration is to be backed up and migrated; if so, after the critical data and critical services are backed up and migrated, a command to cancel the hard disk vibration warning is sent to the baseboard management controller (BMC) 101 to cancel the first vibration alarm or the second vibration alarm; if not, a command to cancel the hard disk vibration warning is directly sent to the baseboard management controller (BMC) 101 to cancel the first vibration alarm or the second vibration alarm.
[0098] In the above-mentioned system for reducing server vibration, when the baseboard management controller (BMC) 101 detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, a first vibration alarm is sent to the complex programmable logic device (CPLD) 103, and the complex programmable logic device (CPLD) 103 controls the CPU 201, graphics card 202, GPU 203, and network card 204 to perform a first-level power consumption limit. By reducing power consumption to reduce heat generation, the fan speed of the hard disk 301 that reaches the alarm threshold is reduced to reduce the vibration intensity of the hard disk, thereby ensuring the normal operation of the hard disk and the server can still run. The only cost is a performance degradation, but each component and function is still available, and there will be no data loss or server maintenance.
[0099] The specific definitions of the server vibration reduction system can be found in the definitions of the server vibration reduction method described above and will not be further elaborated here. Each module in the server vibration reduction system described above can be implemented in whole or in part through software, hardware, or a combination thereof. Each of these modules can be embedded in or independent of a processor in a computer device in hardware form, or stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.
[0100] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, memory, a network interface, and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data for reducing server vibration. The network interface of the computer device is used to communicate with an external terminal via a network connection. When executed by the processor, the computer program implements a method for reducing server vibration.
[0101] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0102] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are performed:
[0103] The baseboard management controller (BMC) 101 collects the vibration intensity information of the hard disk 301 in real time through the hard disk controller 102;
[0104] When the baseboard management controller (BMC) 101 detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, it sends a first vibration alarm to the complex programmable logic device (CPLD) 103;
[0105] When the complex programmable logic device (CPLD) 103 receives the first vibration alarm, it performs a first-level power consumption restriction on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it. By reducing power consumption, heat generation is reduced, and the speed of the fan on the hard disk 301 that has reached the alarm threshold is reduced to reduce the vibration intensity of the hard disk.
[0106] When the baseboard management controller (BMC) 101 sends the first vibration alarm to the complex programmable logic device (CPLD) 103, it also records a first vibration alarm log; when the number of the first vibration alarm logs is greater than a first threshold, the baseboard management controller (BMC) 101 again detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, it sends a second vibration alarm to the complex programmable logic device (CPLD) 103;
[0107] When the complex programmable logic device (CPLD) 103 receives the second vibration alarm, the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it are subjected to the second level of power consumption limitation, and the power consumption value of the second level of power consumption limitation is less than the power consumption value of the first level of power consumption limitation.
[0108] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0109] When the baseboard management controller (BMC) 101 sends the first vibration alarm to the complex programmable logic device (CPLD) 103, it also records a first vibration alarm log; when the number of the first vibration alarm logs is greater than a first threshold, the baseboard management controller (BMC) 101 again detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, it sends a second vibration alarm to the complex programmable logic device (CPLD) 103;
[0110] When the complex programmable logic device (CPLD) 103 receives the second vibration alarm, the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it are subjected to the second level of power consumption limitation, and the power consumption value of the second level of power consumption limitation is less than the power consumption value of the first level of power consumption limitation.
[0111] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0112] When the baseboard management controller (BMC) 101 sends a first vibration alarm to the complex programmable logic device (CPLD) 103, the method further includes:
[0113] The rotation speed of the server fan 104 is adjusted to reduce the rotation speed of the server fan 104 .
[0114] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0115] When the complex programmable logic device (CPLD) 103 performs the first level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, it also includes:
[0116] According to the first level power consumption limitation, the rotation speeds of the fans on the graphics card 202 , the GPU 203 , and the network card 204 of the complex programmable logic device (CPLD) 103 are reduced.
[0117] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0118] When the complex programmable logic device (CPLD) 103 performs the second level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, it also includes:
[0119] According to the second level power consumption limitation, the rotation speeds of the fans on the graphics card 202 , the GPU 203 , and the network card 204 of the complex programmable logic device (CPLD) 103 are reduced.
[0120] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0121] When the baseboard management controller (BMC) 101 sends the second vibration alarm to the complex programmable logic device (CPLD) 103 , the second vibration alarm log is also recorded.
[0122] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0123] Regularly query whether there is a first vibration alarm log or a second vibration alarm log, identify the information of the first vibration alarm log or the second vibration alarm log, and determine whether to back up and migrate the hard disk with vibration; if so, after the key data and key services are backed up and migrated, send a command to cancel the hard disk vibration warning to the baseboard management controller (BMC) 101 to cancel the first vibration alarm or the second vibration alarm; if not, directly send a command to cancel the hard disk vibration warning to the baseboard management controller (BMC) 101 to cancel the first vibration alarm or the second vibration alarm.
[0124] For specific limitations on the steps implemented when the processor executes the computer program, please refer to the above limitations on the method for reducing server vibration, which will not be repeated here.
[0125] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0126] The baseboard management controller (BMC) 101 collects the vibration intensity information of the hard disk 301 in real time through the hard disk controller 102;
[0127] When the baseboard management controller (BMC) 101 detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, it sends a first vibration alarm to the complex programmable logic device (CPLD) 103;
[0128] When the complex programmable logic device (CPLD) 103 receives the first vibration alarm, it performs a first-level power consumption restriction on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it. By reducing power consumption, heat generation is reduced, and the speed of the fan on the hard disk 301 that has reached the alarm threshold is reduced to reduce the vibration intensity of the hard disk.
[0129] When the baseboard management controller (BMC) 101 sends the first vibration alarm to the complex programmable logic device (CPLD) 103, it also records a first vibration alarm log; when the number of the first vibration alarm logs is greater than a first threshold, the baseboard management controller (BMC) 101 again detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, it sends a second vibration alarm to the complex programmable logic device (CPLD) 103;
[0130] When the complex programmable logic device (CPLD) 103 receives the second vibration alarm, the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it are subjected to the second level of power consumption limitation, and the power consumption value of the second level of power consumption limitation is less than the power consumption value of the first level of power consumption limitation.
[0131] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0132] When the baseboard management controller (BMC) 101 sends the first vibration alarm to the complex programmable logic device (CPLD) 103, it also records a first vibration alarm log; when the number of the first vibration alarm logs is greater than a first threshold, the baseboard management controller (BMC) 101 again detects that the vibration intensity of any hard disk 301 reaches the alarm threshold, it sends a second vibration alarm to the complex programmable logic device (CPLD) 103;
[0133] When the complex programmable logic device (CPLD) 103 receives the second vibration alarm, the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it are subjected to the second level of power consumption limitation, and the power consumption value of the second level of power consumption limitation is less than the power consumption value of the first level of power consumption limitation.
[0134] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0135] When the baseboard management controller (BMC) 101 sends a first vibration alarm to the complex programmable logic device (CPLD) 103, the method further includes:
[0136] The rotation speed of the server fan 104 is adjusted to reduce the rotation speed of the server fan 104 .
[0137] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0138] When the complex programmable logic device (CPLD) 103 performs the first level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, it also includes:
[0139] According to the first level power consumption limitation, the rotation speeds of the fans on the graphics card 202 , the GPU 203 , and the network card 204 of the complex programmable logic device (CPLD) 103 are reduced.
[0140] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0141] When the complex programmable logic device (CPLD) 103 performs the second level power consumption limitation on the CPU 201, graphics card 202, GPU 203, and network card 204 controlled by it, it also includes:
[0142] According to the second level power consumption limitation, the rotation speeds of the fans on the graphics card 202 , the GPU 203 , and the network card 204 of the complex programmable logic device (CPLD) 103 are reduced.
[0143] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0144] When the baseboard management controller (BMC) 101 sends the second vibration alarm to the complex programmable logic device (CPLD) 103 , the second vibration alarm log is also recorded.
[0145] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0146] Regularly query whether there is a first vibration alarm log or a second vibration alarm log, identify the information of the first vibration alarm log or the second vibration alarm log, and determine whether to back up and migrate the hard disk with vibration; if so, after the key data and key services are backed up and migrated, send a command to cancel the hard disk vibration warning to the baseboard management controller (BMC) 101 to cancel the first vibration alarm or the second vibration alarm; if not, directly send a command to cancel the hard disk vibration warning to the baseboard management controller (BMC) 101 to cancel the first vibration alarm or the second vibration alarm.
[0147] For specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the above limitations on the method for reducing server vibration, which will not be repeated here.
[0148] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0149] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0150] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A method for reducing server vibration, characterized in that: Including steps: The baseboard management controller collects the vibration intensity information of the hard disk in real time through the hard disk controller; When the baseboard management controller detects that the vibration intensity of any hard disk reaches the alarm threshold, the baseboard management controller sends a first vibration alarm to the complex programmable logic device; When the complex programmable logic device receives the first vibration alarm, it first adjusts the speed of the server fan to reduce the speed of the server fan, and then uses the complex programmable logic device to perform the first level power consumption limit on the CPU, graphics card, GPU, and network card controlled by it, thereby reducing heat generation by reducing power consumption, and then reducing the speed of the fan on the hard disk that reaches the alarm threshold to reduce the vibration intensity of the hard disk; by reducing the speed of the server fan and reducing the speed of the fan on the hard disk that reaches the alarm threshold in this order, the vibration frequency is staggered to avoid resonance.
2. The method for reducing server vibration according to claim 1, characterized in that: When the complex programmable logic device performs first-level power consumption limitation on the CPU, graphics card, GPU, and network card controlled by it, it also includes: According to the first level power consumption limit, the rotation speed of fans on the graphics card, GPU, and network card controlled by the complex programmable logic device is reduced.
3. The method for reducing server vibration according to claim 1, characterized in that: When the baseboard management controller sends the first vibration alarm to the complex programmable logic device, it also records a first vibration alarm log; when the number of the first vibration alarm logs is greater than a first threshold, the baseboard management controller again detects that the vibration intensity of any hard disk reaches the alarm threshold, and sends a second vibration alarm to the complex programmable logic device; When the complex programmable logic device receives the second vibration alarm, it performs second-level power consumption restriction on the CPU, graphics card, GPU, and network card controlled by it, and the power consumption value of the second-level power consumption restriction is less than the power consumption value of the first-level power consumption restriction.
4. The method for reducing server vibration according to claim 3, characterized in that: When the complex programmable logic device performs the second level power consumption limitation on the CPU, graphics card, GPU, and network card controlled by it, it also includes: According to the second level power consumption limit, the rotation speed of fans on the graphics card, GPU, and network card controlled by the complex programmable logic device is reduced.
5. The method for reducing server vibration according to claim 3 or 4, characterized in that: When the baseboard management controller sends the second vibration alarm to the complex programmable logic device, a second vibration alarm log is also recorded.
6. The method for reducing server vibration according to claim 3, characterized in that: Also includes: Regularly query whether a first vibration alarm log or a second vibration alarm log exists, identify information in the first vibration alarm log or the second vibration alarm log, and determine whether to back up and migrate the hard disk with vibration; If so, after the critical data and critical services are backed up and migrated, a command to cancel the hard disk vibration warning is sent to the baseboard management controller to cancel the first vibration alarm or the second vibration alarm; if not, a command to cancel the hard disk vibration warning is directly sent to the baseboard management controller to cancel the first vibration alarm or the second vibration alarm.
7. A system for reducing server vibration, characterized in that: The system comprises: A baseboard management controller is configured to collect vibration severity information of the hard disks in real time through the hard disk controllers; when the baseboard management controller detects that the vibration severity of any hard disk has reached an alarm threshold, the baseboard management controller sends a first vibration alarm to the complex programmable logic device; A complex programmable logic device is used to adjust the speed of the server fan first upon receiving the first vibration alarm, reduce the speed of the server fan, and then use the complex programmable logic device to perform the first level power consumption limit on the CPU, graphics card, GPU, and network card controlled by it, thereby reducing heat generation by reducing power consumption, and then reducing the speed of the fan on the hard disk that reaches the alarm threshold to reduce the vibration intensity of the hard disk; by adjusting the speed of the server fan and the speed of the fan on the hard disk that reaches the alarm threshold in sequence, the vibration frequency is staggered to avoid resonance.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
RV damping method, server and medium
CN113031712A
Hard disk shockproof control method, device and system and storage medium
CN114356043A
Storage server hard disk damping method and device and storage medium
CN114253368A