CN106325464B - Method and apparatus for adjusting fan speed - Google Patents
Method and apparatus for adjusting fan speed Download PDFInfo
- Publication number
- CN106325464B CN106325464B CN201610700816.4A CN201610700816A CN106325464B CN 106325464 B CN106325464 B CN 106325464B CN 201610700816 A CN201610700816 A CN 201610700816A CN 106325464 B CN106325464 B CN 106325464B
- Authority
- CN
- China
- Prior art keywords
- type
- fan
- service
- target
- rotating speed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000000875 corresponding effect Effects 0.000 claims description 181
- 230000001276 controlling effect Effects 0.000 claims description 17
- 238000004364 calculation method Methods 0.000 claims description 16
- 230000002596 correlated effect Effects 0.000 claims description 13
- 230000017525 heat dissipation Effects 0.000 abstract description 23
- 230000009467 reduction Effects 0.000 abstract description 12
- 238000004134 energy conservation Methods 0.000 abstract description 10
- 238000005265 energy consumption Methods 0.000 abstract description 10
- 230000006870 function Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000013461 design Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 6
- 238000002474 experimental method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000013507 mapping Methods 0.000 description 5
- 238000005192 partition Methods 0.000 description 5
- 230000001105 regulatory effect Effects 0.000 description 5
- 230000033228 biological regulation Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 230000020169 heat generation Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Cooling Or The Like Of Electrical Apparatus (AREA)
- Control Of Positive-Displacement Air Blowers (AREA)
Abstract
The embodiment of the invention discloses a method and equipment for adjusting the rotating speed of a fan, which are used for reducing the power consumption of the fan on the equipment. The method provided by the embodiment of the invention is applied to equipment provided with a fan, and comprises the following steps: acquiring service information, determining the current service type of the equipment according to the service information, and adjusting the rotating speed of the fan according to the current service type. Therefore, the rotating speed of the fan of the equipment can be adjusted according to the current service type of the equipment, so that the rotating speed of the fan can meet the heat dissipation requirements of the equipment under different service types, the rotating speed of the fan can be correspondingly changed under different service types, the rotating speed of the fan is flexibly controlled, the power consumption of the fan is reduced, and the requirements of energy conservation and consumption reduction are met.
Description
Technical Field
The invention relates to the field of equipment control, in particular to a method and equipment for adjusting the rotating speed of a fan.
Background
In order to save energy, the power consumption and energy efficiency of IT (Information Technology, english full name) equipment are more and more emphasized by users, and since the power consumption of a fan accounts for the higher proportion of the power consumption of a system, and the power consumption of hardware is basically the same for a CPU (Central Processing Unit, chinese name, Central Processing Unit), a memory, a hard disk and the like used by each manufacturer, the reduction of the power consumption of the fan is the direction of the key research of each manufacturer.
The existing method for controlling the fan by the equipment is that a system of the equipment is powered on, the fan is powered on and started, a management unit collects information such as the temperature, power consumption and the number of revolutions of the system fan in the IT equipment, the fan is subjected to speed regulation control according to the ambient temperature and the temperatures of all the devices, if the temperatures of all the devices are lower, the fan is controlled to run according to a certain number of revolutions required by the ambient temperature, if the temperatures of some devices are increased to a speed regulation target value, the fan is controlled to run according to another number of revolutions required by the speed regulation of the devices, and when the service of the system is stable, the speed regulation of the system fan can be.
In such a method, the fan speed is simply adjusted up and down according to the device temperature, and the power consumption on the device is still large.
Disclosure of Invention
The embodiment of the invention provides a method and equipment for adjusting the rotating speed of a fan, and aims to reduce the power consumption of the fan on the equipment.
In a first aspect, an embodiment of the present invention provides a method for adjusting a rotation speed of a fan, where the method is applied to an apparatus provided with the fan, and the method includes:
the equipment acquires service information, wherein the service information is information related to a service executed by the equipment, such as working dynamic parameters of a corresponding device on the equipment when the equipment executes the service, description information of the service type and the like, and then the equipment determines the current service type of the equipment according to the service information and adjusts the rotating speed of the fan according to the current service type. The heat emitted by the equipment may be different because the equipment operates in different service types, so that the rotating speed of the fan on the equipment can be adjusted according to the current service type, wherein the adjustment of the rotating speed of the fan includes controlling the rotating speed of the fan and the starting and stopping of the fan, or only controlling the rotating speed of the fan or controlling the starting and stopping of the fan.
In the scheme of the embodiment of the invention, the rotating speed of the fan of the equipment can be adjusted according to the current service type of the equipment, so that the rotating speed of the fan can meet the heat dissipation requirements of the equipment under different service types, and the rotating speed of the fan can be flexibly controlled because the rotating speed of the fan can be correspondingly changed under different service types, thereby reducing the power consumption of the fan and achieving the requirements of energy conservation and consumption reduction.
With reference to the first aspect, in a first possible implementation manner, the adjusting the rotation speed of the fan according to the current service type specifically includes: the equipment determines a target service utilization rate type corresponding to the current service type, so that the target service utilization rate type of the equipment which mainly generates heat under the current service is determined, the target service utilization rate type is the utilization rate of a preset device, and the service utilization rate types are different due to different devices. Then, the equipment determines the current utilization rate value of the target service utilization rate type, so that the equipment can adjust the rotating speed of the fan to the rotating speed corresponding to the current utilization rate value according to the pre-established corresponding relation between the value of the target service utilization rate type and the rotating speed of the fan. In the corresponding relation between the value of the target service utilization rate type and the fan rotating speed, the heat generated when the equipment runs under the value of the target service utilization rate type is positively correlated with the fan rotating speed.
Therefore, after the service type is determined, the rotating speed of the fan is adjusted according to the utilization rate value of the target service utilization rate type of the main use of the equipment running under the current service type, the specific adjustment mode is the corresponding relation between the value of the target service utilization rate type and the rotating speed of the fan, and in the corresponding relation, the heat generated when the equipment runs under the value of the target service utilization rate type is positively correlated with the rotating speed of the fan, so that the rotating speed of the fan is adjusted to be more fit with the actual heat dissipation condition of the equipment, and the power consumption and the noise generated by the equipment fan are reduced.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the method further includes: the equipment determines a target device corresponding to the target service utilization rate type, for example, the target device includes devices on the equipment such as a CPU, a memory, and the like, and the utilization rate of the target device is the utilization rate of the target service utilization rate type, so that the target device is a main heat generation source on the equipment and needs to pay attention. The equipment then determines the current configuration type of the target device, and the heat generated by the equipment is possibly different even if the target device is in the same utilization rate value due to different configuration types of the target device, so that the equipment adjusts the rotating speed of the fan according to the current configuration type and the current utilization rate value of the target device. Therefore, the rotating speed of the fan of the equipment is adjusted according to the configuration type of the target device and the current utilization rate value of the target device, and the two factors have influence on the heat production and the power consumption of the target device, so that the method provided by the embodiment of the invention can further ensure the rotating speed adjustment of the fan to be further fit with the heat production condition of the equipment, avoid unnecessary increase of the rotating speed, ensure the heat dissipation requirement of the equipment, achieve the effect of flexibly controlling the rotating speed of the fan, and further reduce the power consumption and the noise generated by the fan.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the adjusting the rotation speed of the fan according to the current configuration type and the current usage rate value of the target device specifically includes: the equipment determines a first rotating speed corresponding to the current utilization rate value according to a pre-established corresponding relation between the value of the target service utilization rate type and the rotating speed of the fan; and the equipment determines a second rotating speed corresponding to the current configuration type of the target device according to the pre-established corresponding relation between the configuration type of the target device and the rotating speed of the fan. And after the first rotating speed and the second rotating speed are obtained, the rotating speed of the fan is adjusted by using the maximum rotating speed of the first rotating speed and the second rotating speed. In the corresponding relation between the configuration type of the target device and the rotating speed of the fan, the heat generated when the equipment operates under the configuration type of the target device is positively correlated with the rotating speed of the fan. In the embodiment of the invention, when the equipment runs under a certain service type, the utilization rate value and the configuration type of the corresponding target device with more heat generation have influence on the heat generation of the target device, so that the rotating speed of the fan is influenced.
With reference to the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the adjusting the rotation speed of the fan by using the maximum rotation speed of the first rotation speed and the maximum rotation speed of the second rotation speed specifically includes: and when the first rotating speed and the second rotating speed are both zero, controlling the fan to stop rotating. The method of the embodiment of the invention controls the fan to stop only if the configuration type and the utilization rate value of the target device meet the stop requirement, so that the risk brought to the equipment by the stop of the fan can be reduced. Of course, the device controls the fan to restart whenever one of the stall requirements for the configuration type and usage value is not met.
With reference to the first possible implementation manner of the first aspect, in a fifth possible implementation manner, the determining a target service usage rate type corresponding to a current service type specifically includes: and determining a target service utilization rate type corresponding to the current service type according to the pre-established corresponding relationship between the service type and the service utilization rate type. The method for determining the target service type according to the pre-established corresponding relation is simple and easy to implement.
With reference to the first possible implementation manner of the first aspect, in a sixth possible implementation manner, the adjusting the rotation speed of the fan to a rotation speed corresponding to the current usage rate value specifically includes: and when the current utilization rate value is smaller than a first utilization rate threshold value corresponding to the target service utilization rate type, controlling the fan to stop rotating. The method is simple, and the safety of the implementation of the method can be ensured as long as the first utilization rate threshold is well determined, for example, is lower than the actual utilization rate value which can be stopped by a preset value.
With reference to the sixth possible implementation manner of the first aspect, in a seventh possible implementation manner, the adjusting the rotation speed of the fan to a rotation speed corresponding to the current usage rate value specifically includes: and when the current utilization rate value is larger than a second utilization rate threshold value corresponding to the target service utilization rate type, controlling the fan to start rotating at a rotating speed corresponding to the current utilization rate value. In the scheme, after the second utilization rate threshold value is determined, the fan is controlled to be started quickly when the equipment cannot meet the heat dissipation requirement, and normal operation of the equipment is guaranteed.
With reference to the first to seventh possible implementation manners of the first aspect, in an eighth possible implementation manner, the service type includes a calculation type, a storage type, and a network switching type, a target service usage type corresponding to the calculation type is a CPU usage, a target service usage type corresponding to the network switching type is a network I/O (Input/Output) data access amount, and a target service usage type corresponding to the storage type is an IOPS (Input/Output operations Per Second) data reading frequency.
With reference to the first aspect, in a ninth possible implementation manner, the apparatus is an apparatus with multiple air ducts, and the method further includes: the equipment determines a device corresponding to the service type, namely a main heat generating device of the current equipment, then the equipment determines a target air channel where the device corresponding to the service type is located, the air channel is used for controlling heat dissipation of the device, and then the equipment determines a target fan in the target air channel, so that the rotating speed of the fan on the air channel where the determined device is located needs to be adjusted as the determined device is the heat generating device, and the equipment can adjust the rotating speed of the target fan according to the service type. Therefore, the equipment only adjusts the rotating speed of the fan needing to adjust the rotating speed, does not adjust other fans, and performs targeted control on the fan, so that the normal operation of the equipment is ensured, and meanwhile, the energy consumption is further reduced.
In a second aspect, an apparatus provided with a fan is provided in embodiments of the present application, and the apparatus has the functions of the apparatus in the above method. The functions may be implemented by hardware, or by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In one possible implementation, the apparatus includes:
a service information obtaining unit, configured to obtain service information;
a service type determining unit, configured to determine a current service type of the device according to the service information;
and the adjusting unit is used for adjusting the rotating speed of the fan according to the current service type.
In another possible implementation, the apparatus includes:
a processor;
the transceiver performs the following actions: acquiring service information;
the transceiver performs the following actions: determining the current service type of the equipment according to the service information;
the processor performs the following acts: adjusting the rotation speed of the fan according to the current service type
In a third aspect, an embodiment of the present application provides a computer storage medium storing program code for instructing to execute the method of the first aspect.
According to the technical scheme, the embodiment of the invention has the following advantages:
the method comprises the steps of obtaining service information on equipment provided with a fan, determining the current service type of the equipment according to the service information, and then adjusting the rotating speed of the fan on the equipment according to the current service type. Therefore, the rotating speed of the fan of the equipment can be adjusted according to the current service type of the equipment, so that the rotating speed of the fan can meet the heat dissipation requirements of the equipment under different service types, the rotating speed of the fan can be correspondingly changed under different service types, the rotating speed of the fan is flexibly controlled, the power consumption of the fan is reduced, and the requirements of energy conservation and consumption reduction are met.
Drawings
Fig. 1 is a schematic structural diagram of a server according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method for adjusting a rotational speed of a fan according to another embodiment of the present invention;
FIG. 3 is a graphical illustration of CPU usage values associated with the embodiment of FIG. 2;
FIG. 4 is another illustration of CPU usage values involved in the embodiment of FIG. 2;
FIG. 5 is a diagram illustrating a fitted curve of the relationship between CPU usage values and fan speeds according to the embodiment shown in FIG. 2;
FIG. 6 is a schematic diagram of an apparatus according to another embodiment of the present invention;
fig. 7 is a hardware configuration diagram of the apparatus 700.
Detailed Description
The embodiment of the invention provides a method and equipment for adjusting the rotating speed of a fan, which are used for reducing the power consumption of the fan on the equipment.
Fig. 1 is a schematic structural diagram of a server, which can be used to execute the method for adjusting the rotation speed of a fan according to an embodiment of the present invention. As shown in fig. 1, the server 100 may be a blade server, where a first blade and a second blade belong to a first partition, and a third blade and a fourth blade belong to a second partition, where different partitions are located in different air ducts, each blade includes devices such as a CPU101, a memory 102, and a hard disk 103 electrically connected to each other, where some of the devices may be used by different blades, for example, the hard disk may be used by the first to fourth blades in common. The server further includes a fan, and as shown in fig. 1, the server includes first to fourth fans. Wherein the first fan 111 and the second fan 112 belong to a first partition and the third fan 113 and the fourth fan 114 belong to a second partition. When the server is in operation, the devices thereon generate heat, and the rotation of the fan can reduce the heat generated by the server, so that the server 100 can operate normally.
In some embodiments, different services are executed on different blades, and since devices used by different services may be different, corresponding power consumption may also be different. Even if the blades executing the same service have different power consumption due to different utilization rates of the corresponding devices. Thus, the heat generated by blades on the same server may be different, and thus, the rotational speeds of fans on the server corresponding to different blades may be different. The servers in fig. 1 are fans on different air ducts, and the rotating speeds may be different.
On the server shown in fig. 1, the server obtains the service information, determines the current service type of the server according to the service information, and then adjusts the rotation speed of the fan on the server according to the current service type. Therefore, the rotating speed of the fan can be adjusted according to the current service type of the equipment, so that the rotating speed of the fan can meet the heat dissipation requirements of the equipment under different service types, the rotating speed of the fan can be flexibly controlled due to the fact that the rotating speed of the fan can be correspondingly changed under different service types, the power consumption of the fan is reduced, and the requirements for energy conservation and consumption reduction are met.
IT should be understood that fig. 1 is illustrated with a server, but the device for executing the method according to the embodiment of the present invention is not limited to the server, and may also be an IT device such as a notebook computer, a communication network element, and other devices, and this is not particularly limited in the embodiment of the present invention.
FIG. 2 is a flow chart illustrating a method of adjusting fan speed according to an exemplary embodiment. With reference to the schematic device diagram shown in fig. 1 and the above description, taking an angle that a server provided with a fan executes the method provided by the embodiment of the present invention as an example, referring to fig. 2, a flow of the method provided by the embodiment of the present invention includes:
step 201: acquiring service information;
the server acquires the service information, namely the server is powered on, the management unit of the server is powered on, and the server detects the service information on the server, so that the management unit of the server can acquire the service information on the server. The service information is information related to a service executed by the server, for example, a working dynamic parameter of a corresponding device on the server when the server executes the service, description information of a service type, and the like, which is not specifically limited in this embodiment of the present invention.
For example, the management unit obtains the calculated amount and the utilization rate information of the CPU and the memory, for example, the management unit obtains the calculated amount and the utilization rate information through an ME channel of an Intel; or the management unit can acquire the network I/O data access amount, the access frequency and the bandwidth use condition through a channel of the bridge chip; or, the management unit may obtain, through the network card, the data reading frequency, the bandwidth, and other conditions of the network IOPS (english full name: Input/output operations Per Second; chinese name: number of times of read/write operations Per Second). The aforementioned calculation amount and usage rate of the CPU and the memory, network I/O data access amount, access frequency, network IOPS data reading frequency, bandwidth, and the like are service information.
Or, if the service information is the description information of the service type, when the server runs the service software, the server can read the description information of the service type on the service software; or when the server runs the service, the description information of the service type, such as the service name, is obtained from the network, and the description information can describe the service type currently run by the server.
IT should be understood that, in the embodiment of the present invention, the method in the embodiment of the present invention is described with a server, for example, the server may be a blade server, but the device for executing the method in the embodiment of the present invention may also be other devices, for example, an IT device such as a notebook computer, a communication network element, and the like, which is not limited in the embodiment of the present invention specifically.
Step 202: and determining the current service type of the server according to the service information.
The server can determine the service type of the service currently executed by the server according to the service information, wherein the service type includes but is not limited to a calculation type, a storage type, a network switching type and the like.
For example, after the server acquires the usage rates of the CPU and the memory, the server sends the usage rates of the CPU and the memory to the management unit, so that the management unit can determine whether the current service type is the calculation type according to the acquired information, for example, if the management unit determines that the usage rates of the CPU and the memory are greater than preset usage rate threshold values of the CPU and the memory, the management unit determines that the service operated by the current server is the calculation type. Similarly, the management unit can determine whether the current service type is a data transmission or network exchange type according to the acquired access amount, access frequency and bandwidth use condition of the I/O data and through a preset corresponding threshold value; the management unit can judge whether the current service type is a storage type according to the obtained conditions of network IOPS data reading frequency, bandwidth and the like, wherein the storage medium used for storage by the server can be a mechanical hard disk, an SSD (Solid State disk; English full name: Solid State Drives) or other media and the like.
For another example, if the service information acquired by the server is description information of a service type, and the description information of the service type corresponds to the storage type, the management unit determines that the currently running service is the storage type. And the process of determining other service types according to the description information of the service types is similar to the process.
Step 203: and determining a target service utilization rate type corresponding to the current service type according to the pre-established corresponding relationship between the service type and the service utilization rate type.
The service utilization rate type is the utilization rate of corresponding types of devices on the server when the server operates the service. When the server runs different services, the devices which are mainly used are different, and the devices have corresponding utilization rates when in work, the devices which are mainly used are main generation sources of the power consumption of the server under the current service, so that the heat which is currently generated by the server mainly comes from the devices, and the utilization rates of the devices on the server need to be detected to determine the rotating speed which is needed by the corresponding fan because the utilization rates of the devices correspond to the heat generated by the devices. The utilization rate of the devices corresponding to the service type currently operated by the server is the target service utilization rate type. Of course, sometimes other devices of the server also work to generate heat, but these other devices generate less heat when executing the current service type, and have little influence on the normal operation of the server, so that the usage rate of these other devices can be ignored, that is, when the server runs a certain service type, the usage rate of the device generating heat smaller than the preset value does not belong to the target service usage rate type.
Because different service types have corresponding service utilization rate types, after the server determines the current service type, the server determines a target service utilization rate type corresponding to the current service type so as to detect the utilization rate value of the target service utilization rate type.
In the embodiment of the invention, the method for determining the target service utilization rate type is that according to the pre-established corresponding relation between the service type and the service utilization rate type, after the service type of the current service of the server is determined, the server determines the target service utilization rate type corresponding to the current service type. The pre-established corresponding relation between the service type and the service utilization rate type is stored in a server, and the corresponding relation can be manually matched and determined according to experiment numerical values and then input to the server so as to enable the server to store the corresponding relation. Or the server may generate the data according to preset rules.
For example, as shown in table one, table one is an example of a correspondence relationship between a service type and a service usage rate type. When the server executes the calculation type service, the CPU of the server consumes more power, and at this time, the CPU is a main source of heat generated by the server, so that the target service utilization rate type corresponding to the calculation type is the CPU utilization rate, and other devices, such as a memory, may also generate a certain amount of heat due to operation, but the generated heat has less influence on the operation of the server, so that the utilization rates of the devices with less influence can be ignored, and the execution process of the method of the embodiment of the present invention is simplified. Similarly, the target service usage type corresponding to the network exchange type is a network I/O data access amount, and the target service usage type corresponding to the storage type is an IOPS data reading frequency.
Table one:
type of service | Type of service usage |
Type of computation | CPU utilization |
Network switching type | Network I/O data access volume |
Storage type | IOPS data read frequency |
Because the server uses many devices, the service utilization rate types can be various, including but not limited to the utilization rates of a CPU, a memory, a hard disk, a Raid (Redundant Array of Independent Disks; chinese name: Redundant Array of Independent Disks) card, a PCIE card, a network card, and the like.
It can be understood that there may be other methods for determining the target service usage rate type corresponding to the current service type, and this is not limited in this embodiment of the present invention. For example, after the service information is acquired, the management unit determines the current service type of the server according to the service information, and then determines a target service utilization rate type corresponding to the current service type according to the service information, for example, the server detects the utilization rate of the CPU, so that the acquired service information is the CPU utilization rate, and sends the CPU utilization rate to the management unit, and if the management unit determines that the utilization rate of the CPU is greater than a preset utilization rate threshold value of the CPU, the management unit determines that the service type operated by the current server is the calculation type. And the server determines the target service utilization rate type as the CPU utilization rate according to the service information, wherein the CPU utilization rate corresponds to the calculation type.
Step 204: determining a current utilization rate value of the target service utilization rate type;
after determining the target service usage type corresponding to the current service type, the server determines a current usage value of the target service usage type, where the usage value has a plurality of expressions, for example, a percentage of full usage. The specific method for obtaining the current usage rate value of the target service usage rate type may be that the server performs detection through a detection tool thereon, or calls a corresponding instruction, and obtains the corresponding usage rate value after executing the instruction, which is not specifically limited in the embodiment of the present invention.
For example, the target service usage type of the server is CPU usage, and the CPU usage information can be obtained using corresponding tools and commands in the server. As shown in fig. 3 and 4, fig. 3 is a schematic diagram of the obtained current CPU utilization value, and fig. 4 is a schematic diagram of the obtained CPU utilization value at the corresponding time, where in fig. 4, the abscissa is a time unit, and the ordinate is the CPU utilization value.
Step 205: and adjusting the rotating speed of the fan to be the rotating speed corresponding to the current utilization rate value according to the pre-established corresponding relation between the target service utilization rate type value and the rotating speed of the fan.
After the current utilization rate value of the target service utilization rate type is obtained, the management unit of the server can adjust the rotating speed of the corresponding fan to the rotating speed corresponding to the current utilization rate value according to the pre-established corresponding relation between the value of the target service utilization rate type and the rotating speed of the fan. In the corresponding relationship between the target service usage rate type value and the fan speed, the heat generated when the server operates under the target service usage rate type value is in positive correlation with the fan speed, that is, when the server operates under the target service usage rate type, the larger the heat generated by the server under different usage rate values is, the larger the fan speed is, here, the relationship between the heat value and the fan speed may be a relationship of a continuous function or a relationship of a piecewise function, which is not specifically limited in the embodiment of the present invention. In most cases, when the server operates in the target service usage type, the larger the corresponding usage value is, the larger the power consumption generated by the corresponding device is, and thus the larger the heat generated by the server is, and thus the usage value and the fan speed are in positive correlation.
The corresponding relationship between the target service usage rate type value and the fan speed may be obtained through experiments. For example, in an experiment, a server runs a preset service type, a corresponding target service usage type is at a certain usage numerical value, the rotating speed of a corresponding fan is adjusted, the heat dissipation effect of the server is detected in real time, the minimum or smaller rotating speed of the fan is determined as the target rotating speed under the condition that the heat dissipation effect meets a preset requirement, then the corresponding usage numerical value and the target rotating speed are recorded, a mapping table or a fitting curve can be generated according to the data after multiple groups of data are obtained, and therefore the mapping table or the fitting curve records the corresponding relation between the numerical value of the target service usage type and the rotating speed of the fan, and heat generated when the server runs under the numerical value of the target service usage type is positively correlated with the rotating speed of the fan.
The server adjusts the rotating speed of the fan to be the rotating speed corresponding to the current utilization rate value according to the corresponding relation, so that the server has a heat dissipation effect meeting requirements when running under the current utilization rate value of the target service utilization rate type, and the rotating speed of the fan is correspondingly changed along with the utilization rate value, thereby flexibly controlling the rotating speed of the fan and realizing the effect of reducing the power consumption of the fan on the server. In addition, the noise generated by the fan is reduced due to the reduction of the rotating speed of the fan.
For example, table two shows a mapping table of CPU usage and fan speed, where the fan speed is shown as a percentage of the relative maximum fan speed. When the service type of the server is the calculation type, the server acquires the current numerical value of the CPU utilization rate because the CPU utilization rate corresponds to the calculation type, and determines the fan rotating speed corresponding to the current numerical value of the CPU utilization rate according to the mapping relation, for example, when the CPU utilization rate is 33%, the corresponding fan rotating speed is determined to be 40%. I.e., 40% of the maximum fan speed, thereby adjusting the fan speed to 40% of the maximum fan speed. Therefore, under the rotating speed of the fan, the server can meet the heat dissipation requirement and reduce the power consumption and noise generated by the rotating speed of the fan, thereby achieving the effects of energy conservation and noise reduction.
Watch two
As shown in fig. 5, which shows a fitted curve of the correspondence of the CPU usage value and the fan rotational speed obtained from another experiment.
Because the server has different devices, the service usage rate types are more, and the server can store the corresponding relationship between the numerical value of various target service usage rate types and the fan rotating speed, for example, the corresponding relationship between the numerical value of the network I/O data access amount and the fan rotating speed, and the like.
In some embodiments of the present invention, adjusting the rotation speed of the fan includes controlling the start and stop of the fan, or only controlling the start and stop of the fan, so that the start and stop of the fan can be controlled according to the value after obtaining the value of the target service usage rate type. That is, the corresponding relationship between the value of the target service usage rate type and the fan speed also includes the corresponding relationship between the value of the target service usage rate type and the fan start/stop, or only includes the corresponding relationship between the value of the target service usage rate type and the fan start/stop. For example, when the current usage value is less than a first usage threshold corresponding to the target traffic usage type, the fan is controlled to stall. And/or when the current utilization rate value is larger than a second utilization rate threshold value corresponding to the target service utilization rate type, controlling the fan to start rotating at a rotating speed corresponding to the current utilization rate value. The first usage rate threshold and the second usage rate threshold may be the same or different, and the determination of the first usage rate threshold and the determination of the second usage rate threshold may be determined through experiments. Under the target service utilization rate type, when the utilization rate value is smaller than the first utilization rate value, the heat generated by the device corresponding to the target service utilization rate type is smaller, and if the fan stops rotating, the server can also normally run; when the utilization rate value is larger than the second utilization rate threshold value, the heat generated by the corresponding device is large, and the fan needs to be started at the moment to ensure the normal operation of the server, so that the fan can be controlled to start and stop according to the value of the target service utilization rate type, the unnecessary rotation of the fan is avoided, and the power consumption and the generated noise of the fan are reduced.
It can be understood that, when the server runs different service types, the heat generated by the server will also be different, that is, the heat generated by the server is related to the service type of the server running, and according to the relationship, the rotating speed of the fan can be directly adjusted according to the service type. For example, according to the pre-established correspondence between the service type and the fan rotation speed, the rotation speed of the fan is adjusted to be the rotation speed corresponding to the current service type, and the rotation speed of the fan may be greater than or equal to zero. Wherein, the heat quantity generated by the server under different service types is positively correlated with the fan rotating speed. That is, when the server operates in a service type generating high heat, the rotating speed of the fan is also high, and when the server operates in a service type generating low heat, the rotating speed of the fan is also low.
The corresponding relation can be obtained according to experiments, for example, when the server runs different service types, the rotating speed of the fan is adjusted under the condition that the preset heat dissipation requirement is met, and the smaller rotating speed which can be used by the fan under a certain service type is obtained. Therefore, the rotating speed of the fan can be adjusted according to the current service type of the server, so that the rotating speed of the fan can meet the heat dissipation requirements of equipment under different service types, the rotating speed of the fan can be correspondingly changed under different service types, the rotating speed of the fan is flexibly controlled, the power consumption of the fan is reduced, and the requirements of energy conservation and consumption reduction are met.
In some embodiments of the present invention, the fan speed may be adjusted according to the service type and the usage rate value of the target service usage rate type, and the fan speed may be further controlled according to the configuration type of the target device corresponding to the target service usage rate type.
That is, in an embodiment of the present invention, after the steps 201 to 204 are executed, the method for adjusting the rotation speed of the fan according to the embodiment of the present invention further includes: determining a target device corresponding to the target service utilization rate type; determining a current configuration type of a target device; and adjusting the rotating speed of the fan according to the current configuration type and the current utilization rate value of the target device. The target device corresponds to the target service utilization rate type, that is, the target service utilization rate type is the utilization rate of the target device. The method for determining the configuration type of the target device has various ways, such as detecting configuration information, such as a model number and the like, recorded on the target device by a manufacturer by the server.
The rotating speed of the fan is adjusted according to the current configuration type and the current utilization rate value of the target device, and various implementation modes are provided. For example:
step A1: determining a first rotating speed corresponding to the current utilization rate value according to a pre-established corresponding relation between the value of the target service utilization rate type and the rotating speed of the fan;
step A2: determining a second rotating speed corresponding to the current configuration type of the target device according to a pre-established corresponding relation between the configuration type of the target device and the rotating speed of the fan;
step A3: the rotation speed of the fan is adjusted using the maximum rotation speed of the first rotation speed and the second rotation speed.
The corresponding relation record of the value of the target service utilization rate type and the rotating speed of the fan is that the corresponding rotating speed of the fan can be used under different values of the target service utilization rate type, wherein the heat generated when the server operates under the value of the target service utilization rate type is positively correlated with the rotating speed of the fan. The above contents may be referred to as a correspondence between the value of the target service usage rate type and the fan rotation speed.
The corresponding relation between the configuration type of the target device and the rotating speed of the fan records the corresponding rotating speed which can be used by the fan under different configuration types of the target device. The heat generated by the server running under the configuration type of the target device is positively correlated with the rotating speed of the fan, namely when the server uses a certain configuration type of the target device, the generated heat is large, the rotating speed of the fan is large, and when the server uses another configuration type of the target device, the generated heat is small, and the rotating speed of the fan is small.
The target device corresponds to the target service usage type, that is, the target service usage type is the usage of the target device, for example, if the target service usage type is CPU usage, the corresponding target device is CPU. At this time, the service type currently operated by the server mainly uses the target device, and the target service usage rate type is the usage rate of the target device. Because the configuration types of the target devices are different, the heat dissipation conditions are also different, and the rotating speed of the fan can be correspondingly adjusted, so that the rotating speed of the fan is flexibly controlled, unnecessary overlarge rotating speed of the fan is avoided, the power consumption of the fan is reduced, and the requirements of energy conservation and consumption reduction are met.
For example, in a test process, when a server operates in a certain service type, a corresponding target device is a main heat dissipation source, the target device is fixed to be a determined configuration type, the rotation speed of the fan is continuously changed, a smaller fan rotation speed is determined under the condition that a preset heat dissipation condition is met, so that a set of data of the fan rotation speed and the configuration type of the target device is obtained, after multiple tests, multiple sets of such data are obtained, the corresponding relationship between the configuration type of the target device and the fan rotation speed can be obtained according to the data, and the corresponding relationship can be expressed in the form of a fitting curve or a mapping relationship table. The target device may be a CPU, a memory, a hard disk, or the like, for example, the third table is a correspondence between a CPU model and a fan rotation speed, and the configuration type of the target device at this time is the CPU model. And if the target device is a memory/hard disk, the configuration type is memory/hard disk capacity information. That is, the configuration type information is information related to the heat generation amount of the target device.
Watch III
In some embodiments, the management unit of the server controls the fan to stop when the first rotation speed and the second rotation speed are both zero. That is, the usage value of the target service usage type corresponds to the fan stall, and under the usage value of the target service usage type, even if the fan stalls, the server can still meet the heat dissipation requirement; the configuration type of the target device corresponds to the fan stop, namely, when the target device is the configuration type, the server can still meet the heat dissipation requirement even if the fan stops rotating. When the configuration type and the utilization rate value correspond to the fan stop, the fan is controlled to stop rotating, so that power consumption and noise generated by the fan can be reduced, double determination conditions can be achieved, whether the server meets the stop condition or not can be judged more accurately, and risks caused by the fan stop are reduced.
According to the current configuration type and the current utilization rate value of the target device, the rotating speed of the fan is adjusted, and the implementation mode can also be as follows:
the method comprises the steps of carrying out tests, enabling a server to run under a preset service type, enabling a corresponding target service utilization rate type to be the utilization rate of a target device, determining that the target device is a certain configuration type, then determining the corresponding relation between the utilization rate value of the target service utilization rate type and the rotating speed of a fan, and obtaining the corresponding relation between the utilization rate values of various target service utilization rate types and the rotating speed of the fan by changing the configuration type of the target device, wherein the corresponding relations belong to the same target device and respectively correspond to different configuration types.
Therefore, when the server operates in a certain service type, the corresponding target service utilization rate type and the target device are determined, then, the corresponding relation between the corresponding utilization rate value and the fan rotating speed is obtained according to the configuration type of the target device, and according to the corresponding relation between the utilization rate value and the fan rotating speed, the management unit of the server can determine the fan rotating speed corresponding to the current utilization rate value of the target service utilization rate type, and the rotating speed of the fan is adjusted accordingly. Therefore, the rotating speed of the fan can be flexibly controlled, unnecessary overlarge rotating speed of the fan is avoided, the power consumption of the fan is reduced, and the requirements for energy conservation and consumption reduction are met.
It can be understood that the fans controlled in the above embodiments are corresponding fans on the server, one fan may be provided on the server, or multiple fans may be provided on the server, when the server is provided with multiple fans, the fans for adjusting the rotation speed of the server may be all fans, or may be corresponding fans, and the corresponding fans refer to fans whose rotation speed needs to be adjusted when the server runs the current service. For example, the server is provided with a plurality of air channels, which need to be speed-regulated in different regions, and the plurality of air channels refer to at least two air channels, wherein each air channel may be provided with a fan, and when the server runs a service, a device corresponding to the current service type is determined, and in some embodiments, the device corresponding to the current service type is the same as the device corresponding to the target service usage rate type. And then, determining the target air channel where the device corresponding to the service type is located. Because the heating of the device on the target air channel is changed, the fan on the air channel needs to be adjusted, and therefore the target fan in the target air channel is determined; when the rotating speed of the fan is adjusted according to the service type, the rotating speed of the target fan on the target air channel can be adjusted, the heat dissipation conditions of devices on other air channels are not changed, and therefore the rotating speeds of the fans of other air channels are not changed. Alternatively, the aforementioned adjusting of the rotation speed of the fan, for example, adjusting the rotation speed of the fan to a rotation speed corresponding to the current usage rate value, adjusting the rotation speed of the fan according to the current configuration type and the current usage rate value of the target device, and the like, all adjust the rotation speed of the target fan of the target air duct. Therefore, the fan regulated by the server is the fan needing to be regulated, and the fan without regulating the rotating speed is not regulated, so that the server meets the heat dissipation requirement, and the power consumption generated by the server fan is further reduced.
Fig. 6 is a schematic diagram illustrating a structure of an apparatus provided with a fan according to an exemplary embodiment, the apparatus being configured to perform the functions performed by the server in the embodiment corresponding to fig. 2. Referring to fig. 6, the apparatus includes:
a service information obtaining unit 601, configured to obtain service information;
a service type determining unit 602, configured to determine a current service type of the device according to the service information;
an adjusting unit 603, configured to adjust a rotation speed of the fan according to the current service type.
Alternatively,
the adjusting unit 603 includes:
a utilization rate type determining module 604, configured to determine a target service utilization rate type corresponding to the current service type;
a usage rate value determining module 605, configured to determine a current usage rate value of the target service usage rate type;
the adjusting module 606 is configured to adjust the rotation speed of the fan to a rotation speed corresponding to the current usage rate value according to a pre-established correspondence between the value of the target service usage rate type and the rotation speed of the fan, where, in the correspondence between the value of the target service usage rate type and the rotation speed of the fan, heat generated when the device operates under the value of the target service usage rate type is positively correlated with the rotation speed of the fan.
Optionally, the apparatus further comprises:
a first device determination unit 607 for determining a target device corresponding to the target service usage type;
a configuration type determining unit 608, configured to determine a current configuration type of the target device;
the adjusting module 606 is further configured to adjust the rotation speed of the fan according to the current configuration type and the current usage rate value of the target device.
Optionally, the adjusting module 606 includes:
the first rotation speed determining submodule 609 is used for determining a first rotation speed corresponding to the current utilization rate value according to the pre-established corresponding relation between the value of the target service utilization rate type and the fan rotation speed;
a second rotation speed determining submodule 610, configured to determine, according to a pre-established correspondence between a configuration type of a target device and a rotation speed of a fan, a second rotation speed corresponding to a current configuration type of the target device, where, in the correspondence between the configuration type of the target device and the rotation speed of the fan, heat generated by the apparatus operating under the configuration type of the target device is positively correlated with the rotation speed of the fan;
the adjusting submodule 611 is configured to adjust a rotation speed of the fan using a maximum rotation speed of the first rotation speed and the second rotation speed.
Optionally, the adjustment submodule 611 is further configured to control the fan to stop when the first rotation speed and the second rotation speed are both zero.
Optionally, the utilization rate type determining module 604 is further configured to determine a target service utilization rate type corresponding to the current service type according to a pre-established correspondence between the service type and the service utilization rate type.
Optionally, the adjusting module 606 is further configured to control the fan to stop rotating when the current usage value is smaller than a first usage threshold corresponding to the target service usage type.
Optionally, the adjusting module 606 is further configured to control the fan to start rotating at a rotating speed corresponding to the current usage rate value when the current usage rate value is greater than the second usage rate threshold corresponding to the target service usage rate type.
Optionally, the service types include a calculation type, a storage type, and a network exchange type, where a target service usage type corresponding to the calculation type is a CPU usage, a target service usage type corresponding to the network exchange type is a network I/O data access amount, and a target service usage type corresponding to the storage type is an IOPS data reading frequency.
Optionally, the apparatus is an apparatus having multiple air ducts,
the apparatus further comprises:
a second device determining unit 612, configured to determine a device corresponding to the service type;
an air channel determining unit 613, configured to determine a target air channel where a device corresponding to the service type is located;
a fan determination module 614 for determining a target fan within a target wind tunnel;
the adjusting unit 603 is further configured to adjust the rotation speed of the target fan according to the service type.
In summary, in an apparatus provided with a fan, the service information obtaining unit 601 obtains service information, the service type determining unit 602 determines a current service type of the apparatus according to the service information, and then the adjusting unit 603 adjusts a rotation speed of the fan on the apparatus according to the current service type. Therefore, the rotating speed of the fan of the equipment can be adjusted according to the current service type of the equipment, so that the rotating speed of the fan can meet the heat dissipation requirements of the equipment under different service types, the rotating speed of the fan can be correspondingly changed under different service types, the rotating speed of the fan is flexibly controlled, the power consumption of the fan is reduced, and the requirements of energy conservation and consumption reduction are met.
Fig. 7 is a diagram of a hardware configuration of an apparatus 700 (e.g., a server shown in fig. 1), where the apparatus 700 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 711 (e.g., one or more processors) and a memory 732, and one or more storage media 730 (e.g., one or more mass storage devices) storing applications 742 or data 744. Memory 732 and storage medium 730 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Further, the central processor 711 may be configured to communicate with the storage medium 730 to execute a series of instruction operations in the storage medium 730 on the device 700.
The apparatus 700 may also include one or more power supplies 726, one or more wired or wireless network interfaces 750, one or more input-output interfaces 758, and/or one or more operating systems 741, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, and so forth.
The steps performed by the server in the above embodiments may be based on the server structure shown in fig. 7.
The cpu 711 executes the program stored in the storage medium 730, so that the server executes the method for adjusting the fan speed, as shown in the following exemplary embodiments.
The central processor 711 executes a program stored in the storage medium 730, so that the server has the following functions: acquiring service information; determining the current service type of the equipment according to the service information; and adjusting the rotating speed of the fan according to the current service type.
In an alternative design, the central processing unit 711 executes a program stored in the storage medium 730, so that the server has the following functions: determining a target service utilization rate type corresponding to the current service type; determining a current utilization rate value of the target service utilization rate type; and adjusting the rotating speed of the fan to be the rotating speed corresponding to the current utilization rate value according to the pre-established corresponding relation between the target service utilization rate type value and the rotating speed of the fan.
In an alternative design, the central processing unit 711 executes a program stored in the storage medium 730, so that the server has the following functions: determining a target device corresponding to the target service utilization rate type; determining a current configuration type of a target device; and adjusting the rotating speed of the fan according to the current configuration type and the current utilization rate value of the target device.
In an alternative design, the central processing unit 711 executes a program stored in the storage medium 730, so that the server has the following functions: determining a first rotating speed corresponding to the current utilization rate value according to a pre-established corresponding relation between the value of the target service utilization rate type and the rotating speed of the fan; determining a second rotating speed corresponding to the current configuration type of the target device according to a pre-established corresponding relation between the configuration type of the target device and the rotating speed of the fan; the rotation speed of the fan is adjusted using the maximum rotation speed of the first rotation speed and the second rotation speed.
In an alternative design, the central processing unit 711 executes a program stored in the storage medium 730, so that the server has the following functions:
and when the first rotating speed and the second rotating speed are both zero, controlling the fan to stop rotating.
In an optional design, the cpu 711 further has the following functions:
and determining a target service utilization rate type corresponding to the current service type according to the pre-established corresponding relationship between the service type and the service utilization rate type.
In an optional design, the cpu 711 further has the following functions:
and when the current utilization rate value is smaller than a first utilization rate threshold value corresponding to the target service utilization rate type, controlling the fan to stop rotating.
In an optional design, the cpu 711 further has the following functions: :
and when the current utilization rate value is larger than a second utilization rate threshold value corresponding to the target service utilization rate type, controlling the fan to start rotating at a rotating speed corresponding to the current utilization rate value.
In an optional design, the central processing unit 711, when the server is a server with multiple air ducts, further has the following functions: determining a device corresponding to the service type; determining a target air channel where a device corresponding to the service type is located; determining a target fan in a target air duct; and adjusting the rotating speed of the target fan according to the service type.
In summary, in the device provided with the fan, the cpu 711 may obtain the service information, the cpu 711 determines the current service type of the device according to the service information, and then the cpu 711 adjusts the rotation speed of the fan on the device according to the current service type. Therefore, the rotating speed of the fan of the equipment can be adjusted according to the current service type of the equipment, so that the rotating speed of the fan can meet the heat dissipation requirements of the equipment under different service types, the rotating speed of the fan can be correspondingly changed under different service types, the rotating speed of the fan is flexibly controlled, the power consumption of the fan is reduced, and the requirements of energy conservation and consumption reduction are met.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method of adjusting the speed of a fan, the method being applied to an apparatus provided with a fan, the method comprising:
acquiring service information;
determining the current service type of the equipment according to the service information, wherein the service type comprises a calculation type, a storage type and a network exchange type;
determining a target service utilization rate type corresponding to the current service type;
determining a current utilization value of the target service utilization type;
determining a target device corresponding to the target service utilization rate type;
determining a current configuration type of the target device;
determining a first rotating speed corresponding to the current utilization rate value according to a pre-established corresponding relation between a value of a target service utilization rate type and a rotating speed of a fan, wherein in the corresponding relation between the value of the target service utilization rate type and the rotating speed of the fan, heat generated when the equipment operates under the value of the target service utilization rate type is positively correlated with the rotating speed of the fan;
determining a second rotating speed corresponding to the current configuration type of the target device according to a pre-established corresponding relation between the configuration type of the target device and the rotating speed of the fan, wherein in the corresponding relation between the configuration type of the target device and the rotating speed of the fan, the heat generated when the equipment operates under the configuration type of the target device is positively correlated with the rotating speed of the fan;
adjusting a rotation speed of the fan using a maximum rotation speed of the first rotation speed and the second rotation speed.
2. The method according to claim 1, wherein the adjusting the rotation speed of the fan using the maximum rotation speed of the first rotation speed and the second rotation speed specifically comprises:
and when the first rotating speed and the second rotating speed are both zero, controlling the fan to stop rotating.
3. The method according to claim 1, wherein the determining the target service usage type corresponding to the current service type specifically comprises:
and determining a target service utilization rate type corresponding to the current service type according to a pre-established corresponding relation between the service type and the service utilization rate type.
4. The method according to any one of claims 1 to 3, wherein the service types include a computation type, a storage type, and a network switching type, a target service usage type corresponding to the computation type is a CPU usage, a target service usage type corresponding to the network switching type is a network I/O data access amount, and a target service usage type corresponding to the storage type is an IOPS data reading frequency.
5. The method of claim 1, wherein: the device is a device with a plurality of air ducts,
the method further comprises the following steps:
determining a device corresponding to the service type;
determining a target air channel where the device corresponding to the service type is located;
determining a target fan in the target air duct;
the adjusting the rotating speed of the fan according to the current service type includes:
and adjusting the rotating speed of the target fan according to the service type.
6. A computing device provided with a fan, the computing device comprising:
a service information obtaining unit, configured to obtain service information;
a service type determining unit, configured to determine a current service type of the device according to the service information, where the service type includes a calculation type, a storage type, and a network switching type;
the utilization rate type determining module is used for determining a target service utilization rate type corresponding to the current service type;
the utilization rate value determining module is used for determining the current utilization rate value of the target service utilization rate type;
a first device determination unit that determines a target device corresponding to the target service usage rate type;
the configuration type determining unit is used for determining the current configuration type of the target device;
the first rotating speed determining submodule determines a first rotating speed corresponding to the current utilization rate value according to a pre-established corresponding relation between a value of a target service utilization rate type and a rotating speed of a fan, wherein in the corresponding relation between the value of the target service utilization rate type and the rotating speed of the fan, heat generated when the equipment operates under the value of the target service utilization rate type is positively correlated with the rotating speed of the fan;
the second rotating speed determining submodule determines a second rotating speed corresponding to the current configuration type of the target device according to a pre-established corresponding relation between the configuration type of the target device and the rotating speed of the fan, wherein in the corresponding relation between the configuration type of the target device and the rotating speed of the fan, the heat generated when the equipment operates under the configuration type of the target device is positively correlated with the rotating speed of the fan;
an adjustment module that adjusts a rotational speed of the fan using a maximum rotational speed of the first rotational speed and the second rotational speed.
7. The computing device of claim 6, wherein the adjustment submodule is to control the fan to stall when the first speed and the second speed are both zero.
8. The computing device according to claim 6, wherein the utilization rate type determining module is further configured to determine a target service utilization rate type corresponding to the current service type according to a pre-established correspondence between service types and service utilization rate types.
9. The computing device according to any one of claims 6 to 8, wherein the service types include a computation type, a storage type, and a network switching type, a target service usage type corresponding to the computation type is a CPU usage, a target service usage type corresponding to the network switching type is a network I/O data access amount, and a target service usage type corresponding to the storage type is an IOPS data reading frequency.
10. The computing device of claim 9, wherein: the computing device is a device having multiple ducts,
the computing device further comprises:
a second device determining unit, configured to determine a device corresponding to the service type;
the air channel determining unit is used for determining a target air channel where the device corresponding to the service type is located;
the fan determining module is used for determining a target fan in the target air channel;
the adjusting module is further configured to adjust the rotation speed of the target fan according to the service type.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610700816.4A CN106325464B (en) | 2016-08-22 | 2016-08-22 | Method and apparatus for adjusting fan speed |
CN201911215473.2A CN111190478A (en) | 2016-08-22 | 2016-08-22 | Method and apparatus for adjusting fan speed |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610700816.4A CN106325464B (en) | 2016-08-22 | 2016-08-22 | Method and apparatus for adjusting fan speed |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911215473.2A Division CN111190478A (en) | 2016-08-22 | 2016-08-22 | Method and apparatus for adjusting fan speed |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106325464A CN106325464A (en) | 2017-01-11 |
CN106325464B true CN106325464B (en) | 2019-12-24 |
Family
ID=57741127
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610700816.4A Active CN106325464B (en) | 2016-08-22 | 2016-08-22 | Method and apparatus for adjusting fan speed |
CN201911215473.2A Pending CN111190478A (en) | 2016-08-22 | 2016-08-22 | Method and apparatus for adjusting fan speed |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911215473.2A Pending CN111190478A (en) | 2016-08-22 | 2016-08-22 | Method and apparatus for adjusting fan speed |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN106325464B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108984305B (en) * | 2018-07-13 | 2021-03-09 | 威创集团股份有限公司 | Task processing method, device and system |
CN109327611A (en) * | 2018-09-26 | 2019-02-12 | 努比亚技术有限公司 | A kind of heat dissipation of terminal method, terminal and computer readable storage medium |
CN109785871A (en) * | 2019-03-07 | 2019-05-21 | 郑江恋 | A kind of cloud storage expanding device and its storage expanding method |
CN110764594A (en) * | 2019-09-26 | 2020-02-07 | 苏州浪潮智能科技有限公司 | Temperature control method and device for hybrid hard disk |
US11366502B2 (en) * | 2020-05-18 | 2022-06-21 | Quanta Computer Inc. | Fan failure detection |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103375420A (en) * | 2012-04-28 | 2013-10-30 | 鸿富锦精密工业(深圳)有限公司 | Equipment cabinet system and fan control system and control method thereof |
CN104460902A (en) * | 2014-11-28 | 2015-03-25 | 华为技术有限公司 | Fan regulation and control method and device capable of optimizing power |
CN105650022A (en) * | 2016-03-29 | 2016-06-08 | 海信集团有限公司 | Fan rotation speed control method and device |
CN105676974A (en) * | 2014-11-03 | 2016-06-15 | 纬创资通股份有限公司 | Electronic device and temperature control method thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI283807B (en) * | 2005-09-07 | 2007-07-11 | Inventec Corp | Fan control system and method |
TWI435537B (en) * | 2010-02-12 | 2014-04-21 | Wistron Corp | Fan control system capable of modulating a rotational speed of a fan and method thereof |
US9466982B2 (en) * | 2010-11-04 | 2016-10-11 | Dell Products L.P. | System and method for control of power consumption of information handling system devices |
-
2016
- 2016-08-22 CN CN201610700816.4A patent/CN106325464B/en active Active
- 2016-08-22 CN CN201911215473.2A patent/CN111190478A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103375420A (en) * | 2012-04-28 | 2013-10-30 | 鸿富锦精密工业(深圳)有限公司 | Equipment cabinet system and fan control system and control method thereof |
CN105676974A (en) * | 2014-11-03 | 2016-06-15 | 纬创资通股份有限公司 | Electronic device and temperature control method thereof |
CN104460902A (en) * | 2014-11-28 | 2015-03-25 | 华为技术有限公司 | Fan regulation and control method and device capable of optimizing power |
CN105650022A (en) * | 2016-03-29 | 2016-06-08 | 海信集团有限公司 | Fan rotation speed control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111190478A (en) | 2020-05-22 |
CN106325464A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106325464B (en) | Method and apparatus for adjusting fan speed | |
TWI554870B (en) | Fan duty control system, method and non-transitory computer-readable storage medium | |
EP3242185B1 (en) | Server rack power management | |
US9477295B2 (en) | Non-volatile memory express (NVMe) device power management | |
JP5254734B2 (en) | Method for managing power of electronic system, computer program, and electronic system | |
US8712597B2 (en) | Method of optimizing air mover performance characteristics to minimize temperature variations in a computing system enclosure | |
WO2010104521A1 (en) | Determining status assignments that optimize entity utilization and resource power consumption | |
US10373283B2 (en) | System and method for normalization of GPU workloads based on real-time GPU data | |
TW201403303A (en) | Managing power consumption and performance of computing systems | |
CN110345099B (en) | Method, device and system for regulating speed of server fan | |
EP2607987A1 (en) | Computing apparatus and system for remote control of operating states | |
US8103884B2 (en) | Managing power consumption of a computer | |
US8307220B2 (en) | Managing power consumption of a computer | |
US11194377B2 (en) | System and method for optimizing hardware resources for optimal workload performance | |
CN104214121A (en) | Fan revolution control system and method | |
US20120245738A1 (en) | Minimizing Aggregate Power from HVAC Cooling and IT Equipment in a Data Center | |
Khatib et al. | {PCAP}: Performance-aware Power Capping for the Disk Drive in the Cloud | |
CN113094231B (en) | Computer fan control method, system, controller and storage medium | |
US12100429B2 (en) | Methods and systems for controlling thermal performance and vibration performance of hard disk drives | |
CN114327017A (en) | Server control method and device and server | |
CN117514891B (en) | Intelligent control method, device, equipment and medium for adjusting fan rotation speed | |
CN118815738A (en) | Server and fan speed regulation method, device, equipment and volatile storage medium thereof | |
US20240338246A1 (en) | Dynamic fan speed manipulation to influence allocation of computing resources | |
CN115629659A (en) | Temperature regulation and control method of hard disk and computing equipment | |
CN117738931B (en) | Fan fault intelligent detection method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211228 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Patentee after: xFusion Digital Technologies Co., Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |