Hard Disk-Based Server Testing Method, Device, Medium, and Product

By simulating different vibration conditions in server testing and quantifying hard disk performance parameters, the problem of the inability to accurately quantify the impact of vibration in the prior art is solved, and a more efficient vibration-absorbing optimization design is achieved.

CN120086082BActive Publication Date: 2025-08-05INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510561390.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-08-05
Estimated Expiration
2045-04-30

AI Technical Summary

Technical Problem

Existing server testing methods cannot accurately quantify the impact of different types of vibrations on hard disk performance, resulting in the inability to targeted optimization of vibration damping designs, increasing vibration damping costs.

Method used

By setting multiple test conditions to simulate different types of vibration effects, including mechanical vibration, airflow vibration and noise vibration, obtain the performance parameters of the hard disk under different vibrations, use the vibration-absorbing members to absorb vibration and block the wind flow, and quantify the impact of various vibrations on the performance of the hard disk.

Benefits of technology

It improves the accuracy of server testing and the efficiency of vibration-absorbing design, and can more accurately determine the degree of impact of different types of vibration on hard disk performance, and guides the optimization of design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120086082B_ABST
    Figure CN120086082B_ABST
Patent Text Reader

Abstract

The present invention provides a hard disk-based server testing method, device, medium, and product, which can be applied to the field of server testing technology. The method includes: obtaining a first performance parameter of a hard disk under a first test condition, where the first test condition is that the hard disk is driven by the server under test and the fan speed of the server under test is a preset speed; obtaining a second performance parameter of the hard disk under a second test condition, where the hard disk is driven by the server under test with a first vibration-absorbing member placed between the hard disk under test and the fan and the fan speed is a preset speed; obtaining a third performance parameter of the hard disk under a third test condition, where the hard disk is driven by the server under test with a target vent blocked by the second vibration-absorbing member and the fan speed is a preset speed; and determining a test result based on the first performance parameter, the second performance parameter, and the third performance parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of server testing, and more particularly to a server testing method, device, equipment, medium and program product based on a hard disk. Background Art

[0002] As server performance continues to improve, heat dissipation also increases, requiring fans with higher speeds to dissipate heat and ensure normal server operation. However, the vibration generated by high-speed fans can affect server performance, such as the performance of the server's hard drives.

[0003] When testing servers, the impact of all vibrations generated by high-speed fans on hard drive performance is often measured. However, this testing method cannot quantify the specific impact of different types of vibration on hard drive performance, making it impossible to conduct targeted vibration reduction optimization for servers based on the test results. Summary of the Invention

[0004] In view of the above problems, the present invention provides a hard disk-based server testing method, apparatus, device, medium and program product.

[0005] According to a first aspect of the present invention, a server testing method based on a hard disk is provided, comprising: obtaining a first performance parameter of the hard disk to be tested under a first test condition, the first test condition being that the hard disk to be tested is driven to work by the server to be tested, and the rotational speed of a fan of the server to be tested is a preset rotational speed; obtaining a second performance parameter of the hard disk to be tested under a second test condition, the second test condition being that the hard disk to be tested is driven to work by the server to be tested with a first vibration absorbing member placed at a preset position between the hard disk to be tested and the fan, and the rotational speed of the fan is a preset rotational speed, and the first vibration absorbing member is used to absorb vibrations generated by the fan; obtaining a third performance parameter of the hard disk to be tested under a third test condition, the third test condition being that the hard disk to be tested is driven to work by the server to be tested with a target ventilation port blocked by the second vibration absorbing member, and the rotational speed of the fan is a preset rotational speed; and determining a test result of the impact of the server to be tested on the hard disk performance based on the first performance parameter, the second performance parameter, and the third performance parameter.

[0006] A second aspect of the present invention provides a server testing device based on a hard disk, comprising: a first acquisition module, used to obtain a first performance parameter of the hard disk to be tested under a first test condition, the first test condition being that the hard disk to be tested is driven to work by the server to be tested, and the rotational speed of the fan of the server to be tested is a preset rotational speed; a second acquisition module, used to obtain a second performance parameter of the hard disk to be tested under a second test condition, the second test condition being that the hard disk to be tested is driven to work by the server to be tested with a first vibration absorbing member placed at a preset position between the hard disk to be tested and the fan, and the rotational speed of the fan is a preset rotational speed, and the first vibration absorbing member is used to absorb vibrations generated by the fan; a third acquisition module, used to obtain a third performance parameter of the hard disk to be tested under a third test condition, the third test condition being that the hard disk to be tested is driven to work by the server to be tested with a target ventilation port blocked by the second vibration absorbing member, and the rotational speed of the fan is a preset rotational speed; a result determination module, used to determine a test result of the impact of the server to be tested on the hard disk performance based on the first performance parameter, the second performance parameter and the third performance parameter.

[0007] A third aspect of the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method.

[0008] A fourth aspect of the present invention further provides a computer-readable storage medium having stored thereon a computer program or instructions, which implement the steps of the method when the computer program or instructions are executed by a processor.

[0009] A fifth aspect of the present invention further provides a computer program product comprising a computer program or instructions, which implement the steps of the method when the computer program or instructions are executed by a processor.

[0010] According to an embodiment of the present invention, by setting a first test condition, a second test condition and a third test condition, the scenarios of the hard disk to be tested working under the influence of mechanical vibration, wind flow vibration and noise vibration, the hard disk to be tested working under the influence of mechanical vibration, and the hard disk to be tested working under the influence of mechanical vibration and noise vibration are simulated respectively, so as to obtain the performance parameters of the hard disk to be tested under the influence of different types of vibrations, and then quantify the degree of influence of different vibrations generated by the fan of the server to be tested on the performance of the hard disk according to the performance parameters, thereby improving the accuracy of testing the server to be tested, so as to facilitate vibration reduction optimization design of the server to be tested according to the test results, and improve the accuracy and efficiency of the vibration reduction design. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The above contents and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings.

[0012] Figure 1A diagram illustrating an application scenario of a hard disk-based server testing method, apparatus, device, medium, and program product according to an embodiment of the present invention is shown.

[0013] Figure 2 A flow chart of a hard disk-based server testing method according to an embodiment of the present invention is shown.

[0014] Figure 3 FIG. 4 is a schematic diagram showing a first test condition according to an embodiment of the present invention.

[0015] Figure 4 FIG. 4 is a schematic diagram showing a second test condition according to an embodiment of the present invention.

[0016] Figure 5 FIG. 4 is a schematic diagram showing a third test condition according to an embodiment of the present invention.

[0017] Figure 6A FIG. 4 is a schematic diagram showing a fifth test condition according to an embodiment of the present invention.

[0018] Figure 6B FIG. 4 is a schematic diagram showing a fifth test condition according to another embodiment of the present invention.

[0019] Figure 7 The flowchart of the hard disk-based testing method according to a specific embodiment of the present invention is shown.

[0020] Figure 8 The figure shows a structural block diagram of a server testing device based on a hard disk according to an embodiment of the present invention.

[0021] Figure 9 A block diagram of an electronic device suitable for implementing a hard disk-based server testing method according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0022] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concept of the present invention.

[0023] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise," "include," etc. used herein indicate the presence of features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0024] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0025] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0026] During server operation, high-speed fan rotation generates various vibrations, including mechanical vibration, noise vibration, and airflow vibration. These vibrations can have varying degrees of impact on the performance of hard drives, such as mechanical hard drives, and thus affect the overall stability of the server and the reliability of data storage. However, existing server testing methods cannot accurately quantify the impact of various vibration factors on hard drive performance, making it difficult to optimize the server chassis structure, leading to overdesign and increased vibration reduction costs.

