Nothing Special   »   [go: up one dir, main page]

CN109766240A - A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying - Google Patents

A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying Download PDF

Info

Publication number
CN109766240A
CN109766240A CN201811597994.4A CN201811597994A CN109766240A CN 109766240 A CN109766240 A CN 109766240A CN 201811597994 A CN201811597994 A CN 201811597994A CN 109766240 A CN109766240 A CN 109766240A
Authority
CN
China
Prior art keywords
hard disk
fan
write rate
read
threshold value
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.)
Withdrawn
Application number
CN201811597994.4A
Other languages
Chinese (zh)
Inventor
王聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811597994.4A priority Critical patent/CN109766240A/en
Publication of CN109766240A publication Critical patent/CN109766240A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The embodiment of the invention discloses a kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying, method includes obtaining the threshold value of disk read-write rate percentage;The current read-write rate of each hard disk is obtained, and calculates each hard disk current read-write rate percentage;The minimum value of hard disk current read-write rate percentage is compared with the threshold value, and according to comparison result, regulates and controls rotation speed of the fan.The present invention increases disk read-write rate to the regulatory mechanism of rotation speed of the fan in fan regulation and controlling strategy, when disk read-write rate percentage is higher than given threshold, operating system fan is adjusted the speed according to current speed adjustment strategy, when disk read-write rate percentage is lower than threshold value, controlling rotation speed of the fan reduces, so that disk read-write rate percentage is higher than threshold value, guarantees the normal work of hard disk.

Description

