Server stress testing method, device and apparatus and storage medium

A stress test and server technology, applied in the server field, can solve the problems of inaccurate stress test values, time-consuming and labor-intensive, and low test efficiency, achieving the effect of strong practicability, ensuring development cycle, and high degree of automation

Inactive Publication Date: 2018-11-30
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the past, during the server CPU pressure test, it was necessary to manually check the log, and then execute the test tool. After the test was completed, the test log was manually checked. It is very cumbersome to use, which not only reduces the test efficiency, but also consumes a lot of time. and manpower, increasing business costs
In addition, errors will inevitably occur in the artificial inspection process, resulting in inaccurate CPU stress test values.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Server stress testing method, device and apparatus and storage medium
  • Server stress testing method, device and apparatus and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Please refer to figure 1 , the present embodiment provides a kind of server pressure test method, after preparing test environment (after installing Linux system, download test program, automatic test program is added in the Linux system start-up file / etc / rc.local), execute test, The specific steps of the test method are as follows:

[0037] S1. Configure test variables through command parameters, and store the command parameters in a configuration file.

[0038] S2. Perform a stress test on the server according to the configuration file to obtain performance data of the server.

[0039] S3. Write the performance data measured in S2 into a log file.

[0040] S4. Read the number of times the stress test in S3 has been executed from the log file.

[0041] S5. Judging whether the number of times of execution meets the total number of tests configured in the command parameter: if the number of times of execution is equal to the total number of tests configured in the comma...

Embodiment 2

[0043] Please refer to figure 2 , the present embodiment provides a kind of server pressure test method, after preparing test environment (after installing Linux system, download test program, automatic test program is added in the Linux system start-up file / etc / rc.local), execute test, The specific steps of the test method are as follows:

[0044] S1. Configure test variables through command parameters, that is, configure the total number of tests, power-on / off mode, and reset pressure, and store the command parameters in a configuration file.

[0045] S2. Restart or switch the server according to the switch mode in the configuration file; after the restarted or restarted server enters the system, perform a stress test on the server according to the reset pressure variable in the command parameter to obtain the performance data of the server.

[0046] S3. Write the performance data measured in S2 into a log file.

[0047] S4. Read the number of times the stress test in S3 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a server stress testing method, device and apparatus and a storage medium. The method includes configuring a test variable through a command parameter and storing the commandparameter to a configuration file; performing a test according to the configuration file to obtain performance data; writing the performance data into a log file; reading the test performing times from the log file; determining whether the performing times meet the total test times configured in the command parameter: if yes, no longer performing the test and processing the performance data to obtain a test result; if no, continuing performing the test. By means of the method, a stress test can be performed on the server automatically, and the cumbersome manual log file inspection and test steps are simplified. The testing method is simple in operation and high in automation degree and practicability, saves a lot of manpower, time, cost and other resources for an enterprise, effectively ensures the development cycle of the server and saves the cost of the enterprise.

Description

technical field [0001] The invention belongs to the technical field of servers, and in particular relates to a server stress testing method, device, equipment and storage medium. Background technique [0002] With the continuous progress of society and the rapid development of economy, the application fields of computers are becoming more and more extensive. At the same time, the computer has the advantages of a large amount of stored information and convenient and quick access to information by users, and has become an indispensable tool in life and work. Due to the rapid development of the economy, large-scale enterprises need higher-performance computer equipment to meet the needs of business operations. The server has good processing power, stability, reliability, security, scalability and manageability, etc., and can provide more reliable services. In recent years, more and more large enterprises use servers. With the rapid development of the Internet, the speed of se...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688G06F11/3692
Inventor 黄翼潘霖
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products