[0027] An embodiment of the present invention provides a server testing method based on a hard disk, comprising: obtaining a first performance parameter of the hard disk to be tested under a first test condition, the first test condition being that the hard disk to be tested is driven to work by the server to be tested, and the rotational speed of the fan of the server to be tested is a preset rotational speed; obtaining a second performance parameter of the hard disk to be tested under a second test condition, the second test condition being that the hard disk to be tested is driven to work by the server to be tested with a first vibration absorbing member placed at a preset position between the hard disk to be tested and the fan, and the rotational speed of the fan is a preset rotational speed, and the first vibration absorbing member is used to absorb vibrations generated by the fan; obtaining a third performance parameter of the hard disk to be tested under a third test condition, the third test condition being that the hard disk to be tested is driven to work by the server to be tested with a target ventilation port blocked by the second vibration absorbing member, and the rotational speed of the fan is a preset rotational speed; and determining a test result of the impact of the server to be tested on the hard disk performance based on the first performance parameter, the second performance parameter and the third performance parameter.

[0028] Figure 1 A diagram illustrating an application scenario of a hard disk-based server testing method, apparatus, device, medium, and program product according to an embodiment of the present invention is shown.

[0029] like Figure 1 As shown, the application scenario according to this embodiment may include a server under test 110 and a test control server 120. The server under test 110 includes a hard disk under test 111 and a fan 112.

[0030] The server under test 110 may be a server that provides various services, such as a backend management server that supports websites browsed by users (this is merely an example). The backend management server may analyze and process received data such as user requests, and feed back the processing results (e.g., web pages, information, or data obtained or generated based on user requests) to the terminal device.

[0031] The test control server 120 may be a server for providing test services, for example, performing performance testing on the server to be tested 110 and determining a test result for the server to be tested 110 .

[0032] It should be noted that the hard disk-based server testing method provided in the embodiment of the present invention can generally be executed by the test control server 120. Accordingly, the hard disk-based server testing device provided in the embodiment of the present invention can generally be set in the test control server 120. The hard disk-based server testing method provided in the embodiment of the present invention can also be executed by a server or server cluster that is different from the test control server 120 and can communicate with the server to be tested 110 and / or the test control server 120. Accordingly, the hard disk-based server testing device provided in the embodiment of the present invention can also be set in a server or server cluster that is different from the test control server 120 and can communicate with the server to be tested 110 and / or the test control server 120.

[0033] It should be understood that Figure 1 The number of servers to be tested and test control servers in the example is only . According to the implementation requirements, there can be any number of servers to be tested and test control servers.

[0034] The following will be based on Figure 1 The scene described by Figures 2 to 7 The server testing method based on a hard disk according to an embodiment of the present invention is described in detail.

[0035] Figure 2 A flow chart of a hard disk-based server testing method according to an embodiment of the present invention is shown.

[0036] like Figure 2 As shown, the hard disk-based server testing method of this embodiment includes operations S210 to S240.

[0037] In operation S210 , a first performance parameter of a hard disk to be tested under a first test condition is obtained.

[0038] According to an embodiment of the present invention, the first test condition is that the server under test drives the hard disk under test and the fan speed of the server under test is a preset speed. For example, the hard disk under test can be a mechanical hard disk and the preset speed can be the maximum speed of the fan.

[0039] It is understandable that when the fan rotates, it will generate vibrations such as wind vibration, mechanical vibration, and noise vibration. The mechanical vibration will be transmitted to the hard disk through the server chassis, and the noise vibration and wind vibration will be transmitted to the hard disk through the air, thereby affecting the performance of the hard disk.

[0040] In an embodiment of the present invention, the first test condition can simulate a scenario in which the hard disk to be tested operates under the influence of wind vibration, mechanical vibration, noise vibration, etc. by controlling the fan speed to a preset speed.

[0041] Performance parameters can represent the read and write performance of the hard drive under test. Read and write performance can be measured in terms of read and write speed, such as the number of reads and writes per second (IOPS). For example, a read and write data request can be sent to the server under test. The server under test responds to the read and write data request and drives the hard drive under test to perform read and write operations. The read and write speed of the hard drive under test during these operations can then be determined as a performance parameter.

[0042] The first performance parameter may be the read / write speed of the hard disk under test under the first test condition. For example, during the test under the first test condition, a hard disk read / write speed query command may be sent to the server under test to obtain the first performance parameter.

[0043] In operation S220 , a second performance parameter of the hard disk to be tested under a second test condition is obtained.

[0044] According to an embodiment of the present invention, the second test condition is to use a server under test with a first vibration absorbing member placed at a preset position between the hard disk under test and the fan to drive the hard disk under test, and the fan speed is a preset speed. The first vibration absorbing member is used to absorb the vibration generated by the fan.

[0045] In some embodiments, the preset position may be a position close to the back plate of the hard disk to be tested, so that the first vibration absorbing member can absorb noise vibration and wind vibration.

[0046] In an embodiment of the present invention, the second test condition can simulate a scenario where the hard disk under test operates under the influence of mechanical vibration by placing a first vibration absorbing member at a preset position between the hard disk under test and the fan.

[0047] The second performance parameter may be the read / write speed of the hard disk under the second test condition. For example, during the test using the second test condition, a hard disk read / write speed query command may be sent to the server under test to obtain the second performance parameter.

[0048] In operation S230 , a third performance parameter of the hard disk to be tested under a third test condition is obtained.

[0049] According to an embodiment of the present invention, the third test condition is to use the server under test whose target ventilation opening is blocked by the second vibration absorbing member to drive the hard disk under test, and the fan speed is a preset speed.

[0050] In some embodiments, the target vent can be a vent located less than a preset distance threshold from the hard drive under test, such that when the target vent is blocked by the second vibration-absorbing member, airflow does not pass through the hard drive under test. For example, when the hard drive under test is placed near the front window of a computer chassis, the target vent can be the front window.

[0051] It should be noted that the server chassis may also include other vents. If the distance between these vents and the hard drive under test is large, the airflow entering through these vents will have less impact on the hard drive under test and does not need to be blocked. For example, these other vents may include vents on the chassis cover. Under the second and third test conditions, there is no need to block the vents on the chassis cover; airflow can enter through these vents.

[0052] In an embodiment of the present invention, the third test condition can simulate a scenario where the hard disk under test operates under the influence of noise vibration and mechanical vibration by using the second vibration absorbing member to block the target ventilation port of the server under test.

[0053] The third performance parameter may be the read / write speed of the hard disk under the third test condition. For example, during the test using the third test condition, a hard disk read / write speed query command may be sent to the server under test to obtain the third performance parameter.

[0054] In operation S240 , a test result of the impact of the server to be tested on the hard disk performance is determined based on the first performance parameter, the second performance parameter, and the third performance parameter.

[0055] Since the first test condition can simulate the scenario where the hard disk under test works under the influence of mechanical vibration, wind vibration and noise vibration, the second test condition can simulate the scenario where the hard disk under test works under the influence of mechanical vibration, and the third test condition can simulate the scenario where the hard disk under test works under the influence of mechanical vibration and noise vibration, the degree of influence of different types of vibration on the hard disk performance can be determined based on the first performance parameter, the second performance parameter and the third performance parameter.

[0056] The first, second, and third performance parameters can be subtracted to determine the impact of mechanical vibration, wind vibration, and noise vibration on the performance parameters, thereby determining the degree of impact of each on hard drive performance. For example, the third performance parameter can be subtracted from the second performance parameter to determine the impact of noise vibration on the performance parameter.

[0057] According to an embodiment of the present invention, by setting a first test condition, a second test condition and a third test condition, the scenarios of the hard disk to be tested working under the influence of mechanical vibration, wind flow vibration and noise vibration, the hard disk to be tested working under the influence of mechanical vibration, and the hard disk to be tested working under the influence of mechanical vibration and noise vibration are simulated respectively, so as to obtain the performance parameters of the hard disk to be tested under the influence of different types of vibrations, and then quantify the degree of influence of different vibrations generated by the fan of the server to be tested on the performance of the hard disk according to the performance parameters, thereby improving the accuracy of testing the server to be tested, so as to facilitate vibration reduction optimization design of the server to be tested according to the test results, and improve the accuracy and efficiency of the vibration reduction design.

[0058] Figure 3 FIG. 4 is a schematic diagram showing a first test condition according to an embodiment of the present invention.

[0059] like Figure 3 As shown, in the first test condition, the server 110 to be tested is in an original state.

[0060] During the test using the first test condition, the server 110 to be tested drives the hard disk to be tested, and the rotation speed of the fan of the server 110 to be tested is controlled to be the maximum rotation speed.

[0061] Figure 4 FIG. 4 is a schematic diagram showing a second test condition according to an embodiment of the present invention.

[0062] like Figure 4 As shown, Figure 4 A partial schematic diagram of server 110 under test under the second test condition is shown. In the second test condition, a first vibration-absorbing member 113 is placed between hard drive 111 under test and fan 112. This member absorbs the noise and wind vibrations generated by fan 112. For example, first vibration-absorbing member 113 can be 10 mm thick pearl cotton.

[0063] During the test using the second test condition, the server 110 drives the hard disk 111 to work with the first vibration absorbing member 113 placed between the hard disk 111 and the fan 112, and controls the fan 112 to rotate at the maximum speed.

[0064] Figure 5 FIG. 4 is a schematic diagram showing a third test condition according to an embodiment of the present invention.

[0065] like Figure 5 As shown, in the third test condition, the target vent is the front window of the chassis of the server under test 110, which is blocked by the second vibration absorbing member 114 so that the airflow does not pass through the hard disk under test. The second vibration absorbing member 114 can be, for example, 5mm thick pearl cotton.

[0066] During the test using the third test condition, the server 110 under test, whose chassis front window is shielded by the second vibration absorbing member 114 , drives the hard disk under test to work, and controls the fan speed to the maximum speed.

[0067] According to an embodiment of the present invention, based on the first performance parameter, the second performance parameter and the third performance parameter, the test result of the impact of the server under test on the hard disk performance is determined, including: obtaining the fourth performance parameter of the hard disk under the fourth test condition; based on the first performance parameter, the second performance parameter, the third performance parameter and the fourth performance parameter, the test result of the impact of the server under test on the hard disk performance is determined.

[0068] According to an embodiment of the present invention, the fourth test condition is that the server under test drives the hard disk under test and the fan speed is less than a preset threshold. For example, the preset threshold may be 30% of the maximum fan speed.

[0069] It is understandable that when the fan speed is low, the generated vibrations such as wind flow vibration, mechanical vibration, and noise vibration are small, and the impact on the hard disk performance is weak.

[0070] In an embodiment of the present invention, the third test condition can simulate a scenario where the hard disk to be tested operates without being affected by wind vibration, mechanical vibration, and noise vibration by controlling the fan speed to be less than a preset threshold.

[0071] The fourth performance parameter may be the read / write speed of the hard disk under the fourth test condition. For example, during the test using the fourth test condition, a hard disk read / write speed query command may be sent to the server under test to obtain the fourth performance parameter.

[0072] Since the fourth test condition can simulate the scenario where the hard disk under test works without being affected by vibration, the first performance parameter, the second performance parameter, the third performance parameter and the fourth performance parameter can be used to determine the degree of influence of mechanical vibration, wind vibration and noise vibration on the performance of the hard disk.

[0073] The first performance parameter, the second performance parameter, the third performance parameter and the fourth performance parameter can be subjected to operations such as difference to respectively determine the hard disk performance attenuation values caused by mechanical vibration, wind flow vibration and noise vibration, and then the quotient of each hard disk performance attenuation value and the fourth performance parameter can be further calculated to determine the degree of influence of mechanical vibration, wind flow vibration and noise vibration on the hard disk performance.

[0074] For example, the fourth performance parameter and the third performance parameter may be subtracted to determine the hard disk performance attenuation value caused by wind vibration, and then the hard disk performance attenuation value is divided by the fourth performance parameter to determine the degree of influence of wind vibration on hard disk performance.

[0075] According to an embodiment of the present invention, by setting the fourth test condition to simulate a scenario where the hard disk under test operates without being affected by vibration, the degree to which different types of vibration affect the performance of the hard disk under test can be determined more accurately.

[0076] According to an embodiment of the present invention, based on the first performance parameter, the second performance parameter, the third performance parameter and the fourth performance parameter, the test results of the impact of the server to be tested on the hard disk performance are determined, including: determining the difference between the fourth performance parameter and the second performance parameter as the first performance attenuation value; determining the difference between the second performance parameter and the third performance parameter as the second performance attenuation value; determining the difference between the third performance parameter and the first performance parameter as the third performance attenuation value; based on the first performance attenuation value, the second performance attenuation value and the third performance attenuation value, determining the test results of the degree of impact of mechanical vibration, noise vibration and wind flow vibration on the hard disk performance.

[0077] According to an embodiment of the present invention, the first performance degradation value represents the performance degradation of the hard disk under test under the influence of mechanical vibration generated by the fan.

[0078] Since the fourth test condition simulates the environment in which the hard disk under test works without being affected by vibration, and the second test condition simulates the environment in which the hard disk under test works under the influence of mechanical vibration, the difference between the fourth performance parameter and the second performance parameter can represent the performance degradation of the hard disk under the influence of mechanical vibration.

[0079] According to an embodiment of the present invention, the second performance degradation value represents the performance degradation of the hard disk under test under the influence of noise and vibration generated by the fan.

[0080] Since the second test condition simulates the environment in which the hard disk under test works under the influence of mechanical vibration, and the third test condition simulates the environment in which the hard disk under test works under the influence of mechanical vibration and noise vibration, the difference between the second performance parameter and the third performance parameter can represent the performance degradation of the hard disk under the influence of noise vibration.

[0081] According to an embodiment of the present invention, the third performance degradation value represents the performance degradation of the hard disk under test under the influence of wind flow vibration generated by the fan.

[0082] Since the third test condition simulates the environment in which the hard disk under test works under the influence of mechanical vibration and noise vibration, and the first test condition simulates the environment in which the hard disk under test works under the influence of mechanical vibration, noise vibration and wind vibration, the difference between the third performance parameter and the first performance parameter can characterize the performance degradation of the hard disk under the influence of wind vibration.

[0083] The degree of impact of mechanical vibration, noise vibration, and wind flow vibration on the performance of each hard disk can be determined based on the ratio of the first performance degradation value, the second performance degradation value, and the third performance degradation value. Alternatively, the first performance degradation value, the second performance degradation value, and the third performance degradation value can be divided by the fourth performance parameter to determine the degree of impact of mechanical vibration, noise vibration, and wind flow vibration on the performance of each hard disk.

[0084] According to an embodiment of the present invention, the performance attenuation value of the hard disk to be tested under the influence of different types of vibrations is determined based on the performance parameters, and then the degree of influence of mechanical vibration, noise vibration and wind flow vibration on the performance of the hard disk is determined based on the performance attenuation value of the hard disk to be tested, thereby improving the accuracy of the test results.

[0085] According to an embodiment of the present invention, based on the first performance attenuation value, the second performance attenuation value and the third performance attenuation value, the test results of the respective influences of mechanical vibration, noise vibration and wind flow vibration on the hard disk performance are determined, including: based on the ratio of the first performance attenuation value, the second performance attenuation value and the third performance attenuation value to the fourth performance parameter, determining the first proportion of the influence of mechanical vibration on the hard disk performance, the second proportion of the influence of noise vibration on the hard disk performance and the third proportion of the influence of wind flow vibration on the hard disk performance.

[0086] The first proportion may be a ratio of the first performance attenuation value to the fourth performance parameter, the second proportion may be a ratio of the second performance attenuation value to the fourth performance parameter, and the third proportion may be a ratio of the third performance attenuation value to the fourth performance parameter.

[0087] In some embodiments, the process of determining the first proportion may be as shown in the following formula (1):

[0088] Ratio1=(Base_data - Vibration_data) / Base_data (1);

[0089] Among them, Ratio1 is the first ratio, Base_data is the fourth performance parameter, and Vibration_data is the second performance parameter.

[0090] In some embodiments, the process of determining the second ratio may be as shown in the following formula (2):

[0091] Ratio2= (Vibration_data - Vibration_noise_data) / Base_data (2);

[0092] Among them, Ratio2 is the second ratio, and Vibration_noise_data is the third performance parameter.

[0093] In some embodiments, the process of determining the third ratio may be as shown in the following formula (3):

[0094] Ratio3= (Vibration_noise_data - All_vibration_data) / Base_data (3);

[0095] Among them, Ratio3 is the third ratio, and All_vibration_data is the first performance parameter.

[0096] The degree of impact of mechanical vibration, noise vibration, and wind vibration on hard drive performance can be determined based on the first, second, and third proportions. For example, the maximum value among the first, second, and third proportions can be determined, and the vibration type corresponding to the maximum value can be determined as the vibration type with the greatest impact on hard drive performance.

[0097] According to an embodiment of the present invention, the degree of influence of each vibration type on the hard disk performance is determined based on the ratio between the performance attenuation value and the fourth performance parameter, thereby improving the accuracy of testing the server to be tested.

[0098] According to an embodiment of the present invention, the hard disk-based server testing method also includes: obtaining a fifth performance parameter of the hard disk to be tested under a fifth test condition; based on the second performance parameter and the fifth performance parameter, determining the test results of the degree of influence of the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover on the hard disk performance.

[0099] According to an embodiment of the present invention, the server chassis includes a chassis cover and a chassis base. The mechanical vibrations transmitted by the chassis cover and the chassis base can be further decomposed to determine the impact of different chassis components on hard disk performance in a more fine-grained manner.

[0100] According to an embodiment of the present invention, the fifth test condition is to use the server under test with the first vibration absorbing member placed at a preset position and the chassis cover replaced with the third vibration absorbing member to drive the hard disk under test, and the fan speed is a preset speed.

[0101] In an embodiment of the present invention, the fifth test condition simulates a scenario in which the hard disk to be tested operates under the influence of mechanical vibration by placing a third vibration-absorbing member at a preset position between the hard disk to be tested and the fan, and by replacing the chassis cover with the third vibration-absorbing member, it can absorb the mechanical vibration transmitted to the hard disk to be tested through the chassis cover, thereby simulating a scenario in which the hard disk to be tested operates under the influence of mechanical vibration transmitted from the chassis base.

[0102] The fifth performance parameter may be the read / write speed of the hard disk under the fifth test condition. For example, during the test using the fifth test condition, a hard disk read / write speed query command may be sent to the server under test to obtain the fifth performance parameter.

[0103] Since the second test condition can simulate the scenario where the hard disk under test works under the influence of mechanical vibration, and the fifth test condition can simulate the scenario where the hard disk under test works under the influence of mechanical vibration transmitted from the chassis base, the degree of influence of mechanical vibration transmitted from different chassis components on the hard disk performance can be determined based on the second performance parameter and the fifth performance parameter.

[0104] The fifth performance parameter can be subtracted from the second performance parameter to determine the impact of the mechanical vibration transmitted by the chassis cover on the performance parameter, and then determine the degree of impact of the mechanical vibration transmitted by the chassis cover and the mechanical vibration transmitted by the chassis base on the hard disk performance.

[0105] According to an embodiment of the present invention, by setting the fifth test condition, a scenario in which the hard disk to be tested works under the influence of mechanical vibrations transmitted from the chassis base is simulated to obtain the performance parameters of the hard disk to be tested under the influence of mechanical vibrations transmitted from different chassis components, thereby quantifying the degree of influence of different chassis components on the performance of the hard disk in a finer granularity and improving the accuracy of testing the server to be tested.

[0106] Figure 6A FIG. 4 is a schematic diagram showing a fifth test condition according to an embodiment of the present invention. Figure 6B FIG. 4 is a schematic diagram showing a fifth test condition according to another embodiment of the present invention.

[0107] like Figure 6A As shown, Figure 6A A partial schematic diagram of server 110 under test under the fifth test condition is shown. In the fifth test condition, a first vibration-absorbing member 113 is placed between hard drive 111 under test and fan 112. This member absorbs the noise and wind vibrations generated by fan 112. For example, first vibration-absorbing member 113 can be 10 mm thick pearl cotton.

[0108] like Figure 6B As shown, in the fifth test condition, the chassis cover of the server 110 to be tested is replaced with the third vibration absorbing member 115. The third vibration absorbing member 115 can be 40mm thick pearl cotton and can also be provided with a 10mm wide air inlet channel to simulate the vent of the chassis cover.

[0109] During the test using the fifth test condition, the server 110 under test is equipped with a first vibration absorbing member 113 placed between the hard disk 111 under test and the fan 112, and the chassis cover is replaced with a third vibration absorbing member 115 to drive the hard disk 111 under test to work, and control the speed of the fan 112 to the maximum speed.

[0110] According to an embodiment of the present invention, based on the second performance parameter and the fifth performance parameter, the test results of the degree of influence of the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover on the performance of the hard disk are determined, including: determining the difference between the fourth performance parameter and the fifth performance parameter as the fourth performance attenuation value; determining the difference between the fifth performance parameter and the second performance parameter as the fifth performance attenuation value; based on the fourth performance attenuation value and the fifth performance attenuation value, determining the test results of the degree of influence of the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover on the performance of the hard disk.

[0111] According to an embodiment of the present invention, the fourth performance degradation value represents the performance degradation of the hard disk under test under the influence of mechanical vibration transmitted from the chassis base.

[0112] Since the fourth test condition simulates an environment in which the hard disk under test works without being affected by vibration, and the fifth test condition simulates an environment in which the hard disk under test works under the influence of mechanical vibration transmitted from the chassis base, the difference between the fourth performance parameter and the fifth performance parameter can represent the performance degradation of the hard disk under test under the influence of mechanical vibration transmitted from the chassis base.

[0113] According to an embodiment of the present invention, the fifth performance degradation value represents the performance degradation of the hard disk under test under the influence of mechanical vibration transmitted by the chassis cover.

[0114] Since the fifth test condition simulates the environment in which the hard disk under test works under the influence of mechanical vibration transmitted from the chassis base, and the second test condition simulates the environment in which the hard disk under test works under the influence of mechanical vibration, the difference between the fifth performance parameter and the second performance parameter can represent the performance degradation of the hard disk under test under the influence of mechanical vibration transmitted from the chassis cover.

[0115] Based on the ratio between the fourth performance attenuation value and the fifth performance attenuation value, the extent to which the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover respectively affect the hard disk performance can be determined.

[0116] According to an embodiment of the present invention, the performance attenuation value of the hard disk to be tested under the influence of mechanical vibrations transmitted by different chassis components is determined based on performance parameters, and then the degree of influence of the mechanical vibration transmitted by the chassis cover and the chassis vibration transmitted by the chassis base on the hard disk performance is determined based on the performance attenuation value of the hard disk to be tested, thereby improving the accuracy of the test results.

[0117] According to an embodiment of the present invention, based on the fourth performance attenuation value and the fifth performance attenuation value, the test results of the degree of influence of the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover on the hard disk performance are determined, including: based on the ratio of the fourth performance attenuation value and the fifth performance attenuation value to the fourth performance parameter, determining the fourth proportion of the influence of the mechanical vibration transmitted by the chassis base on the hard disk performance and the fifth proportion of the influence of the mechanical vibration transmitted by the chassis cover on the hard disk performance.

[0118] The fourth ratio may be a ratio of the fourth performance degradation value to the fourth performance parameter, and the fifth ratio may be a ratio of the fifth performance degradation value to the fifth performance parameter.

[0119] In some embodiments, the process of determining the fourth ratio may be as shown in the following formula (4):

[0120] Ratio4=(Base_data—Vibration_chassis_data) / Base_data (4);

[0121] Among them, Ratio4 is the fourth ratio, and Vibration_chassis_data is the fifth performance parameter.

[0122] In some embodiments, the process of determining the fifth proportion may be as shown in the following formula (5):

[0123] Ratio5=(Vibration_chassis_data—Vibration_data) / Base_data (5);

[0124] Among them, Ratio5 is the fifth proportion.

[0125] The fourth and fifth percentages can be used to determine the extent to which mechanical vibrations transmitted from the chassis cover and the chassis base each impact hard drive performance. For example, the maximum of the fourth and fifth percentages can be determined, and the chassis component corresponding to the maximum value can be identified as the component with the greatest impact on hard drive performance.

[0126] According to an embodiment of the present invention, the influence of mechanical vibration transmitted by different chassis components on hard disk performance is determined based on the ratio between the performance attenuation value and the fourth performance parameter, thereby improving the accuracy of testing the server to be tested.

[0127] According to embodiments of the present invention, the load on the hard drive under test can be adjusted to obtain performance parameters of the hard drive under different load conditions under the same test conditions. Based on the performance parameters under different load conditions, the attenuation values of the hard drive performance under different load conditions can be determined. Furthermore, based on the attenuation values, the degree of impact of the same test conditions on the performance of the hard drive under different load conditions can be determined. For example, the amount of data that can be read or written by the hard drive under test in a single read or write operation can be adjusted.

[0128] Furthermore, for each load condition, a first proportion, a second proportion, and a third proportion corresponding to the load condition can be determined, and a weighted average is calculated based on the first proportion, the second proportion, and the third proportion corresponding to different load conditions to determine a target first proportion, a target second proportion, and a target third proportion considering different load conditions. The weights can be determined based on the actual operating conditions of the server.

[0129] According to an embodiment of the present invention, by adjusting the load of the hard disk to be tested, the degree of impact of the same test conditions on the performance of hard disks under different load conditions can be determined, making the test results more comprehensive and avoiding inaccurate test results caused by specific load conditions.

[0130] According to an embodiment of the present invention, the hard disk-based server testing method also includes: determining a target performance influencing factor from multiple performance influencing factors including mechanical vibration, noise vibration, and wind flow vibration based on the first proportion, the second proportion, and the third proportion; and generating optimization suggestions for the server to be tested based on the target performance influencing factor.

[0131] Performance influencing factors may include mechanical vibration, noise vibration, and wind vibration. The target performance influencing factor may be the performance influencing factor corresponding to the maximum of the first, second, and third percentages. For example, if the first percentage is 30%, the second percentage is 20%, and the third percentage is 10%, mechanical vibration may be determined as the target performance influencing factor.

[0132] The target performance influencing factors and the construction parameters of the server to be tested can be input into the big model so that the big model can generate optimization suggestions for the service to be tested. The optimization suggestions corresponding to the target performance influencing factors can also be determined as optimization suggestions for the server to be tested based on the pre-stored mapping relationship.

[0133] In some embodiments, the priorities of multiple performance influencing factors can be determined based on the first proportion, the second proportion, and the third proportion, and multiple target performance influencing factors can be determined based on the priorities of the multiple performance influencing factors, and then optimization suggestions can be generated based on the target performance influencing factors.

[0134] In other embodiments, the target performance influencing factor may be determined from multiple performance influencing factors based on the first proportion, the second proportion, and the third proportion, combined with the first performance degradation value, the second performance degradation value, and the third performance degradation value.

[0135] According to an embodiment of the present invention, optimization suggestions for the server to be tested are generated based on the first proportion, the second proportion, and the third proportion, so that the optimization suggestions are more targeted, thereby improving the targetedness of the vibration reduction design.

[0136] According to an embodiment of the present invention, based on the target performance influencing factors, optimization suggestions for the server to be tested are generated, including: based on the target performance influencing factors, using the first mapping relationship between the performance influencing factors and the optimization measures, determining the target optimization measures corresponding to the target performance influencing factors; based on the target optimization measures and the preset optimization suggestion template, determining the optimization suggestions.

[0137] A first mapping relationship between performance-influencing factors and optimization measures can be pre-stored. For example, an optimization measure for mechanical vibration might include adding vibration-damping rubber or foam around the fan and hard drive modules. An optimization measure for noise vibration might include attaching sound-absorbing foam to the chassis wall between the fan and hard drive. An optimization measure for wind flow vibration might include adding a honeycomb mesh or blinds between the fan and hard drive to optimize the wind flow field structure. Parameters such as the thickness of the vibration-damping rubber, foam, and sound-absorbing foam can also be determined based on the performance attenuation value.

[0138] The preset suggestion template can include multiple parameters to be filled in, such as optimization measures for the server under test. The target optimization measures can be written into the preset suggestion optimization template to generate optimization suggestions. Furthermore, data such as the first performance degradation value, the second performance degradation value, the third performance degradation value, the first percentage, the second percentage, and the third percentage can also be written into the preset suggestion optimization template.

[0139] According to an embodiment of the present invention, by determining target optimization measures corresponding to target performance influencing factors and directly determining optimization suggestions based on the target optimization measures and a preset optimization suggestion template, the efficiency and accuracy of the vibration reduction design process are improved.

[0140] According to an embodiment of the present invention, the hard disk-based server testing method also includes: when the target performance influencing factor is mechanical vibration, based on the fourth proportion and the fifth proportion, determining the target performance influencing sub-factor from multiple performance influencing sub-factors including the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover; based on the target performance influencing sub-factor, generating optimization suggestions for the server to be tested.

[0141] When the target performance influencing factor is mechanical vibration, the target influencing sub-factors may be determined based on the fourth and fifth proportions to improve the pertinence of the optimization suggestions.

[0142] Performance influencing sub-factors include mechanical vibration transmitted from the chassis base and mechanical vibration transmitted from the chassis cover. The target influencing factor can be the performance influencing sub-factor corresponding to the maximum of the fourth and fifth percentages. For example, if the fourth percentage is 20% and the fifth percentage is 10%, mechanical vibration transmitted from the chassis base can be determined as the target influencing sub-factor.

[0143] In some embodiments, the target performance influencing sub-factor may be determined from a plurality of performance influencing sub-factors based on the fourth proportion and the fifth proportion in combination with the fourth performance degradation value and the fifth performance degradation value.

[0144] According to an embodiment of the present invention, when the target performance influencing factor is mechanical vibration, optimization suggestions for the server to be tested are generated based on the fourth and fifth proportions, and optimization suggestions for specific chassis components can be generated, thereby improving the pertinence of the optimization suggestions.

[0145] According to an embodiment of the present invention, based on the target performance influencing sub-factors, an optimization suggestion for the server to be tested is generated, including: based on the target performance influencing sub-factors, utilizing a second mapping relationship between the performance influencing sub-factors and the vibration absorbing component addition position to determine a target vibration absorbing component addition position corresponding to the target performance influencing sub-factors; and generating the optimization suggestion based on the target vibration absorbing component addition position.

[0146] A second mapping relationship between the performance influencing sub-factors and the position where the vibration-absorbing component is added can be pre-stored. For example, the position where the vibration-absorbing component is added corresponding to the mechanical vibration transmitted from the chassis base can be the part where the chassis base contacts the hard disk, and the position where the vibration-absorbing component is added corresponding to the mechanical vibration transmitted from the chassis cover can be the part where the chassis cover contacts the hard disk.

[0147] In other embodiments, parameters such as the thickness of the added vibration absorbing component may also be determined based on the performance attenuation value.

[0148] The target vibration absorbing component adding position and the thickness of the vibration absorbing component can be written into a preset suggestion optimization template to obtain an optimization suggestion.

[0149] According to an embodiment of the present invention, a target vibration absorbing component adding position is determined based on target performance influencing sub-factors, and further optimization suggestions are generated based on the target vibration absorbing component adding position, thereby improving the pertinence of the optimization suggestions.

[0150] According to an embodiment of the present invention, the hard disk-based server testing method further includes: sending a write data request to the server under test, so that the server under test drives the hard disk under test to perform a write data operation in response to the write data request.

[0151] According to an embodiment of the present invention, the first performance parameter includes a first write speed, the second performance parameter includes a second write speed, the third performance parameter includes a third write speed, the fourth performance parameter includes a fourth write speed, and the fifth performance parameter includes a fifth write speed.

[0152] In one embodiment, a preset load test script can be run to send a write request to the server under test, thereby driving the hard drive under test to perform a write operation. For example, a 256k script can be run for 1 minute to drive the hard drive under test to perform a random write operation to obtain the hard drive's write speed.

[0153] According to the embodiment of the present invention, by sending a write data request to the server under test to drive the hard disk under test to perform a write operation, the actual working state of the hard disk under test can be simulated, thereby improving the accuracy of the test result.

[0154] Figure 7 The flowchart of the hard disk-based testing method according to a specific embodiment of the present invention is shown.

[0155] like Figure 7 As shown, the hard disk-based testing method includes operations S701 to S706.

[0156] In operation S701 , after controlling the fan speed to be less than a preset threshold to meet a fourth test condition, a preset script is run to obtain a fourth performance parameter of the hard disk to be tested under the fourth test condition.

[0157] In operation S702 , after the fan speed is adjusted to a preset speed to meet a first test condition, a preset script is run to obtain a first performance parameter of the hard disk to be tested under the first test condition.

[0158] In operation S703 , after placing a first vibration absorbing member between the fan and the hard disk to be tested to meet a second test condition, a preset script is run to obtain a second performance parameter of the hard disk to be tested under the second test condition.

[0159] In operation S704 , after the chassis cover of the server to be tested is replaced with the third vibration absorbing member to meet the fifth test condition, a preset script is run to obtain a fifth performance parameter of the hard disk to be tested under the fifth test condition.

[0160] In operation S705, after removing the first vibration absorbing member placed between the fan and the hard disk to be tested, restoring the third vibration absorbing member used to replace the chassis cover to the chassis cover, and using the second vibration absorbing member to block the target vent to meet the third test condition, run the preset script to obtain the third performance parameter of the hard disk to be tested under the third test condition.

[0161] In operation S706 , a test result of the impact of the server to be tested on the hard disk performance is determined based on the first performance parameter, the second performance parameter, the third performance parameter, the fourth performance parameter, and the fifth performance parameter.

[0162] Based on the above-mentioned hard disk-based server testing method, the present invention also provides a hard disk-based server testing device. Figure 8 The device is described in detail.

[0163] Figure 8 The figure shows a structural block diagram of a server testing device based on a hard disk according to an embodiment of the present invention.

[0164] like Figure 8 As shown, the hard disk-based server testing device 800 of this embodiment includes a first acquisition module 810 , a second acquisition module 820 , a third acquisition module 830 and a result determination module 840 .

[0165] The first acquisition module 810 is configured to acquire a first performance parameter of the hard disk under test under a first test condition, where the first test condition is that the hard disk is driven by the server under test and the fan of the server under test rotates at a predetermined speed. In one embodiment, the first acquisition module 810 can be configured to execute operation S210 described above and will not be further described here.

[0166] The second acquisition module 820 is configured to acquire a second performance parameter of the hard drive under test under a second test condition. The second test condition involves the hard drive being driven by the server under test, with a first vibration-absorbing member positioned at a predetermined position between the hard drive and a fan, and the fan rotating at a predetermined speed. The first vibration-absorbing member is configured to absorb vibrations generated by the fan. In one embodiment, the second acquisition module 820 may be configured to execute operation S220 described above, and will not be further described here.

[0167] The third acquisition module 830 is configured to acquire a third performance parameter of the hard drive under test under a third test condition. The third test condition is that the hard drive is driven by the server under test, with the target ventilation opening blocked by the second vibration-absorbing member, and the fan speed is a preset speed. In one embodiment, the third acquisition module 830 can be configured to execute operation S230 described above and will not be further described here.

[0168] The result determination module 840 is used to determine the test result of the impact of the server under test on the hard disk performance based on the first performance parameter, the second performance parameter, and the third performance parameter. In one embodiment, the result determination module 840 can be used to perform the operation S240 described above.

[0169] According to an embodiment of the present invention, result determination module 840 includes a first acquisition submodule and a result determination submodule. The first acquisition submodule is configured to obtain a fourth performance parameter of the hard disk under a fourth test condition, where the fourth test condition is that the hard disk is driven by the server under test and the fan speed is less than a preset threshold. The result determination submodule is configured to determine a test result of the impact of the server under test on the hard disk performance based on the first performance parameter, the second performance parameter, the third performance parameter, and the fourth performance parameter.

[0170] According to an embodiment of the present invention, the result determination submodule includes a first attenuation determination unit, a second attenuation determination unit, a third attenuation determination unit, and a result determination unit. The first attenuation determination unit is configured to determine the difference between the fourth performance parameter and the second performance parameter as a first performance attenuation value, where the first performance attenuation value represents the performance attenuation of the hard disk under test under the influence of mechanical vibration generated by the fan. The second attenuation determination unit is configured to determine the difference between the second performance parameter and the third performance parameter as a second performance attenuation value, where the second performance attenuation value represents the performance attenuation of the hard disk under test under the influence of noise vibration generated by the fan. The third attenuation determination unit is configured to determine the difference between the third performance parameter and the first performance parameter as a third performance attenuation value, where the third performance attenuation value represents the performance attenuation of the hard disk under test under the influence of airflow vibration generated by the fan. The result determination unit is configured to determine the test results of the degree of impact of mechanical vibration, noise vibration, and airflow vibration on hard disk performance based on the first performance attenuation value, the second performance attenuation value, and the third performance attenuation value.

[0171] According to an embodiment of the present invention, the result determination unit includes a result determination subunit. The result determination subunit is configured to determine a first proportion of the impact of mechanical vibration on hard disk performance, a second proportion of the impact of noise vibration on hard disk performance, and a third proportion of the impact of wind flow vibration on hard disk performance based on a ratio of each of the first performance degradation value, the second performance degradation value, and the third performance degradation value to a fourth performance parameter.

[0172] According to an embodiment of the present invention, the server chassis includes a chassis cover and a chassis base, and the hard drive-based server testing device 800 further includes a fourth acquisition module and a sub-result determination module. The fourth acquisition module is configured to obtain a fifth performance parameter of the hard drive under a fifth test condition, wherein the fifth test condition is a server under test with a first vibration-absorbing member placed at a preset position and the chassis cover replaced with a third vibration-absorbing member, driving the hard drive at a preset fan speed. The sub-result determination module is configured to determine, based on the second performance parameter and the fifth performance parameter, a test result of the degree of impact of mechanical vibration transmitted from the chassis base and mechanical vibration transmitted from the chassis cover on the hard drive performance.

[0173] According to an embodiment of the present invention, the sub-result determination module includes a first attenuation determination sub-module, a second attenuation determination sub-module, and a sub-result determination sub-module. The first attenuation determination sub-module is used to determine that the difference between the fourth performance parameter and the fifth performance parameter is a fourth performance attenuation value, and the fourth performance attenuation value represents the performance attenuation of the hard disk under the influence of the mechanical vibration transmitted from the chassis base. The second attenuation determination sub-module is used to determine that the difference between the fifth performance parameter and the second performance parameter is a fifth performance attenuation value, and the fifth performance attenuation value represents the performance attenuation of the hard disk under the influence of the mechanical vibration transmitted from the chassis cover. The sub-result determination sub-module is used to determine the test results of the degree of influence of the mechanical vibration transmitted from the chassis base and the mechanical vibration transmitted from the chassis cover on the hard disk performance based on the fourth performance attenuation value and the fifth performance attenuation value.

[0174] According to an embodiment of the present invention, the sub-result determination submodule includes a sub-result determination unit. The sub-result determination unit is configured to determine, based on a ratio of each of the fourth performance degradation value and the fifth performance degradation value to the fourth performance parameter, a fourth proportion of the impact of the mechanical vibration conducted by the chassis base on the hard disk performance and a fifth proportion of the impact of the mechanical vibration conducted by the chassis cover on the hard disk performance.

[0175] According to an embodiment of the present invention, the hard drive-based server testing device 800 further includes a target determination module and a suggestion generation module. The target determination module is configured to determine a target performance influencing factor from among multiple performance influencing factors, including mechanical vibration, noise vibration, and wind vibration, based on the first, second, and third percentages. The suggestion generation module is configured to generate optimization suggestions for the server under test based on the target performance influencing factor.

[0176] According to an embodiment of the present invention, the suggestion generation module includes a measure determination submodule and a suggestion generation submodule. The measure determination submodule is configured to determine, based on the target performance influencing factors and utilizing a first mapping relationship between the performance influencing factors and the optimization measures, a target optimization measure corresponding to the target performance influencing factors. The suggestion generation submodule is configured to determine an optimization suggestion based on the target optimization measure and a preset optimization suggestion template.

[0177] According to an embodiment of the present invention, the hard disk-based server testing device 800 further includes a sub-goal determination module and a sub-suggestion generation module. The sub-goal determination module is configured to, when the target performance influencing factor is mechanical vibration, determine the target performance influencing sub-factor from a plurality of performance influencing sub-factors, including mechanical vibration transmitted from the chassis base and mechanical vibration transmitted from the chassis cover, based on the fourth and fifth percentages. The sub-suggestion generation module is configured to generate optimization suggestions for the server under test based on the target performance influencing sub-factor.

[0178] According to an embodiment of the present invention, the sub-suggestion generation module includes a position determination sub-module and a sub-suggestion generation sub-module. The position determination sub-module is configured to determine, based on the target performance influencing sub-factor and utilizing a second mapping relationship between the performance influencing sub-factor and the vibration absorbing member addition position, a target vibration absorbing member addition position corresponding to the target performance influencing sub-factor. The sub-suggestion generation sub-module is configured to generate an optimization suggestion based on the target vibration absorbing member addition position.

[0179] According to an embodiment of the present invention, the first performance parameter includes a first write speed, the second performance parameter includes a second write speed, the third performance parameter includes a third write speed, the fourth performance parameter includes a fourth write speed, and the fifth performance parameter includes a fifth write speed. The hard disk-based server testing apparatus 800 further includes a request sending module. The request sending module is configured to send a write data request to the server under test, so that the server under test drives the hard disk under test to perform a write data operation in response to the write data request.

[0180] According to embodiments of the present invention, any multiple of the first acquisition module 810, the second acquisition module 820, the third acquisition module 830, and the result determination module 840 may be combined into a single module, or any one of these modules may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of other modules and implemented in a single module. According to embodiments of the present invention, at least one of the first acquisition module 810, the second acquisition module 820, the third acquisition module 830, and the result determination module 840 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or may be implemented in hardware or firmware through any other reasonable means of circuit integration or packaging, or implemented in any one of software, hardware, and firmware, or any appropriate combination of these. Alternatively, at least one of the first acquisition module 810 , the second acquisition module 820 , the third acquisition module 830 and the result determination module 840 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.

[0181] Figure 9 A block diagram of an electronic device suitable for implementing a hard disk-based server testing method according to an embodiment of the present invention is shown.

[0182] like Figure 9 As shown, an electronic device 900 according to an embodiment of the present invention includes a processor 901, which can perform various appropriate actions and processes based on programs stored in a read-only memory (ROM) 902 or programs loaded from a storage unit 908 into a random access memory (RAM) 903. The processor 901 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or related chipsets and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 901 may also include onboard memory for caching purposes. The processor 901 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.

[0183] The RAM 903 stores various programs and data required for the operation of the electronic device 900. The processor 901, ROM 902, and RAM 903 are connected to each other via a bus 904. The processor 901 executes the programs in the ROM 902 and / or RAM 903 to perform various operations according to the method flow of the embodiment of the present invention. It should be noted that the programs may also be stored in one or more memories other than the ROM 902 and RAM 903. The processor 901 may also execute the programs stored in one or more memories to perform various operations according to the method flow of the embodiment of the present invention.

[0184] According to an embodiment of the present invention, electronic device 900 may further include an input / output (I / O) interface 905, which is also connected to bus 904. Electronic device 900 may also include one or more of the following components connected to I / O interface 905: an input section 906 including a keyboard, mouse, etc.; an output section 907 including devices such as a cathode ray tube (CRT), liquid crystal display (LCD), and speakers; a storage section 908 including a hard disk; and a communication section 909 including a network interface card such as a LAN card or modem. Communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to I / O interface 905 as needed. Removable media 911, such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed in drive 910 as needed, so that computer programs read from the removable media can be installed into storage section 908 as needed.

[0185] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments, or may exist independently and not incorporated into the device / apparatus / system. The computer-readable storage medium carries one or more programs, which, when executed, implement the method according to the embodiments of the present invention.