A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying
Technical field
The present invention relates to fan speed-regulating technical field, specifically a kind of fan regulation and controlling side for avoiding hard disk performance from decaying Method and system.
Background technique
Disk read-write rate is the important characterization parameter of server performance.Disk read-write rate is too low, not only influences to use Experience, but will lead to fall the risk of disk, bring hidden danger to server security, so application client is all to disk read-write rate at present There are strict requirements.Based on the considerations of cost and reliability, server mainly applies mechanical hard disk as storage equipment at present. Mechanical hard disk realizes reading and writing data by the rotation of internal disk, if vibrated will affect greatly its interior mechanical mechanism, and then reduces Disk read-write rate.
Server system shakes mainly as caused by fan at present, other than fan own rotation causes cabinet to vibrate, It is distinguished and admirable also hard disk to be caused to vibrate.Fan own rotation can be reduced by increase foam, using schemes such as cast aluminium outline borders, but with The sharply raising of rotation speed of the fan, it is distinguished and admirable influence but without good removing method.When rotation speed of the fan exceeds a certain range, hard disk Read and write rate can be reduced to unacceptable degree.
Summary of the invention
A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying are provided in the embodiment of the present invention, it is existing to solve When having that rotation speed of the fan is excessively high in technology, influenced by distinguished and admirable, disk read-write rate reduces serious problem.
In order to solve the above-mentioned technical problem, the embodiment of the invention discloses following technical solutions:
First aspect present invention provides a kind of fan regulation and controlling method for avoiding hard disk performance from decaying, comprising the following steps:
Obtain the threshold value of disk read-write rate percentage;
The current read-write rate of each hard disk is obtained, and calculates each hard disk current read-write rate percentage;
The minimum value of hard disk current read-write rate percentage is compared with the threshold value, and according to comparison result, is adjusted Control rotation speed of the fan.
With reference to first aspect, in a first possible implementation of that first aspect, the method also includes:
The step is added before current fan speed-regulating strategy.
With reference to first aspect, in a first possible implementation of that first aspect, described according to comparison result, regulate and control wind Fan the detailed process of revolving speed are as follows:
If the minimum value is greater than the threshold value, fan speed-regulating is carried out according to current fan speed-regulating strategy;
If the minimum value is less than or equal to the threshold value, fan is reduced on the basis of current fan speed-regulating strategy and is turned Speed.
With reference to first aspect, in a first possible implementation of that first aspect, when reducing rotation speed of the fan, same to time control CPU frequency reducing processed.
With reference to first aspect, in a second possible implementation of that first aspect, the current reading for obtaining each hard disk Writing speed, and calculate the detailed process of each hard disk current read-write rate percentage are as follows:
The current read-write rate of each hard disk is obtained using storage testing tool, and is stored to register;
Obtain the value of the current read-write rate and the corresponding maximum read and write rate of hard disk in register;
Utilize formula: disk read-write rate percentage=current read-write rate/hard disk maximum read and write rate * 100% calculates The percentage of each hard disk current read-write rate.
With reference to first aspect, in a second possible implementation of that first aspect, described according to comparison result, regulate and control wind Fan the detailed process of revolving speed are as follows:
If the minimum value is greater than the threshold value, rotation speed of the fan is not regulated and controled;
If the minimum value is less than or equal to the threshold value, reduction rotation speed of the fan is controlled.
With reference to first aspect, in a second possible implementation of that first aspect, when reducing rotation speed of the fan, same to time control CPU frequency reducing processed.
Second aspect of the present invention provides a kind of fan regulation and controlling system for avoiding hard disk performance from decaying, the system comprises
Data obtaining module, for obtaining the current read-write rate of each hard disk;
Memory module, for storing the current read-write rate of each hard disk;
Analysis and Control module calculates each hard disk current read-write rate for the threshold value of disk read-write rate percentage to be arranged Percentage, and the minimum value of hard disk present rate percentage is compared with the threshold value, and according to comparison result, regulate and control wind Fan revolving speed.
In conjunction with second aspect, in second aspect in the first possible implementation, the data obtaining module is storage Testing tool;The memory module is not disposed on the register on mainboard;The analysis and Control module is BMC, with the deposit Device connection.
The fan regulation and controlling system for avoiding hard disk performance from decaying of second aspect of the present invention can be realized first aspect and Method in each implementation of first aspect, and obtain identical effect.
The effect provided in summary of the invention is only the effect of embodiment, rather than invents all whole effects, above-mentioned A technical solution in technical solution have the following advantages that or the utility model has the advantages that
1, increase disk read-write rate in fan regulation and controlling strategy to the regulatory mechanism of rotation speed of the fan, when disk read-write rate When given threshold, operating system fan is adjusted the speed high percentage according to current speed adjustment strategy, when disk read-write rate percentage When than being lower than threshold value, control rotation speed of the fan is reduced, and so that disk read-write rate percentage is higher than threshold value, is guaranteed the normal work of hard disk Make.
2, because the hard disk quantity applied in operating system is more, and specification is different, cleverly using comparison disk read-write rate The mode of percentage measures the current working performance of hard disk.
3, to avoid rotation speed of the fan is too low from leading to system radiating problem, while control reduces fan speed, control CPU drop Frequently, requirement of the whole operation system to air quantity is reduced, guarantees the safe and stable operation of operating system.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without creative efforts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of the method for the invention embodiment 1;
Fig. 2 is the flow diagram of the method for the invention embodiment 2;
Fig. 3 is the structural schematic diagram of system of the present invention;
Fig. 4 is the hardware logic schematic diagram of system of the present invention.
Specific embodiment
In order to clarify the technical characteristics of the invention, below by specific embodiment, and its attached drawing is combined, to this hair It is bright to be described in detail.Following disclosure provides many different embodiments or example is used to realize different knots of the invention Structure.In order to simplify disclosure of the invention, hereinafter the component of specific examples and setting are described.In addition, the present invention can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relationship between various embodiments and/or setting is discussed.It should be noted that illustrated component is not necessarily to scale in the accompanying drawings It draws.Present invention omits the descriptions to known assemblies and treatment technology and process to avoid the present invention is unnecessarily limiting.
As shown in Figure 1, the fan regulation and controlling method for avoiding hard disk performance from decaying of the invention, comprising the following steps:
S1 obtains the threshold value of disk read-write rate percentage;
The threshold value of disk read-write rate percentage is come according to the requirement in hard disk specifications in combination with everything use demand Setting.
S2, obtains the current read-write rate of each hard disk, and calculates each hard disk current read-write rate percentage;
Disk read-write rate is obtained in real time by IOmeter tool, and is stored in the register being set on mainboard, just It is communicated in realization register with the I2C of BMC.The maximum read and write rate of each hard disk, maximum read and write rate are accessed in register simultaneously The maximum read and write rate being theoretically achievable for hard disk defined in hard disk specifications.Utilize formula: disk read-write rate percentage =current read-write rate/hard disk maximum read and write rate * 100%, calculates the percentage of each hard disk current read-write rate.Because of each hard disk Specification it is different, bad direct comparison is compared by the way of disk read-write rate percentage, overcomes this defect, make The service condition of each hard disk has comparativity.
The value for comparing each disk read-write rate percentage, obtains the minimum value of disk read-write rate percentage.
The minimum value of hard disk current read-write rate percentage is compared by S3 with the threshold value, and according to comparison result, Regulate and control rotation speed of the fan.
If the minimum value is greater than the threshold value, rotation speed of the fan is not regulated and controled;If the minimum value is less than or equal to The threshold value then controls reduction rotation speed of the fan.When reducing rotation speed of the fan, while controlling CPU frequency reducing.
As shown in Fig. 2, before the step in embodiment 1 is added to current fan regulation and controlling strategy, i.e., in existing fan regulation and controlling On the basis of strategy, the regulating strategy of embodiment 1 is added.
After the regulating strategy of embodiment 1 is added, the detailed process of fan regulation and controlling is carried out are as follows:
If the minimum value of disk read-write rate percentage is greater than given threshold, wind is carried out according to current fan speed-regulating strategy Fan speed regulation;If the minimum value of disk read-write rate percentage is less than or equal to given threshold, in the base of current fan speed-regulating strategy Rotation speed of the fan is reduced on plinth.Equally, when reducing rotation speed of the fan, while CPU frequency reducing is controlled.
As shown in Figure 3,4, the fan regulation and controlling system that the present invention avoids hard disk performance from decaying includes data obtaining module 1, deposits Store up module 2 and analysis and Control module 3.
Data obtaining module 1 is used to obtain the current read-write rate of each hard disk;Memory module 2 is for storing each hard disk Current read-write rate;Analysis and Control module 3 is used to be arranged the threshold value of disk read-write rate percentage, calculates each hard disk and currently reads Writing speed percentage, and the minimum value of hard disk present rate percentage is compared with the threshold value, and according to comparison result, Regulate and control rotation speed of the fan.
Data obtaining module 1 is storage testing tool IOmeter;Memory module 2 is the register being arranged on mainboard;Point Analysis control module 3 is BMC, is connect with register by I2C bus, realizes the monitoring point to disk read-write rate in operating system Analysis, while BMC passes through I2C bus marco rotation speed of the fan.
In regulation process, to avoid rotation speed of the fan is too low from leading to system radiating problem, once disk read-write rate percentage The minimum value of ratio is lower than given threshold, and BMC sends commands to ME by I2C Channel Synchronous, and ME makes CPU frequency reducing.
The above is the preferred embodiment of the present invention, for those skilled in the art, Without departing from the principles of the invention, several improvements and modifications can also be made, these improvements and modifications are also regarded as this hair Bright protection scope.

Claims (9)

1. a kind of fan regulation and controlling method for avoiding hard disk performance from decaying, characterized in that the following steps are included:
Obtain the threshold value of disk read-write rate percentage;
The current read-write rate of each hard disk is obtained, and calculates each hard disk current read-write rate percentage;
The minimum value of hard disk current read-write rate percentage is compared with the threshold value, and according to comparison result, regulates and controls wind Fan revolving speed.
2. a kind of fan regulation and controlling method for avoiding hard disk performance from decaying according to claim 1, characterized in that the method Further include:
The step is added before current fan speed-regulating strategy.
3. a kind of fan regulation and controlling method for avoiding hard disk performance from decaying according to claim 2, characterized in that the basis Comparison result regulates and controls the detailed process of rotation speed of the fan are as follows:
If the minimum value is greater than the threshold value, fan speed-regulating is carried out according to current fan speed-regulating strategy;
If the minimum value is less than or equal to the threshold value, rotation speed of the fan is reduced on the basis of current fan speed-regulating strategy.
4. a kind of fan regulation and controlling method for avoiding hard disk performance from decaying according to claim 3, characterized in that reducing wind When fanning revolving speed, while controlling CPU frequency reducing.
5. a kind of fan regulation and controlling method for avoiding hard disk performance from decaying according to claim 1 or 2, characterized in that described The current read-write rate of each hard disk is obtained, and calculates the detailed process of each hard disk current read-write rate percentage are as follows:
The current read-write rate of each hard disk is obtained using storage testing tool, and is stored to register;
Obtain the value of the current read-write rate and the corresponding maximum read and write rate of hard disk in register;
Utilize formula: disk read-write rate percentage=current read-write rate/hard disk maximum read and write rate * 100% calculates each hard The percentage of disk current read-write rate.
6. a kind of fan regulation and controlling method for avoiding hard disk performance from decaying according to claim 1, characterized in that the basis Comparison result regulates and controls the detailed process of rotation speed of the fan are as follows:
If the minimum value is greater than the threshold value, rotation speed of the fan is not regulated and controled;
If the minimum value is less than or equal to the threshold value, reduction rotation speed of the fan is controlled.
7. a kind of fan regulation and controlling method for avoiding hard disk performance from decaying according to claim 6, characterized in that reducing wind When fanning revolving speed, while controlling CPU frequency reducing.
8. a kind of fan regulation and controlling system for avoiding hard disk performance from decaying, characterized in that the system comprises
Data obtaining module, for obtaining the current read-write rate of each hard disk;
Memory module, for storing the current read-write rate of each hard disk;
Analysis and Control module calculates each hard disk current read-write rate percentage for the threshold value of disk read-write rate percentage to be arranged Than, and the minimum value of hard disk present rate percentage is compared with the threshold value, and according to comparison result, regulate and control fan and turn Speed.
9. a kind of fan regulation and controlling system for avoiding hard disk performance from decaying according to claim 8, characterized in that the information Obtaining module is storage testing tool;The memory module is the register being arranged on mainboard;The analysis and Control module is BMC is connect with the register.
CN201811597994.4A 2018-12-26 2018-12-26 A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying Withdrawn CN109766240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811597994.4A CN109766240A (en) 2018-12-26 2018-12-26 A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811597994.4A CN109766240A (en) 2018-12-26 2018-12-26 A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying

Publications (1)

Publication Number Publication Date
CN109766240A true CN109766240A (en) 2019-05-17

Family

ID=66450385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811597994.4A Withdrawn CN109766240A (en) 2018-12-26 2018-12-26 A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying

Country Status (1)

Country Link
CN (1) CN109766240A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414288A (en) * 2020-03-13 2020-07-14 苏州浪潮智能科技有限公司 Hard disk state detection method and system of server and related device
CN112326168A (en) * 2020-10-23 2021-02-05 苏州浪潮智能科技有限公司 Device and method for testing vibration performance of case fan module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414288A (en) * 2020-03-13 2020-07-14 苏州浪潮智能科技有限公司 Hard disk state detection method and system of server and related device
CN112326168A (en) * 2020-10-23 2021-02-05 苏州浪潮智能科技有限公司 Device and method for testing vibration performance of case fan module

Similar Documents

Publication Publication Date Title
US9182916B1 (en) Non-volatile storage subsystem with energy-based performance throttling
CN106201332B (en) Driver array policy control
DE102016010505A1 (en) Service level-based control of storage systems
CN107588030B (en) A kind of radiator fan speed regulating method, apparatus and system
DE102011089889A1 (en) A method of booting an information handling system and information handling system
US20110219274A1 (en) Memory system and method for preventing system hang
US20110320796A1 (en) Redundant power supply configuration for a data center
CN109882440A (en) A kind of fan rotation speed control apparatus and control method
CN109766240A (en) A kind of fan regulation and controlling method and system for avoiding hard disk performance from decaying
US20160371018A1 (en) Controller, data storage device, and data communication system having variable communication speed
IE20160189A1 (en) Enhanced power control of data storage arrays
US7984326B2 (en) Memory downsizing in a computer memory subsystem
CN108071607A (en) Laser projection device cooling control method and device
CN114756105B (en) Fan speed regulation method and device, electronic equipment and storage medium
JP2010507044A (en) Method and system for deriving wind speed in a stall controlled wind turbine
CN109059230A (en) A kind of air conditioner air deflector control method, device and air conditioner
WO2018188522A1 (en) Air conditioner heating operation control method
CN107451023B (en) It is a kind of based on the memory of uboot from adaptation method
CN106325464A (en) Method and equipment for adjusting rotation speed of fan
US20090132847A1 (en) Information processing apparatus having memory clock setting function and memory clock setting method
CN101673090A (en) Method for controlling equipment, equipment-controlling device and system
CN106133837B (en) System and method for adjusting trip point in storage device
CN113531855A (en) Air conditioner air speed control method and device, electronic equipment and storage medium
CN106776227B (en) A kind of method and system for realizing different type fan intelligent recognition
CN111427435A (en) Method, system, equipment and storage medium for controlling rotating speed of server fan

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20190517

WW01 Invention patent application withdrawn after publication