CN115480973A - Server performance test method, device and medium - Google Patents

Server performance test method, device and medium Download PDF

Info

Publication number
CN115480973A
CN115480973A CN202211201674.9A CN202211201674A CN115480973A CN 115480973 A CN115480973 A CN 115480973A CN 202211201674 A CN202211201674 A CN 202211201674A CN 115480973 A CN115480973 A CN 115480973A
Authority
CN
China
Prior art keywords
server
performance
test
tested
virtual machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211201674.9A
Other languages
Chinese (zh)
Inventor
魏加旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211201674.9A priority Critical patent/CN115480973A/en
Publication of CN115480973A publication Critical patent/CN115480973A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to the field of cloud computing, and discloses a method, a device and a medium for testing the performance of a server system, which comprise the following steps: and acquiring hardware parameter information of the server to be tested so as to select a corresponding performance test scheme for the server to be tested. And acquiring a performance test reference value corresponding to the hardware parameter information in the database, and determining the number of test processes according to the performance test reference value. And deploying the virtual machines in the server to be tested according to the test process number so as to evaluate the performance of the server to be tested. Therefore, the performance test method of the server system determines the performance test reference value corresponding to the hardware parameter through the historical test data pre-stored in the database, thereby determining the pre-estimated value of the test process number capable of enabling the server to stably run, and detecting the performance of the server system on the basis of the test process number without testing the server from zero, greatly shortening the detection process and improving the performance test efficiency of the server.

Description