[0186] According to an embodiment of the present invention, a computer-readable storage medium may be a non-volatile computer-readable storage medium, and may include, for example, but not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present invention, a computer-readable storage medium may include the ROM 902 and / or RAM 903 described above, and / or one or more memories other than ROM 902 and RAM 903.

[0187] An embodiment of the present invention further includes a computer program product comprising a computer program containing program code for executing the method shown in the flowchart. When the computer program product is executed in a computer system, the program code is used to cause the computer system to implement the hard disk-based server testing method provided by an embodiment of the present invention.

[0188] The computer program executes the above functions defined in the system / device of the embodiment of the present invention when the computer program is executed by the processor 901. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0189] In one embodiment, the computer program may be stored on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may be transmitted and distributed in the form of a signal on a network medium, downloaded and installed via the communication portion 909, and / or installed from a removable medium 911. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0190] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 909 and / or installed from a removable medium 911. When the computer program is executed by the processor 901, the above-described functions defined in the system of the embodiment of the present invention are performed. According to the embodiment of the present invention, the systems, devices, means, modules, units, etc. described above can be implemented by computer program modules.

[0191] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computer programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C" or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect via the Internet).

[0192] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0193] It will be understood by those skilled in the art that the features described in the various embodiments of the present invention may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in the present invention. In particular, the features described in the various embodiments of the present invention may be combined and / or coupled in various ways without departing from the spirit and teachings of the present invention. All such combinations and / or couplings fall within the scope of the present invention.

[0194] The above describes embodiments of the present invention. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present invention. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. A server testing method based on a hard disk, characterized in that: The method comprises: Obtaining a first performance parameter of the hard disk under a first test condition, wherein the first test condition is that the hard disk under test is driven by the server under test and the speed of a fan of the server under test is a preset speed; obtaining a second performance parameter of the hard disk under test under a second test condition, wherein the hard disk under test is driven by the server under test with a first vibration absorbing member placed at a preset position between the hard disk under test and the fan, and the fan rotates at a preset speed, the first vibration absorbing member being configured to absorb vibration generated by the fan; Obtaining a third performance parameter of the hard disk under a third test condition, wherein the hard disk is driven by the server under test with the target vent blocked by the second vibration absorbing member, and the fan has a predetermined speed; Obtaining a fourth performance parameter of the hard disk under a fourth test condition, wherein the fourth test condition is that the hard disk under test is driven by the server under test and a rotation speed of the fan is less than a preset threshold; Determining a difference between the fourth performance parameter and the second performance parameter as a first performance attenuation value, where the first performance attenuation value represents performance attenuation of the hard disk under test under the influence of mechanical vibration generated by the fan; determining a difference between the second performance parameter and the third performance parameter as a second performance attenuation value, where the second performance attenuation value represents performance attenuation of the hard disk under test under the influence of noise and vibration generated by the fan; determining a difference between the third performance parameter and the first performance parameter as a third performance attenuation value, wherein the third performance attenuation value represents performance attenuation of the hard disk under test under the influence of airflow vibration generated by the fan; Based on the first performance attenuation value, the second performance attenuation value, and the third performance attenuation value, test results of the respective impacts of the mechanical vibration, the noise vibration, and the wind flow vibration on the hard disk performance are determined.

2. The method according to claim 1, characterized in that The determining, based on the first performance attenuation value, the second performance attenuation value, and the third performance attenuation value, a test result of the degree of influence of the mechanical vibration, the noise vibration, and the wind flow vibration on the hard disk performance includes: Based on the ratios of the first performance attenuation value, the second performance attenuation value and the third performance attenuation value to the fourth performance parameter, the first proportion of the impact of the mechanical vibration on the hard disk performance, the second proportion of the impact of the noise vibration on the hard disk performance and the third proportion of the impact of the wind flow vibration on the hard disk performance are determined.

3. The method according to claim 1, characterized in that The server chassis includes a chassis cover and a chassis base, and the method further includes: obtaining a fifth performance parameter of the hard disk under test under a fifth test condition, wherein the hard disk under test is driven by the server under test with the first vibration absorbing member placed at the preset position and the chassis cover replaced with the third vibration absorbing member, and the fan rotates at the preset speed; Based on the second performance parameter and the fifth performance parameter, test results of the degree of influence of the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover on the hard disk performance are determined.

4. The method according to claim 3, characterized in that The test result of determining the degree of influence of the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover on the hard disk performance based on the second performance parameter and the fifth performance parameter includes: Determine a difference between the fourth performance parameter and the fifth performance parameter as a fourth performance attenuation value, where the fourth performance attenuation value represents performance attenuation of the hard disk under test under the influence of mechanical vibration transmitted from the chassis base; Determine a difference between the fifth performance parameter and the second performance parameter as a fifth performance attenuation value, where the fifth performance attenuation value represents performance attenuation of the hard disk under test under the influence of mechanical vibration conducted by the chassis cover; Based on the fourth performance attenuation value and the fifth performance attenuation value, test results of the degree of influence of the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover on the hard disk performance are determined.

5. The method according to claim 4, characterized in that The determining, based on the fourth performance attenuation value and the fifth performance attenuation value, a test result of the degree of influence of the mechanical vibration transmitted by the chassis base and the mechanical vibration transmitted by the chassis cover on the hard disk performance, includes: Based on the ratio of the fourth performance attenuation value and the fifth performance attenuation value to the fourth performance parameter, the fourth proportion of the impact of the mechanical vibration transmitted by the chassis base on the hard disk performance and the fifth proportion of the impact of the mechanical vibration transmitted by the chassis cover on the hard disk performance are determined.

6. The method according to claim 2, characterized in that The method further comprises: determining a target performance influencing factor from a plurality of performance influencing factors including the mechanical vibration, the noise vibration, and the wind flow vibration based on the first proportion, the second proportion, and the third proportion; Based on the target performance influencing factors, generate optimization suggestions for the server to be tested.

7. The method according to claim 6, characterized in that Generating optimization suggestions for the server to be tested based on the target performance influencing factors includes: Based on the target performance influencing factor, determining a target optimization measure corresponding to the target performance influencing factor by utilizing a first mapping relationship between the performance influencing factor and the optimization measure; The optimization suggestion is determined based on the target optimization measure and a preset optimization suggestion template.

8. The method according to claim 6, characterized in that The method further comprises: When the target performance influencing factor is the mechanical vibration, determining the target performance influencing sub-factor from a plurality of performance influencing sub-factors including the mechanical vibration conducted by the chassis base and the mechanical vibration conducted by the chassis cover based on the fourth proportion and the fifth proportion; Based on the target performance influencing sub-factors, an optimization suggestion for the server to be tested is generated.

9. The method according to claim 8, characterized in that Generating an optimization suggestion for the server to be tested based on the target performance influencing sub-factors includes: Based on the target performance influencing sub-factor, determining a target vibration absorbing member adding position corresponding to the target performance influencing sub-factor using a second mapping relationship between the performance influencing sub-factor and the vibration absorbing member adding position; The optimization suggestion is generated based on the target vibration absorbing member adding position.

10. The method according to any one of claims 1 to 5, characterized in that The first performance parameter includes a first write speed, the second performance parameter includes a second write speed, the third performance parameter includes a third write speed, the fourth performance parameter includes a fourth write speed, and the fifth performance parameter includes a fifth write speed. The method further includes: A write data request is sent to the server under test, so that the server under test drives the hard disk under test to perform a write data operation in response to the write data request.

11. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 10.

12. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

13. A computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Server replacement device for fan rotation vibration test

    CN114281171A

  • Hard disk performance testing method and device and computer readable storage medium

    CN117234821A