Server performance test method, device and medium
Technical Field
The present application relates to the field of cloud computing, and in particular, to a method, an apparatus, and a medium for testing server performance.
Background
With the development of computer hardware technology, most of the current mainstream servers are servers with multiple processors, so that the performance of the servers is greatly improved. However, the performance of the multiprocessor server is difficult to be fully utilized, and in order to solve this problem, a cloud computing system is generally constructed by using the server as a cloud computing server, and computing resources of the physical server are provided to a plurality of users by creating a plurality of independent virtual machines inside the physical server.
In order to provide better use experience for users, performance of a cloud computing server supporting multiple virtual machines at the same time needs to be tested and evaluated, and at present, VMark software is mostly used for evaluating the performance of the server. The VMark runs a plurality of test processes in each virtual machine, wherein each test process is a single system operation benchmark (namely tile), and the benchmark score of the whole cloud computing system can be obtained by integrating the scores of the system operation benchmarks running in each virtual machine, so that a user can conveniently evaluate the performance of the cloud computing system according to the benchmark score.
During the testing process, the tester needs to gradually increase the number of test processes (tiles) until the performance bottleneck of the server is reached. However, the tester cannot determine the number of the test processes, and only the number of the test processes is increased from 1, which takes much time, resulting in low efficiency of the test process.
Therefore, how to provide a method for testing the performance of a server more quickly and efficiently is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method, a device and a medium for testing the performance of a server system so as to improve the efficiency of testing the performance of the server.
In order to solve the above technical problem, the present application provides a method for testing performance of a server system, including:
acquiring hardware parameter information of a server to be tested;
acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested;
and deploying a virtual machine in the server to be tested according to the test process number so as to evaluate the performance of the server to be tested.
Preferably, after the step of evaluating the performance of the server to be tested, the method further includes:
running a VMmark test in the virtual machine, and judging whether error data exist in the server in the test process;
if the error data does not exist, adding a test process deployed in the virtual machine and executing the step of evaluating the performance of the server to be tested again;
if the error data exist and the amount of the error data is larger than a first threshold value, reducing the test process deployed in the virtual machine and executing the step of evaluating the performance of the server to be tested again;
and executing the step of deploying the virtual machine in the server to be tested according to the test process number.
Preferably, after the step of evaluating the performance of the server to be tested, the method further includes:
if the error data exist and the quantity of the error data is not larger than a first threshold value, acquiring the type of the error data;
and adjusting the computing resources of the virtual machine corresponding to the type of each error data.
Preferably, the types of the error data comprise an animation class, an elastic class and a dvdstore class;
correspondingly, the adjusting the computing resources of the virtual machine corresponding to each type of the error data includes:
if the type of the error data is an animation type, increasing the CPU share of the virtual machine of the animation type;
if the type of the error data is an elastic class, increasing the CPU share of the virtual machine and the bandwidth of the virtual machine in the elastic class;
and if the type of the error data is a dvdstore class, increasing the CPU share and the memory share of the virtual machine in the dvdstore class.
Preferably, before the step of obtaining the hardware parameter information of the server to be tested, the method further includes:
and deploying an Exi operating system and a VMmark testing tool in the server to be tested to construct a testing environment.
Preferably, after the step of adjusting the computing resources of the virtual machine corresponding to each type of the error data, the method further includes:
environmental information of the server system is recorded.
Preferably, the increasing the bandwidth of the virtual machine in the elastic class includes:
acquiring the network card using bandwidth of the server to be tested, and judging whether the network card using bandwidth is larger than a second threshold value;
if the bandwidth is larger than the second threshold value, the number of the network cards of the server to be tested is increased so that the bandwidth used by the network cards of the network cards is not larger than the second threshold value.
In order to solve the above technical problem, the present application further provides a server system performance testing apparatus, including:
the acquisition module is used for acquiring hardware parameter information of the server to be tested;
the determining module is used for acquiring a performance test reference value corresponding to the hardware parameter information in a database and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested;
and the evaluation module is used for deploying the virtual machine in the server to be tested according to the test process number so as to evaluate the performance of the server to be tested.
In order to solve the above technical problem, the present application further provides a server system performance testing apparatus, including a memory for storing a computer program;
and the processor is used for realizing the steps of the server system performance testing method when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the server system performance testing method.
The performance test method for the server system comprises the following steps: and acquiring hardware parameter information of the server to be tested so as to select a corresponding performance test scheme for the server to be tested. And acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested. And deploying the virtual machines in the server to be tested according to the number of the test processes so as to evaluate the performance of the server to be tested. Therefore, the performance test method of the server system determines the performance test reference value corresponding to the hardware parameter through the historical test data pre-stored in the database, thereby determining the pre-estimated value of the test process number capable of enabling the server to stably run, and detecting the performance of the server system on the basis of the test process number without testing the server from zero, greatly shortening the detection process and improving the performance test efficiency of the server.
In addition, the application also provides a server system performance test device and medium, corresponding to the method, the performance test reference value corresponding to the hardware parameter information in the database is obtained, and the test process number is determined according to the performance test reference value, wherein the database is used for storing the historical test data of the server to be tested. And deploying the virtual machines in the server to be tested according to the number of the test processes so as to evaluate the performance of the server to be tested. Therefore, the performance test reference value corresponding to the hardware parameter is determined through the historical test data pre-stored in the database, the pre-estimated value of the number of test processes which can enable the server to stably run is determined, the performance of the server system is detected on the basis of the number of the test processes, the server does not need to be tested from zero, the detection process is greatly shortened, and the performance test efficiency of the server is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings required for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a method for testing performance of a server system according to an embodiment of the present disclosure;
fig. 2 is a structural diagram of a server system performance testing apparatus according to an embodiment of the present application;
fig. 3 is a structural diagram of another server system performance testing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method, a device and a medium for testing the performance of a server system so as to improve the efficiency of testing the performance of the server.
In a cloud computing server system, a virtualized environment needs to be built in a physical server to provide computing resources for a user. The virtualization environment provides a software layer, so that a user can create a plurality of independent virtual machines in the same physical server, and the simultaneous operation of the plurality of virtual machines can enable one server to obtain higher utilization rate although some virtualization overhead exists. Although the underlying physical resources of these virtual machines are shared, each virtual machine is completely independent and executes a separate operating system and separate application software. Currently, VMmark testing tools are mostly used to test a server system to obtain the performance of the server system. However, in the testing process, the user can only increase the number of the running testing processes from 1 workload by the actual testing to grope the performance bottleneck of the server, so the time used for completing the testing work is long, and the performance testing efficiency of the server system is low. In order to solve the problem, the application provides a method for testing the performance of a server system, which comprises the following steps: and acquiring hardware parameter information of the server to be tested so as to select a corresponding performance test scheme for the server to be tested. And acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested. And deploying the virtual machines in the server to be tested according to the number of the test processes so as to evaluate the performance of the server to be tested. Therefore, the performance test method of the server system provided by the application determines the performance test reference value corresponding to the hardware parameter through the historical test data pre-stored in the database, thereby determining the estimated value of the test process number capable of enabling the server to stably run, and detecting the performance of the server system on the basis of the test process number without testing the server from zero, greatly shortening the detection process and improving the performance test efficiency of the server.
In order that those skilled in the art will better understand the disclosure, the following detailed description is given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for testing performance of a server system according to an embodiment of the present application, and as shown in fig. 1, the method includes:
s10: and acquiring hardware parameter information of the server to be tested.
S11: and acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested.
S12: and deploying the virtual machines in the server to be tested according to the number of the test processes so as to evaluate the performance of the server to be tested.
In the specific implementation, before the step of obtaining the hardware parameter information of the server to be tested, the method further includes:
and deploying an Esxi operating system and a VMmark testing tool in the server to be tested to construct a testing environment.
Further, the hardware parameter of the server to be tested may be obtained by a VMmark test tool, or may be obtained by manually querying a configuration file, which is not limited herein. The hardware parameters comprise the number of CPU cores of the server to be tested, the frequency of each CPU and the total socket number of the server to be tested.
It can be understood that, in order to obtain historical measurement data with more referential property, different types and models of servers have different properties, in this embodiment, a performance test reference value corresponding to hardware parameter information in the database is selected to be obtained, and the number of test procedures is determined according to the performance test reference value. For example: the parameters in the database corresponding to the current server to be tested are as follows: when the number of the CPU cores is 40, the CPU frequency is 2.3MHZ and the total socket number is 8, the maximum number of the test processes for normal operation of the server can be 26, and then the formula can be obtained:
Figure BDA0003872612540000061
wherein Nc is the number of CPU cores of the server, nf is the frequency of the CPU of the server, ns is the number of total sockets of the server, and Nt is the maximum number of test processes for enabling the server to normally operate. And substituting the hardware parameters of the server to be tested into the formula to obtain the test process number, wherein the test process number is a predicted value of the maximum test process number which can ensure that the server to be tested can normally run. And deploying the virtual machines required by the VMmark test according to the test process number.
It should be noted that, in the process of testing the performance of the server system, if there is no error in the test result, the performance of the current server may be fully exerted; or the current server performance is not fully developed. Therefore, when there is no error data, it is further necessary to add a test process deployed in the virtual machine and perform the step of evaluating the performance of the server to be tested again to test the server system again.
The application provides a method for testing the performance of a server system, which comprises the following steps: and acquiring hardware parameter information of the server to be tested so as to select a corresponding performance test scheme for the server to be tested. And acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested. And deploying the virtual machines in the server to be tested according to the number of the test processes so as to evaluate the performance of the server to be tested. Therefore, the performance test method of the server system determines the performance test reference value corresponding to the hardware parameter through the historical test data pre-stored in the database, thereby determining the pre-estimated value of the test process number capable of enabling the server to stably run, and detecting the performance of the server system on the basis of the test process number without testing the server from zero, greatly shortening the detection process and improving the performance test efficiency of the server.
As a preferred embodiment, after the step of evaluating the performance of the server to be tested, the method further includes: running a VMmark test in the virtual machine, and judging whether error data exists in the server in the test process; if no error data exists, adding a test process deployed in the virtual machine and executing the step of evaluating the performance of the server to be tested again; if the error data exist and the quantity of the error data is larger than a first threshold value, reducing the test process deployed in the virtual machine and carrying out the step of evaluating the performance of the server to be tested again; and executing the step of deploying the virtual machine in the server to be tested according to the number of the test processes.
For example, the first threshold is set to 4, after the test task is executed, the number of error data is obtained by querying the test log, if the number of error data is greater than 4, the number of test processes is decreased by one, and the test is executed again, and if the number of error data is 0, the number of test processes is increased by one, and the test is executed again. Therefore, the problem that the performance of the server cannot be fully exerted due to the fact that the number of test processes is too small is avoided.
In specific implementation, the test tool provided by VMware provides only a test tool and a method, and does not provide a corresponding server optimization method, so that in the test process, when the server performance reaches a bottleneck by increasing the number of test processes (tiles), a situation that the difference between the measured data and the limit is large may occur, that is, the server performance may not be the true performance limit at this time. The performance evaluation value acquired at this time may not reflect the maximum performance of the physical server.
In order to solve the problem, on the basis of the above embodiment, after the step of evaluating the performance of the server to be tested, the method further includes:
if the error data exist and the quantity of the error data is not larger than a first threshold value, acquiring the type of the error data; the computing resources of the virtual machine corresponding to the type of each error data are adjusted.
Further, the types of error data of the server system generally include an animation class, an elastic class, and a dvdstore class; in the specific description, a tool (e.g., an Esxtop tool) is used to check the error types of the server during the performance test, and monitor the resource utilization of the virtual machine network card (vmnic) corresponding to each virtual machine.
Correspondingly, adjusting the computing resources of the virtual machine corresponding to the type of each error data includes: if the type of the error data is an animation type, increasing the CPU share of the animation type virtual machine; if the type of the error data is an elastic type, the CPU share of the elastic virtual machine and the bandwidth of the virtual machine are improved; and if the type of the error data is the dvdstore class, increasing the CPU share and the memory share of the dvdstore class virtual machine.
In an implementation, the error data (error) of the server may occur in the following three cases:
if the resource is the auror related to the auro, configuring the CPU share of the auro virtual machine to be 1.5 times of the original CPU share, and re-executing the test;
if the virtual machine is an elastic related error, the CPU share of the configured elastic virtual machine is 1.5 times of the original CPU share; reading the bandwidth of a virtual machine network card of the virtual machine, and judging whether the bandwidth used by the network card is greater than a second threshold value; if the bandwidth is larger than the second threshold value, the number of the network cards of the server to be tested is increased so that the bandwidth of the network card of each network card is not larger than the second threshold value. Taking the second threshold as 1/2 of the bandwidth of the network card of the virtual machine as an example, if the actual usage amount of the bandwidth is greater than 1/2 of the theoretical value of the allocated network card, adding 1 virtual machine network card for the virtual machine, allocating the general bandwidth of the newly added virtual machine network card to the virtual machine, if the actual usage amount of the bandwidth is not greater than 1/2 of the theoretical value of the allocated network card, keeping the original state, and executing the test again.
If the virtual machine is DVDstore related error, configuring the CPU share of the ds3db type virtual machine to be 2 times of the original CPU share, enabling the memory of the new virtual machine to be 2 times of the original memory share, and executing the test again.
Further, whether error data exist is judged according to the test result, and if the error data still exist, the virtual machine of the server is finely adjusted on the basis until the error data do not exist finally.
On the basis of the foregoing embodiment, after the step of adjusting the computing resources of the virtual machine corresponding to the type of each error data, the method further includes: recording configuration information, test data and adjusted environment information of the server system to update a database for storing historical test data of the server to be tested so as to provide data support for subsequent use of the server system.
In the foregoing embodiments, the server system performance testing method is described in detail, and the present application also provides embodiments corresponding to the server system performance testing apparatus. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one is from the perspective of the function module, and the other is from the perspective of the hardware.
Fig. 2 is a structural diagram of a server system performance testing apparatus according to an embodiment of the present application, and as shown in fig. 2, the apparatus includes:
the obtaining module 10 is configured to obtain hardware parameter information of a server to be tested.
The determining module 11 is configured to obtain a performance test reference value corresponding to the hardware parameter information in a database, and determine the number of test processes according to the performance test reference value, where the database is used to store historical test data of the server to be tested.
And the evaluation module 12 is configured to deploy a virtual machine in the server to be tested according to the number of the test processes, so as to evaluate the performance of the server to be tested.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
The application provides a server system capability test device includes: and acquiring the hardware parameter information of the server to be tested so as to select a corresponding performance test scheme for the server to be tested. And acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested. And deploying the virtual machines in the server to be tested according to the number of the test processes so as to evaluate the performance of the server to be tested. Therefore, the performance test device of the server system determines the performance test reference value corresponding to the hardware parameter through the historical test data pre-stored in the database, so that the pre-estimated value of the test process number capable of enabling the server to stably run is determined, the performance of the server system is detected on the basis of the test process number, the server does not need to be tested from zero, the detection process is greatly shortened, and the performance test efficiency of the server is improved.
Fig. 3 is a structural diagram of another server system performance testing apparatus provided in an embodiment of the present application, and as shown in fig. 3, the server system performance testing apparatus includes: a memory 20 for storing a computer program;
the processor 21 is configured to implement the steps of the server system performance testing method according to the above embodiment when executing the computer program.
The terminal device provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in hardware using at least one of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computing operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the server system performance testing method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, windows, unix, linux, and the like. Data 203 may include, but is not limited to, hardware parameters of the server under test, number of test procedures, and the like.
In some embodiments, the server system performance testing device may further include a display 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in FIG. 3 does not constitute a limitation of the server system performance testing apparatus and may include more or fewer components than those shown.
The server system performance testing device provided by the embodiment of the application comprises a memory and a processor, wherein when the processor executes a program stored in the memory, the following method can be realized:
and acquiring hardware parameter information of the server to be tested.
And acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested.
And deploying the virtual machines in the server to be tested according to the test process number so as to evaluate the performance of the server to be tested.
The application provides a server system capability test device includes: and acquiring hardware parameter information of the server to be tested so as to select a corresponding performance test scheme for the server to be tested. And acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested. And deploying the virtual machines in the server to be tested according to the test process number so as to evaluate the performance of the server to be tested. Therefore, the performance test device of the server system determines the performance test reference value corresponding to the hardware parameter through the historical test data pre-stored in the database, thereby determining the estimated value of the test process number capable of enabling the server to stably run, detecting the performance of the server system on the basis of the test process number, and not needing to test the server from zero, greatly shortening the detection process and improving the performance test efficiency of the server.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The method, the device and the medium for testing the performance of the server system provided by the application are introduced in detail above. The embodiments are described in a progressive mode in the specification, the emphasis of each embodiment is on the difference from the other embodiments, and the same and similar parts among the embodiments can be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for testing performance of a server system is characterized by comprising the following steps:
acquiring hardware parameter information of a server to be tested;
acquiring a performance test reference value corresponding to the hardware parameter information in a database, and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested;
and deploying a virtual machine in the server to be tested according to the test process number so as to evaluate the performance of the server to be tested.
2. The method for testing the performance of the server system according to claim 1, wherein the step of evaluating the performance of the server under test further comprises:
running a VMmark test in the virtual machine, and judging whether error data exist in the server in the test process;
if the error data does not exist, adding a test process deployed in the virtual machine and executing the step of evaluating the performance of the server to be tested again;
if the error data exist and the amount of the error data is larger than a first threshold value, reducing the test processes deployed in the virtual machine and executing the step of evaluating the performance of the server to be tested again;
and executing the step of deploying the virtual machine in the server to be tested according to the test process number.
3. The method for testing performance of a server system according to claim 2, wherein after the step of evaluating performance of the server under test, the method further comprises:
if the error data exist and the quantity of the error data is not larger than a first threshold value, acquiring the type of the error data;
and adjusting the computing resources of the virtual machine corresponding to the type of each error data.
4. The method for server system performance testing according to claim 3, wherein the types of the error data include an animation class, an elastic class, and a dvdstore class;
correspondingly, the adjusting the computing resources of the virtual machine corresponding to each type of the error data includes:
if the type of the error data is an aurction class, increasing the CPU share of the virtual machine of the aurction class;
if the type of the error data is an elastic class, increasing the CPU share of the virtual machine and the bandwidth of the virtual machine in the elastic class;
and if the type of the error data is a dvdstore class, increasing the CPU share and the memory share of the virtual machine of the dvdstore class.
5. The method for testing the performance of the server system according to claim 1, wherein before the step of obtaining the hardware parameter information of the server to be tested, the method further comprises:
and deploying an Exi operating system and a VMmark testing tool in the server to be tested to construct a testing environment.
6. The method for testing performance of a server system according to claim 3, wherein after the step of adjusting the computing resources of the virtual machine corresponding to each type of the error data, the method further comprises:
and recording the server system environment information.
7. The method for testing the performance of the server according to claim 4, wherein the increasing the bandwidth of the virtual machine of the elastic class comprises:
acquiring the network card using bandwidth of the server to be tested, and judging whether the network card using bandwidth is larger than a second threshold value;
if the bandwidth is larger than the second threshold, increasing the number of the network cards of the server to be tested so that the bandwidth of the network card of each network card is not larger than the second threshold.
8. A server system performance testing apparatus, comprising:
the acquisition module is used for acquiring hardware parameter information of the server to be tested;
the determining module is used for acquiring a performance test reference value corresponding to the hardware parameter information in a database and determining the number of test processes according to the performance test reference value, wherein the database is used for storing historical test data of the server to be tested;
and the evaluation module is used for deploying a virtual machine in the server to be tested according to the test process number so as to evaluate the performance of the server to be tested.
9. A server system performance testing apparatus comprising a memory for storing a computer program;
a processor for implementing the steps of the server system performance testing method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the server system performance testing method according to any one of claims 1 to 7.
CN202211201674.9A 2022-09-29 2022-09-29 Server performance test method, device and medium Pending CN115480973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211201674.9A CN115480973A (en) 2022-09-29 2022-09-29 Server performance test method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211201674.9A CN115480973A (en) 2022-09-29 2022-09-29 Server performance test method, device and medium

Publications (1)

Publication Number Publication Date
CN115480973A true CN115480973A (en) 2022-12-16

Family

ID=84394798

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211201674.9A Pending CN115480973A (en) 2022-09-29 2022-09-29 Server performance test method, device and medium

Country Status (1)

Country Link
CN (1) CN115480973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117295095A (en) * 2023-11-23 2023-12-26 珠海世炬网络科技有限公司 Wireless network communication performance detection method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117295095A (en) * 2023-11-23 2023-12-26 珠海世炬网络科技有限公司 Wireless network communication performance detection method and system
CN117295095B (en) * 2023-11-23 2024-02-27 珠海世炬网络科技有限公司 Wireless network communication performance detection method and system

Similar Documents

Publication Publication Date Title
US9465734B1 (en) Coalition based memory management
WO2015032282A1 (en) Method and apparatus for testing hardware performance of electronic equipment
CN112861057A (en) Page rendering method, device and equipment based on small program and storage medium
US9619288B2 (en) Deploying software in a multi-instance node
CN111143039A (en) Virtual machine scheduling method and device and computer storage medium
CN115480973A (en) Server performance test method, device and medium
CN116680060A (en) Task allocation method, device, equipment and medium for heterogeneous computing system
CN115827253A (en) Chip resource calculation allocation method, device, equipment and storage medium
CN116662039B (en) Industrial information parallel detection method, device and medium based on shared memory
CN106886477B (en) Method and device for setting monitoring threshold in cloud system
CN112130977B (en) Task scheduling method, device, equipment and medium
CN113821369A (en) Method, device and medium for memory polling
CN114237631A (en) Service deployment method and device
CN112885403A (en) Function test method, device and equipment of Flash controller
CN111338861B (en) RSS-based network card performance test method, device, equipment and storage medium
CN116643700A (en) Control method, device and equipment of storage model and storage medium
CN115098405B (en) Software product evaluation method and device, electronic equipment and storage medium
CN115562921A (en) Network card performance optimization method, device and medium based on sea light platform
CN113126918B (en) Fragmented data reading method, device and medium
CN114428667A (en) Performance test method, device and medium
CN115454336A (en) Hard disk working environment configuration method, device and medium
CN115309609A (en) Method, device and medium for acquiring utilization rate of CPU (Central processing Unit) of cloud platform
CN117407258A (en) Initialization process time consumption statistical method and device, electronic equipment and storage medium
CN115858124A (en) Control method, device and medium for substrate management system
CN114064301A (en) Data storage and reading method, device and equipment for single writer and multiple readers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination