CN114003373B - Service testing method, device, computer equipment and storage medium - Google Patents

Service testing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114003373B
CN114003373B CN202111159808.0A CN202111159808A CN114003373B CN 114003373 B CN114003373 B CN 114003373B CN 202111159808 A CN202111159808 A CN 202111159808A CN 114003373 B CN114003373 B CN 114003373B
Authority
CN
China
Prior art keywords
current
memory
power
target
occupancy rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111159808.0A
Other languages
Chinese (zh)
Other versions
CN114003373A (en
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 CN202111159808.0A priority Critical patent/CN114003373B/en
Publication of CN114003373A publication Critical patent/CN114003373A/en
Application granted granted Critical
Publication of CN114003373B publication Critical patent/CN114003373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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 invention discloses a service testing method, a service testing device, computer equipment and a storage medium, which are suitable for the technical field of computers. The method comprises the following steps: acquiring parameter information of a target service to be tested and computer equipment; pressurizing the current available memory amount of the computer equipment according to the target service and the parameter information to obtain the current memory occupancy rate; acquiring the current use power of a CPU (central processing unit) of the computer equipment corresponding to the current memory occupancy rate; according to the difference value between the current use power and the target use power, the current memory occupancy rate is adjusted until the difference value between the current use power and the target use power is within a preset range; and testing the target service according to the current power. The method can accurately control the use power of the CPU, thereby realizing flexible test of service scenes.

Description

Service testing method, device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a service testing method, a service testing device, a computer device, and a storage medium.
Background
With the rapid development of the technology level, various computer devices are becoming more and more mature. At present, computer equipment often has the physical quantity capability of single, double and four CPUs, each CPU has cores with different quantity, and each core has the multithreading capability, namely, each CPU has a plurality of logic cores. The number of the logic cores operated by the computer equipment is different under different service scenes, namely the use power of the computer equipment is different. Therefore, in practical development, when testing some service scenarios, it is necessary to precisely control the power used by the CPU of the computer device.
In the prior art, a tool exists, when the tool is started, full-load operation of the CPU can be realized, and the using power of the CPU reaches 100% utilization rate; when the tool is in a closed state, the CPU runs under a null load, and the using power of the CPU reaches 0% utilization rate.
Therefore, the prior art cannot accurately adjust the using power of the CPU, and two extreme cases of full-load operation and empty-load operation appear, so that the testing of normal service scenes cannot be met.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a service testing method, apparatus, computer device, and storage medium, so as to solve the problem that the prior art cannot accurately adjust the power used by a CPU, and two extreme cases of full load operation and empty load operation occur, and cannot meet the test of a normal service scenario.
According to a first aspect, an embodiment of the present invention provides a service testing method, including: acquiring parameter information of a target service to be tested and computer equipment; pressurizing the current available memory amount of the computer equipment according to the target service and the parameter information to obtain the current memory occupancy rate; acquiring the current use power of a CPU (central processing unit) of the computer equipment corresponding to the current memory occupancy rate; according to the difference value between the current use power and the target use power, the current memory occupancy rate is adjusted until the difference value between the current use power and the target use power is within a preset range; and testing the target service according to the current power.
In the embodiment of the application, the computer equipment acquires the target service to be tested and the parameter information of the computer equipment; and pressurizing the current available memory amount of the computer equipment according to the target service and the parameter information to obtain the current memory occupancy rate, thereby ensuring that the accurate current memory occupancy rate is obtained. Then, the computer equipment acquires the current use power of the CPU corresponding to the current memory occupancy rate; and adjusting the current memory occupancy rate according to the difference between the current use power and the target use power until the difference between the current use power and the target use power is within a preset range, so that the current use power of the CPU can be accurately controlled. According to the current using power, testing the target service, ensuring the accuracy of testing the target service, and meeting the requirements of testing the target service scene. Therefore, the method realizes the accurate control of the current use power of the CPU by pressurizing the current available memory amount of the computer equipment, solves the problem that the CPU use power cannot be accurately regulated in the prior art, and has two extreme cases of full load operation and empty load operation, and the test of normal service scenes cannot be satisfied.
With reference to the first aspect, in a first implementation manner of the first aspect, adjusting the current memory occupancy according to a difference between the current usage power and the target usage power includes: comparing the current use power with the target use power; if the first difference value of the current power minus the target power is larger than the maximum value of the preset range, the pressurization of the current available memory is reduced, and the current memory occupancy rate is reduced.
In the embodiment of the application, the computer equipment compares the current use power with the target use power; if the first difference value of the current power minus the target power is larger than the maximum value of the preset range, the pressurization of the current available memory is reduced, and the current memory occupancy rate is reduced. Therefore, the current use power of the CPU can be adjusted according to the current memory occupancy rate of the computer equipment, and further the current use power of the CPU can be accurately controlled, so that the target service can be better tested.
With reference to the first embodiment of the first aspect, in a second implementation manner of the first aspect, the method further includes: if the second difference value of the target used power minus the current used power is larger than the maximum value of the preset range, the current available memory amount is continuously pressurized, and the current memory occupancy rate is increased.
In the embodiment of the application, the computer equipment compares the current use power with the target use power; if the second difference value of the target used power minus the current used power is larger than the maximum value of the preset range, the current available memory amount is continuously pressurized, and the current memory occupancy rate is increased. Therefore, the current use power of the CPU can be adjusted according to the current memory occupancy rate of the computer equipment, and further the current use power of the CPU can be accurately controlled, so that the target service can be better tested.
With reference to the first aspect, in a third implementation manner of the first aspect, according to the target service and the parameter information, pressurizing a current available memory amount of the computer device to obtain a current memory occupancy rate, including: determining the occupation amount of logic cores of the CPU according to the target service; the logic core occupation amount is used for representing the number of the logic cores of the CPU which is started; determining the memory capacity to be pressurized according to the occupation amount of the logic core and the current available memory amount; and pressurizing the memory capacity to be pressurized by utilizing a preset pressurizing tool to obtain the current memory occupancy rate.
In the embodiment of the application, the computer equipment determines the occupation amount of the logic core of the CPU according to the target service, and determines the memory capacity to be pressurized according to the occupation amount of the logic core and the current available memory amount. And then, the computer equipment uses a preset pressurizing tool to pressurize the memory capacity to be pressurized, so as to obtain the current memory occupancy rate. Therefore, the pressurization of the memory of the computer equipment is realized, and the current memory occupancy rate is obtained. The accuracy of the current memory occupancy rate obtained by calculation is guaranteed, the current use power of the CPU is adjusted by adjusting the current memory occupancy rate, and the accurate control of the current use power of the CPU is further realized.
With reference to the third embodiment of the first aspect, in a fourth implementation manner of the first aspect, pressurizing, by using a preset pressurizing tool, a memory capacity to be pressurized to obtain a current memory occupancy rate includes: filling data into the memory capacity to be pressurized; and calculating the current memory occupancy rate according to the filled data.
In the embodiment of the application, the computer equipment performs data filling on the memory capacity to be pressurized, and calculates the current memory occupancy rate according to the filled data, so that the accuracy of the calculated current memory occupancy rate can be ensured.
With reference to the first embodiment of the first aspect, in a fifth implementation manner of the first aspect, determining a memory capacity to be pressurized according to a logic core occupation amount and a current available memory amount includes: determining a planned memory occupation corresponding to the logic core occupation according to the logic core occupation; and obtaining the memory capacity to be pressurized according to the planned memory quantity and the current available memory quantity.
In the embodiment of the application, the computer equipment determines the planned memory occupation amount corresponding to the logic core occupation amount according to the logic core occupation amount, and obtains the memory capacity to be pressurized according to the planned memory amount and the current available memory amount. Therefore, the computer equipment can acquire the memory capacity to be pressurized, and one scale is provided when the current available memory quantity is pressurized, so that the situation that the number of times of adjustment is too large because the current available memory quantity is pressurized too much or too little for the first time is avoided. Therefore, the method improves the efficiency of pressurizing the current available memory amount by the computer equipment, so that the current use power of the CPU can be adjusted to be within the preset range as soon as possible, and the efficiency of accurately controlling the current use efficiency of the CPU is improved.
With reference to the first aspect, in a sixth implementation manner of the first aspect, the method further includes: acquiring a running time threshold corresponding to a target service; after the runtime threshold is reached, the pressurization of the currently available memory amount is ended.
In the embodiment of the application, the computer equipment acquires the running time threshold corresponding to the target service, and after the running time threshold is reached, the pressurization of the current available memory is finished. Therefore, after the computer equipment finishes the test of the target task, the computer equipment can be prevented from being influenced to execute other tasks, and the conditions that the other tasks are finished in the state of pressurizing the current available memory amount, the other tasks fail after finishing, the test of the other tasks fails and the like are avoided. In addition, the pressurization of the current available memory is finished, so that the overall performance of the computer device can be guaranteed to be good when the computer device completes other tasks.
According to a second aspect, an embodiment of the present application provides a service testing apparatus, including:
the first acquisition module is used for acquiring target service to be tested and parameter information of the computer equipment;
the pressurizing module is used for pressurizing the current available memory amount of the computer equipment according to the target service and the parameter information to obtain the current memory occupancy rate;
The second acquisition module is used for acquiring the current use power of the CPU of the computer equipment corresponding to the current memory occupancy rate;
the adjusting module is used for adjusting the current memory occupancy rate according to the difference value between the current use power and the target use power until the difference value between the current use power and the target use power is within a preset range;
and the test module is used for testing the target service according to the current use power.
With reference to the second aspect, in a first implementation manner of the second aspect, the adjusting module is specifically configured to compare the current usage power with the target usage power; and under the condition that the first difference value of the current use power minus the target use power is larger than the maximum value of the preset range, pressurizing the current available memory amount is reduced, and the current memory occupancy rate is reduced.
In combination with the first embodiment of the second aspect, in a second implementation manner of the second aspect, the adjustment module is further configured to continuously pressurize the current available memory amount and adjust the current memory occupancy rate when a second difference obtained by subtracting the current power from the target power is greater than a maximum value of the preset range.
With reference to the second aspect, in a third embodiment of the second aspect, the pressurization module includes:
The first determining unit is used for determining the occupation amount of the logic core of the CPU according to the target service; the logic core occupation amount is used for representing the number of the logic cores of the CPU which is started;
the second determining unit is used for determining the memory capacity to be pressurized according to the occupation amount of the logic core and the current available memory amount;
the pressurizing unit is used for pressurizing the memory capacity to be pressurized by utilizing a preset pressurizing tool to obtain the current memory occupancy rate.
With reference to the third embodiment of the second aspect, in a fourth embodiment of the second aspect, the pressurizing unit is specifically configured to perform data filling on a memory capacity that needs to be pressurized; and calculating the current memory occupancy rate according to the filled data.
With reference to the second aspect of the fifth embodiment, in a second aspect of the fifth embodiment, the second determining unit is configured to determine, according to a logic core occupation amount, a planned memory occupation amount corresponding to the logic core occupation amount; and obtaining the memory capacity to be pressurized according to the planned memory quantity and the current available memory quantity.
With reference to the second aspect, in a sixth implementation manner of the second aspect, the service testing apparatus further includes:
the third acquisition module is used for acquiring a running time threshold value corresponding to the target service;
And the ending module is used for ending pressurizing the current available memory after the running time threshold value is reached.
According to a third aspect, an embodiment of the present invention provides a computer device, comprising: the system comprises a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores computer instructions, and the processor executes the computer instructions, so as to execute the service testing method in the first aspect or any implementation manner of the first aspect.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the first aspect or any one of the implementation manners of the first aspect.
According to a fifth aspect, an embodiment of the present invention provides a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of traffic testing in the first aspect or any one of the embodiments of the first aspect.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and should not be construed as limiting the invention in any way, in which:
FIG. 1 is a flow diagram that illustrates the steps of a business testing method in one embodiment;
FIG. 2 is a flow chart showing the steps of a business testing method in another embodiment;
FIG. 3 is a flow chart showing the steps of a business testing method in another embodiment;
FIG. 4 is a flow chart showing the steps of a business testing method in another embodiment;
FIG. 5 is a flow chart showing the steps of a business testing method in another embodiment;
FIG. 6 is a flow chart showing the steps of a business testing method in another embodiment;
FIG. 7 is a flow chart showing the steps of a method of business testing in another embodiment;
FIG. 8 is a block diagram showing the construction of a traffic test device in another embodiment;
FIG. 9 is a block diagram showing the construction of a traffic test device in one embodiment;
FIG. 10 is a block diagram showing the construction of a traffic test device in one embodiment;
FIG. 11 is a diagram illustrating the internal architecture of a computer device as a server, according to one embodiment;
fig. 12 shows an internal structural diagram of the case where the computer device is a terminal according to one embodiment.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
With the rapid development of the technology level, various computer devices are becoming more and more mature. At present, computer equipment often has the physical quantity capability of single, double and four CPUs, each CPU has cores with different quantity, and each core has the multithreading capability, namely, each CPU has a plurality of logic cores.
The TDP (Thermal Design Power, heat dissipation design power consumption) value, which is an important indicator of CPU parameters, reflects the standard of heat release when the chip reaches maximum load, and is the maximum limit to which the heat dissipation system must have the ability to dissipate heat. The larger the TDP, the larger the heat generated by the CPU in the unit time during operation, so the power consumption value of the TDP is a value under the extreme condition, and belongs to a maximum value. In short, this index refers to the amount of heat that the CPU "can" dissipate under typical power consumption, and is used as a reference to the design of the heat dissipation system. TDP is 85W, meaning that the heat sink needs to provide a heat dissipation capacity of not less than 85W.
The CPU power level is the workload at different pressures. The 50% power level is close to 70% TDP and the 90% power level is close to TDP, different CPUs may have different powers. The number of the logic cores operated by the computer equipment is different under different service scenes, namely the use power of the computer equipment is different. Therefore, in practical development, when testing some service scenarios, it is necessary to precisely control the power used by the CPU of the computer device.
In the prior art, a tool exists, when the tool is started, full-load operation of the CPU can be realized, and the using power of the CPU reaches 100% utilization rate; when the tool is in a closed state, the CPU runs under a null load, and the using power of the CPU reaches 0% utilization rate.
Therefore, the prior art cannot accurately adjust the using power of the CPU, and two extreme cases of full-load operation and empty-load operation appear, so that the testing of normal service scenes cannot be met.
Based on the problems, the application provides a service testing method, a device, computer equipment and a storage medium, which can solve the problems that the prior art cannot accurately adjust the CPU using power, and the two extreme cases of full load operation and empty load operation are caused, so that the testing of normal service scenes cannot be satisfied.
It should be noted that, the execution body of the method for service testing provided in the embodiment of the present application may be a device for service testing, where the device for service testing may be implemented as part or all of a computer device in a manner of software, hardware or a combination of software and hardware, where the computer device may be a server or a terminal, where the server in the embodiment of the present application may be a server or a server cluster formed by multiple servers, and the terminal in the embodiment of the present application may be an intelligent mobile phone, a personal computer, a tablet computer, a wearable device, and other intelligent hardware devices such as an intelligent robot. In the following method embodiments, the execution subject is a computer device.
In one embodiment of the present application, as shown in fig. 1, a service testing method is provided, and the method is applied to a computer device for illustration, and includes the following steps:
step 101, obtaining the target service to be tested and the parameter information of the computer equipment.
The parameter information may include parameter information such as the number of logic cores of a CPU in the computer device, maximum memory data, and currently available memory data.
Optionally, the computer device may receive the target service to be tested input by the user, and may also receive the target service to be tested sent by other devices.
And then, the computer equipment acquires the parameter information of the computer equipment in a data reading mode.
And step 102, pressurizing the current available memory amount of the computer equipment according to the target service and the parameter information to obtain the current memory occupancy rate.
Specifically, the computer device reads the test requirement of the target service and the type of the target service, and then the computer device pressurizes the current available memory of the computer device according to the test requirement of the target service, the type of the target service and the parameter information of the computer device. The test requirement of the target service may include target usage power of the CPU of the computer device. The current memory occupancy rate represents the percentage of the memory currently occupied by the computer equipment to the total memory.
In an alternative embodiment, the computer device may pressurize the current amount of available memory of the computer device by adding data to the current amount of available memory.
In another alternative embodiment, the computer device may also block the current available memory amount, that is, the computer device may block a portion of the current available memory amount, and perform the target service test without using the portion of the current available memory.
Step 103, obtaining the current use power of the CPU of the computer equipment corresponding to the current memory occupancy rate.
In an alternative embodiment, after the computer device pressurizes the current available memory, the computer device may obtain, through reading the CPU, the current usage power of the CPU of the computer device corresponding to the current memory occupancy rate of the computer device.
In another alternative embodiment, the computer device may also obtain the TDP value of the CPU, and calculate the current power used by the CPU of the computer device.
Step 104, adjusting the current memory occupancy rate according to the difference between the current power and the target power until the difference between the current power and the target power is within the preset range.
Specifically, the computer device may acquire, after each pressurization of the current available memory amount, the current usage power of the CPU after the pressurization, and compare the current usage power of the CPU with the target usage power, thereby determining a difference between the current usage power and the target usage power. Under the condition that the difference value between the current use power and the target use power is not in the preset range, the computer equipment needs to adjust the current memory occupancy rate by adjusting the pressurization of the current memory availability according to the difference value between the current use power and the target use power, so as to achieve the effect of adjusting the current use power of the CPU. The preset range may be set to plus or minus 1% -5% of the target used power, for example, the preset range is set to plus or minus 1% of the target used power, and the current memory occupancy is adjusted until the difference between the current used power and the target used power is within the plus or minus 1% of the target used power.
After the current memory occupancy rate is adjusted, the computer equipment continues to acquire the current use power of the CPU, and compares the current use power of the CPU with the target use power, so as to determine the difference value between the current use power and the target use power. And under the condition that the difference value between the current use power and the target use power is in a preset range, the computer equipment stops adjusting the current memory occupancy.
Step 105, testing the target service according to the current power.
Specifically, after stopping the adjustment of the current memory occupancy, the computer device controls each parameter corresponding to the current use power of the CPU to be unchanged, and tests the target service by using the current use power of the CPU.
In the embodiment of the application, the computer equipment acquires the target service to be tested and the parameter information of the computer equipment; and pressurizing the current available memory amount of the computer equipment according to the target service and the parameter information to obtain the current memory occupancy rate, thereby ensuring that the accurate current memory occupancy rate is obtained. Acquiring the current use power of a CPU (central processing unit) of the computer equipment corresponding to the current memory occupancy rate; according to the difference value between the current use power and the target use power, the current memory occupancy rate is adjusted until the difference value between the current use power and the target use power is within a preset range; therefore, the current use power of the CPU can be precisely controlled. According to the current using power, testing the target service, ensuring the accuracy of testing the target service, and meeting the requirements of testing the target service scene. Therefore, the method realizes the accurate control of the current use power of the CPU by pressurizing the current available memory amount of the computer equipment, solves the problem that the CPU use power cannot be accurately regulated in the prior art, and has two extreme cases of full load operation and empty load operation, and the test of normal service scenes cannot be satisfied.
In one embodiment of the present application, as shown in fig. 2, the "adjusting the current memory occupancy according to the difference between the current usage power and the target usage power" in the step 104 may include the following steps:
step 201, comparing the current usage power with the target usage power. If the first difference value of the current power minus the target power is greater than the maximum value of the preset range, step 202 is executed; if the second difference of the target power minus the current power is greater than the maximum value of the preset range, step 203 is performed.
Step 202, reducing the pressurization to the current available memory, and reducing the current memory occupancy rate.
Step 203, continuing to pressurize the current available memory, and increasing the current memory occupancy rate.
In an alternative embodiment of the present application, the computer device may acquire the current usage power of the CPU in real time, and compare the current usage power with the target usage power. If the first difference value of the current used power minus the target used power is larger than the maximum value of the preset range. That is, the current power is far greater than the target power, the computer device needs to reduce the current power, and the computer device needs to reduce the pressurization of the current available memory, so as to reduce the current memory occupancy rate. If the second difference of the target used power minus the current used power is greater than the maximum value of the preset range, that is, the current used power is far smaller than the target used power, the computer equipment needs to increase the current used power, and then the computer equipment needs to continuously pressurize the current available memory, so as to increase the current memory occupancy rate.
In another optional embodiment of the present application, after each time the current available memory amount is pressurized, the computer device may obtain the current usage power of the CPU, and then the computer device displays parameter information such as the current usage power of the CPU, the number of physical CPUs, the number of logic cores (cores) of the CPU, the hyper-threading support, the maximum memory and the current available memory amount to the user in real time through the central control screen, and increases or decreases the pressurization of the current available memory amount according to the instruction of the user. And finally, under the condition that the difference value between the current use power and the target use power is in a preset range, stopping the adjustment of the current memory occupancy rate by the computer equipment.
In the embodiment of the application, the computer equipment compares the current use power with the target use power; if the first difference value of the current power minus the target power is larger than the maximum value of the preset range, the pressurization of the current available memory is reduced, and the current memory occupancy rate is reduced. If the second difference value of the target used power minus the current used power is larger than the maximum value of the preset range, the current available memory amount is continuously pressurized, and the current memory occupancy rate is increased. Therefore, the current use power of the CPU can be adjusted according to the current memory occupancy rate of the computer equipment, and further the current use power of the CPU can be accurately controlled, so that the target service can be better tested.
In one embodiment of the present application, as shown in fig. 3, the step 102 of "pressurizing the current available memory of the computer device according to the target service and the parameter information to obtain the current memory occupancy rate" may include the following steps:
step 301, determining the logic core occupation amount of the CPU according to the target service.
Wherein the logic core occupation amount is used for representing the number of the logic cores of the CPU which is started.
Specifically, the computer device may obtain a test requirement of the target service, where the test requirement may include a target usage power of the CPU required by the target service at the time of the test. Then, the computer device determines the logic core occupation amount of the CPU according to the target use power included in the test requirement of the target service.
By way of example, with a target usage power of 50%, the computer device determines that the logic core footprint of the CPU is 50%.
In step 302, the memory capacity to be pressurized is determined according to the logic core occupation amount and the current available memory amount.
Specifically, the computer device may estimate the capacity of the memory corresponding to the occupied amount of the logic core according to the occupied amount of the logic core of the CPU, and then determine the capacity of the memory to be pressurized according to the relationship between the capacity of the memory corresponding to the occupied amount of the logic core and the current available memory.
Step 303, using a preset pressurizing tool to pressurize the memory capacity to be pressurized, thereby obtaining the current memory occupancy rate.
In an alternative embodiment, the computer device may block the memory capacity to be pressurized by using a preset pressurizing tool, so that the memory capacity to be pressurized cannot be used in the target service test process, and thus, the current memory occupancy rate is calculated according to the blocked memory capacity.
In another alternative embodiment, the computer device may further utilize a preset pressurizing tool to fill data into the memory capacity to be pressurized, so as to calculate the current memory occupancy rate. The preset pressurizing tool may be a memtester tool or other pressurizing tools, and the embodiment of the application does not specifically limit the preset pressurizing tool. When the pressurizing tool is a memtester tool, the computer device adjusts the pressurizing parameter through the memtester tool to realize pressurizing of the memory capacity needing to be pressurized. Wherein the pressurization parameters may include: the logic core occupation amount of the CPU, the current available memory amount and other parameters.
In the embodiment of the application, the computer equipment determines the occupation amount of the logic core of the CPU according to the target service, and determines the memory capacity to be pressurized according to the occupation amount of the logic core and the current available memory amount. And then, the computer equipment uses a preset pressurizing tool to pressurize the memory capacity to be pressurized, so as to obtain the current memory occupancy rate. Therefore, the pressurization of the memory of the computer equipment is realized, and the current memory occupancy rate is obtained. The accuracy of the current memory occupancy rate obtained by calculation is guaranteed, the current use power of the CPU is adjusted by adjusting the current memory occupancy rate, and the accurate control of the current use power of the CPU is further realized.
In one embodiment of the present application, as shown in fig. 4, the step 303 of pressurizing the memory capacity to be pressurized by using a preset pressurizing tool to obtain the current memory occupancy rate may include the following steps:
step 401, data filling is performed on the memory capacity to be pressurized.
Specifically, after determining the memory capacity to be pressurized, the computer device may add some production data to the memory capacity to be pressurized, so that the production data may occupy a part of the logic core of the CPU, thereby changing the current power used by the CPU of the computer device.
Step 402, calculating the current memory occupancy rate according to the filled data.
In particular, as is clear from the above, the computer device performs data filling for the memory capacity to be pressurized, but many times, the computer device cannot perform data filling for the memory data to be pressurized at a time accurately. Therefore, the computer device also needs to calculate the current memory occupancy rate according to the filled data.
In an alternative embodiment, the computer device may obtain all the data in the current memory after filling the memory capacity to be pressurized, and then calculate the current memory occupancy rate according to all the data in the memory.
In another alternative embodiment, the computer device may first calculate a first memory footprint of the computer device before the data is not filled. And then, the computer equipment can calculate a second memory occupation amount corresponding to the filled data, and the computer equipment adds the first memory occupation amount and the second memory occupation amount to obtain the current memory occupation rate of the computer equipment.
In the embodiment of the application, the computer equipment performs data filling on the memory capacity to be pressurized, and calculates the current memory occupancy rate according to the filled data, so that the accuracy of the calculated current memory occupancy rate can be ensured.
In one embodiment of the present application, as shown in fig. 5, the "determining the memory capacity to be pressurized according to the logic core occupation amount and the current available memory amount" in the above step 302 may include the following steps:
in step 501, a planned memory footprint corresponding to the logic core footprint is determined according to the logic core footprint.
Specifically, the computer device may determine the planned memory occupancy corresponding to the logic core occupancy according to the logic core occupancy of the CPU and the relationship between the logic core occupancy and the planned memory occupancy.
The relationship between the logic core occupation amount and the planned memory occupation amount is not necessarily a clear relationship, and may be a rough relationship.
For example, assuming a logic core footprint of 50%, the projected memory footprint corresponding to the logic core footprint may be 50%. However, in practical application, because of the complexity of the internal parameters of the computer device, if the logic core occupation amount is 50%, the corresponding memory occupation amount is not necessarily 50%, and thus, 50% is only the planned memory occupation amount.
Step 502, obtaining the memory capacity to be pressurized according to the planned memory amount and the current available memory amount.
In an alternative embodiment, the computer device obtains the current available memory amount of the computer device and the total memory amount of the computer device by means of data reading. And then subtracting the current available memory amount by the computer equipment by using the total memory amount to obtain the current used memory amount. The computer device subtracts the currently used memory amount from the determined projected memory footprint to obtain the memory capacity to be pressurized.
By way of example, assuming a projected memory footprint of 50%, a total memory of the computer device of 100%, a current available memory of the computer device of 70%, i.e., a current used memory of the computer device of 30%, the computer device utilizes the projected memory footprint minus the current used memory to obtain a memory capacity of 20% to be pressurized.
In another alternative embodiment, the computer device may directly obtain the current amount of used memory in the computer memory, and then the computer device subtracts the current amount of used memory from the determined planned memory occupation amount to obtain the memory capacity to be pressurized.
In the embodiment of the application, the computer equipment determines the planned memory occupation amount corresponding to the logic core occupation amount according to the logic core occupation amount, and obtains the memory capacity to be pressurized according to the planned memory amount and the current available memory amount. Therefore, the computer equipment can acquire the memory capacity to be pressurized, and one scale is provided when the current available memory quantity is pressurized, so that the situation that the number of times of adjustment is too large because the current available memory quantity is pressurized too much or too little for the first time is avoided. Therefore, the method improves the efficiency of pressurizing the current available memory amount by the computer equipment, so that the current use power of the CPU can be adjusted to be within the preset range as soon as possible, and the efficiency of accurately controlling the current use efficiency of the CPU is improved.
In one embodiment of the present application, as shown in fig. 6, the service testing method may further include the following steps:
Step 601, acquiring a running time threshold corresponding to a target service.
Specifically, each service corresponds to a corresponding time, and in an alternative embodiment of the present application, the computer device may obtain the running time threshold corresponding to the target service by reading the data corresponding to the target service.
In another alternative embodiment of the present application, the computer device may also receive a run-time threshold corresponding to the target service entered by the user through an input component of the computer device.
In another optional embodiment of the present application, the computer device may also receive a runtime threshold corresponding to the target service sent by the other device.
The mode of acquiring the running time threshold corresponding to the target service by the computer equipment is not particularly limited.
Step 602, after reaching the runtime threshold, ends pressurizing the current amount of available memory.
Specifically, when the test is completed on the target service, that is, after reaching the running time threshold corresponding to the target service, in order not to affect the completion of other services by the computer device, the computer device needs to end pressurizing the currently available memory of the computer device, so that the usage power of the CPU of the computer device is adjusted to the level before the pressurization.
In the embodiment of the application, the computer equipment acquires the running time threshold corresponding to the target service, and after the running time threshold is reached, the pressurization of the current available memory is finished. Therefore, after the computer equipment finishes the test of the target task, the computer equipment can be prevented from being influenced to execute other tasks, and the conditions that the other tasks are finished in the state of pressurizing the current available memory amount, the other tasks fail after finishing, the test of the other tasks fails and the like are avoided. In addition, the pressurization of the current available memory is finished, so that the overall performance of the computer device can be guaranteed to be good when the computer device completes other tasks.
In order to better explain the service testing method provided by the embodiment of the present application, as shown in fig. 7, the embodiment of the present application provides an overall flowchart of the service testing method, which may include the following steps:
step 701, obtaining the target service to be tested and the parameter information of the computer equipment.
Step 702, determining the logic core occupation amount of the CPU according to the target service.
In step 703, a planned memory footprint corresponding to the logic core footprint is determined according to the logic core footprint.
Step 704, obtaining the memory capacity to be pressurized according to the planned memory amount and the current available memory amount.
Step 705, data filling is performed on the memory capacity that needs to be pressurized.
Step 706, calculating the current memory occupancy rate according to the filled data.
Step 707, obtaining the current power used by the CPU of the computer device corresponding to the current memory occupancy rate.
Step 708, comparing the current power with the target power, if the first difference of subtracting the target power from the current power is greater than the maximum value of the preset range, then step 709 is executed; if the second difference of the target power minus the current power is greater than the maximum value of the preset range, step 710 is performed.
Step 709, reducing the pressurization of the current available memory, and reducing the current memory occupancy rate.
Step 710, continuing to pressurize the current available memory amount to increase the current memory occupancy rate.
Step 711, testing the target service according to the current power until the difference between the current power and the target power is within the preset range.
Step 712, obtaining a running time threshold corresponding to the target service.
Step 713, after the runtime threshold is reached, ends the pressurization of the currently available memory amount.
It should be understood that, although the steps in the flowcharts of fig. 1-7 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in FIGS. 1-7 may include multiple steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of the steps or stages in other steps or other steps.
Accordingly, referring to fig. 8, an embodiment of the present invention provides a service testing apparatus 800, where the service testing apparatus 800 includes: a first acquisition module 810, a pressurization module 820, a second acquisition module 830, an adjustment module 840, and a test module 850, wherein:
the first obtaining module 810 is configured to obtain the target service to be tested and parameter information of the computer device.
And the pressurizing module 820 is configured to pressurize the current available memory of the computer device according to the target service and the parameter information, so as to obtain the current memory occupancy rate.
The second obtaining module 830 is configured to obtain current usage power of a CPU of the computer device corresponding to the current memory occupancy rate.
The adjusting module 840 is configured to adjust the current memory occupancy according to the difference between the current power and the target power until the difference between the current power and the target power is within a preset range.
And a test module 850, configured to test the target service according to the current power.
In one embodiment of the present application, the adjustment module 840 is specifically configured to compare the current usage power with the target usage power; and under the condition that the first difference value of the current use power minus the target use power is larger than the maximum value of the preset range, pressurizing the current available memory amount is reduced, and the current memory occupancy rate is reduced.
In an embodiment of the present application, the adjustment module 840 is further configured to continuously pressurize the current available memory and adjust the current memory occupancy when the second difference of the target usage power minus the current usage power is greater than the maximum value of the preset range.
In one embodiment of the present application, as shown in fig. 9, the pressurizing module 820 includes: a first determination unit 821, a second determination unit 822, and a pressurizing unit 823, in which:
a first determining unit 821 configured to determine a logic core occupation amount of the CPU according to the target service; the logic core occupation amount is used for representing the number of the logic cores of the CPU which is started;
a second determining unit 822, configured to determine a memory capacity to be pressurized according to the occupation amount of the logic core and the current available memory amount;
the pressurizing unit 823 is configured to utilize a preset pressurizing tool to pressurize the memory capacity to be pressurized, so as to obtain the current memory occupancy rate.
In one embodiment of the present application, the pressurizing unit 823 is specifically configured to perform data filling on the memory capacity to be pressurized; and calculating the current memory occupancy rate according to the filled data.
In one embodiment of the present application, the second determining unit 822 is configured to determine a planned memory occupation amount corresponding to the logic core occupation amount according to the logic core occupation amount; and obtaining the memory capacity to be pressurized according to the planned memory quantity and the current available memory quantity.
In one embodiment of the present application, as shown in fig. 10, the service testing apparatus 800 further includes:
And a third obtaining module 860, configured to obtain a runtime threshold corresponding to the target service.
An end module 870 for ending pressurizing the currently available amount of memory after the runtime threshold is reached.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 11. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a business testing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 12. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing business test data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a business testing method.
It will be appreciated by those skilled in the art that the structures shown in FIGS. 11 and 12 are block diagrams of only some of the structures associated with the present inventive arrangements and are not limiting of the computer device to which the present inventive arrangements may be implemented, and that a particular computer device may include more or fewer components than shown, or may be combined with certain components, or may have a different arrangement of components.
In one embodiment of the application, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the model training is divided into a file name reading stage, a data reading analysis stage and a training stage; the processor, when executing the computer program, performs the steps of: acquiring parameter information of a target service to be tested and computer equipment; pressurizing the current available memory amount of the computer equipment according to the target service and the parameter information to obtain the current memory occupancy rate; acquiring the current use power of a CPU (central processing unit) of the computer equipment corresponding to the current memory occupancy rate; according to the difference value between the current use power and the target use power, the current memory occupancy rate is adjusted until the difference value between the current use power and the target use power is within a preset range; and testing the target service according to the current power.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: comparing the current use power with the target use power; if the first difference value of the current power minus the target power is larger than the maximum value of the preset range, the pressurization of the current available memory is reduced, and the current memory occupancy rate is reduced.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: if the second difference value of the target used power minus the current used power is larger than the maximum value of the preset range, the current available memory amount is continuously pressurized, and the current memory occupancy rate is increased.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: determining the occupation amount of logic cores of the CPU according to the target service; the logic core occupation amount is used for representing the number of the logic cores of the CPU which is started; determining the memory capacity to be pressurized according to the occupation amount of the logic core and the current available memory amount; and pressurizing the memory capacity to be pressurized by utilizing a preset pressurizing tool to obtain the current memory occupancy rate.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: filling data into the memory capacity to be pressurized; and calculating the current memory occupancy rate according to the filled data.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: determining a planned memory occupation corresponding to the logic core occupation according to the logic core occupation; and obtaining the memory capacity to be pressurized according to the planned memory quantity and the current available memory quantity.
In one embodiment of the application, the processor when executing the computer program further performs the steps of: acquiring a running time threshold corresponding to a target service; after the runtime threshold is reached, the pressurization of the currently available memory amount is ended.
In one embodiment of the present application, a computer-readable storage medium having stored thereon a computer program for classifying model training into a filename reading phase, a data reading parsing phase, and a training phase is provided; the computer program when executed by a processor performs the steps of: acquiring parameter information of a target service to be tested and computer equipment; pressurizing the current available memory amount of the computer equipment according to the target service and the parameter information to obtain the current memory occupancy rate; acquiring the current use power of a CPU (central processing unit) of the computer equipment corresponding to the current memory occupancy rate; according to the difference value between the current use power and the target use power, the current memory occupancy rate is adjusted until the difference value between the current use power and the target use power is within a preset range; and testing the target service according to the current power.
In one embodiment of the application, the computer program when executed by the processor further implements the steps of: comparing the current use power with the target use power; if the first difference value of the current power minus the target power is larger than the maximum value of the preset range, the pressurization of the current available memory is reduced, and the current memory occupancy rate is reduced.
In one embodiment of the application, the computer program when executed by the processor further implements the steps of: if the second difference value of the target used power minus the current used power is larger than the maximum value of the preset range, the current available memory amount is continuously pressurized, and the current memory occupancy rate is increased.
In one embodiment of the application, the computer program when executed by the processor further implements the steps of: determining the occupation amount of logic cores of the CPU according to the target service; the logic core occupation amount is used for representing the number of the logic cores of the CPU which is started; determining the memory capacity to be pressurized according to the occupation amount of the logic core and the current available memory amount; and pressurizing the memory capacity to be pressurized by utilizing a preset pressurizing tool to obtain the current memory occupancy rate.
In one embodiment of the application, the computer program when executed by the processor further implements the steps of: filling data into the memory capacity to be pressurized; and calculating the current memory occupancy rate according to the filled data.
In one embodiment of the application, the computer program when executed by the processor further implements the steps of: determining a planned memory occupation corresponding to the logic core occupation according to the logic core occupation; and obtaining the memory capacity to be pressurized according to the planned memory quantity and the current available memory quantity.
In one embodiment of the application, the computer program when executed by the processor further implements the steps of: acquiring a running time threshold corresponding to a target service; after the runtime threshold is reached, the pressurization of the currently available memory amount is ended.
It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment method may be implemented by a computer program to instruct related hardware, where the program may be stored in a computer readable storage medium, and the program may include the above-described embodiment method when executed. Wherein the storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a Flash Memory (Flash Memory), a Hard Disk (HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although embodiments of the present application have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the application, and such modifications and variations are within the scope of the application as defined by the appended claims.

Claims (6)

1. A method for testing traffic, the method comprising:
acquiring parameter information of a target service to be tested and computer equipment;
determining the occupation amount of logic cores of a CPU according to the target service, wherein the occupation amount of the logic cores is used for representing the number of the started logic cores of the CPU;
determining a planned memory occupation corresponding to the logic core occupation according to the logic core occupation;
obtaining the memory capacity to be pressurized according to the planned memory occupation amount and the current available memory amount of the computer equipment;
pressurizing the memory capacity to be pressurized by using a preset pressurizing tool to obtain the current memory occupancy rate;
acquiring the current use power of the CPU of the computer equipment corresponding to the current memory occupancy rate;
comparing the current use power with a target use power;
if the first difference value of the current use power minus the target use power exceeds the maximum value of a preset range, pressurizing the current available memory amount is reduced, and the current memory occupancy rate is reduced until the first difference value between the current use power and the target use power is within the preset range;
If the second difference value of the target used power minus the current used power exceeds the maximum value of the preset range, continuing to pressurize the current available memory amount, and adjusting the current memory occupancy rate until the second difference value between the current used power and the target used power is within the preset range;
and testing the target service according to the current use power.
2. The method of claim 1, wherein the pressurizing the memory capacity to be pressurized with a preset pressurizing tool to obtain a current memory occupancy rate comprises:
filling data into the memory capacity to be pressurized;
and calculating the current memory occupancy rate according to the filled data.
3. The method according to claim 1, wherein the method further comprises:
acquiring a running time threshold corresponding to the target service;
after the run-time threshold is reached, the pressurizing of the currently available amount of memory is ended.
4. A traffic testing device, the device comprising:
the first acquisition module is used for acquiring target service to be tested and parameter information of the computer equipment;
The pressurizing module is used for determining the occupation amount of the logic cores of the CPU according to the target service, wherein the occupation amount of the logic cores is used for representing the number of the opened logic cores of the CPU;
the pressurizing module is further used for determining a planned memory occupation amount corresponding to the logic core occupation amount according to the logic core occupation amount;
the pressurizing module is further used for obtaining the memory capacity to be pressurized according to the planned memory occupation amount and the current available memory amount of the computer equipment;
the pressurizing module is further used for pressurizing the memory capacity to be pressurized by utilizing a preset pressurizing tool to obtain the current memory occupancy rate;
the second acquisition module is used for acquiring the current use power of the CPU of the computer equipment corresponding to the current memory occupancy rate;
the adjusting module is used for comparing the current use power with the target use power;
the adjusting module is further configured to reduce pressurization of the current available memory amount if a first difference value of the current used power minus the target used power exceeds a maximum value of a preset range, and adjust the current memory occupancy rate until the first difference value between the current used power and the target used power is within the preset range;
The adjusting module is further configured to continuously pressurize the current available memory amount if the second difference value of the target used power minus the current used power exceeds the maximum value of the preset range, and adjust the current memory occupancy rate until the second difference value between the current used power and the target used power is within the preset range;
and the testing module is used for testing the target service according to the current use power.
5. A computer device, comprising: a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the business testing method of any of claims 1-3.
6. A computer readable storage medium having stored thereon computer instructions for causing the computer to perform the business testing method of any of claims 1-3.
CN202111159808.0A 2021-09-30 2021-09-30 Service testing method, device, computer equipment and storage medium Active CN114003373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111159808.0A CN114003373B (en) 2021-09-30 2021-09-30 Service testing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111159808.0A CN114003373B (en) 2021-09-30 2021-09-30 Service testing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114003373A CN114003373A (en) 2022-02-01
CN114003373B true CN114003373B (en) 2023-11-03

Family

ID=79922181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111159808.0A Active CN114003373B (en) 2021-09-30 2021-09-30 Service testing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114003373B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032324A (en) * 2018-07-03 2018-12-18 北京百度网讯科技有限公司 Data center's power management-control method, device, equipment and computer-readable medium
CN110262977A (en) * 2019-06-24 2019-09-20 深圳前海微众银行股份有限公司 A kind of full link performance test method, calculates equipment and storage medium at device
CN111240913A (en) * 2020-01-07 2020-06-05 苏州浪潮智能科技有限公司 Server DQS error-reporting memory batch test method and device
CN111581043A (en) * 2019-07-29 2020-08-25 新华三信息技术有限公司 Server power consumption monitoring method and device and server
CN112379766A (en) * 2020-11-25 2021-02-19 航天通信中心 Data processing method, data processing device, nonvolatile storage medium and processor
CN112416671A (en) * 2020-11-12 2021-02-26 宁畅信息产业(北京)有限公司 CPU stability testing method and device, computer equipment and storage medium
CN112667493A (en) * 2020-12-09 2021-04-16 苏州浪潮智能科技有限公司 Pressure test method and device for simulating board card and application to fully occupy CPU resource

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032324A (en) * 2018-07-03 2018-12-18 北京百度网讯科技有限公司 Data center's power management-control method, device, equipment and computer-readable medium
CN110262977A (en) * 2019-06-24 2019-09-20 深圳前海微众银行股份有限公司 A kind of full link performance test method, calculates equipment and storage medium at device
CN111581043A (en) * 2019-07-29 2020-08-25 新华三信息技术有限公司 Server power consumption monitoring method and device and server
CN111240913A (en) * 2020-01-07 2020-06-05 苏州浪潮智能科技有限公司 Server DQS error-reporting memory batch test method and device
CN112416671A (en) * 2020-11-12 2021-02-26 宁畅信息产业(北京)有限公司 CPU stability testing method and device, computer equipment and storage medium
CN112379766A (en) * 2020-11-25 2021-02-19 航天通信中心 Data processing method, data processing device, nonvolatile storage medium and processor
CN112667493A (en) * 2020-12-09 2021-04-16 苏州浪潮智能科技有限公司 Pressure test method and device for simulating board card and application to fully occupy CPU resource

Also Published As

Publication number Publication date
CN114003373A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
US8756600B2 (en) Judging apparatus, method, and recording medium of program for estimating the effect of deployment of an application in a virtual machine environment
US20190245756A1 (en) Performance adjustment method, apparatus for peformance adjustment, and non-transitory computer-readable storage medium for storing program
US20090326869A1 (en) Performance evaluating apparatus
CN107943579B (en) Resource bottleneck prediction method, device, system and readable storage medium
CN110297743B (en) Load testing method and device and storage medium
CN109408399A (en) A kind of calculation power estimation method, device, equipment and storage medium
US20120151065A1 (en) Resource allocation for video playback
CN114003373B (en) Service testing method, device, computer equipment and storage medium
CN116360990B (en) Distributed computing task rationality pre-judging method, system, equipment and storage medium
CN107329881B (en) Application system performance test method and device, computer equipment and storage medium
US20150149103A1 (en) Magnetic body analyzing device and magnetic body analyzing method
CN112416568A (en) Duration estimation method and duration estimation device for audio and video transcoding task
Soysal et al. On the quality of wall time estimates for resource allocation prediction
CN112948109A (en) Quota flexible scheduling method, device and medium for AI computing cluster
US9529688B2 (en) Performance evaluation device and performance evaluation method
CN106961490A (en) A kind of resource monitoring method and system, a kind of home server
CN115373826B (en) Task scheduling method and device based on cloud computing
CN113641674B (en) Self-adaptive global sequence number generation method and device
CN114021733B (en) Model training optimization method, device, computer equipment and storage medium
CN113792995B (en) Method, device, equipment and storage medium for determining power resource dominance degree
CN114490374A (en) Applied pressure test method, electronic device, storage medium, and program product
CN114780250A (en) Method, device, computer equipment, storage medium and product for allocating function memory
CN111159796B (en) Method and device for generating beam of building, computer equipment and storage medium
CN112114967A (en) GPU resource reservation method based on service priority
CN112346863A (en) Method and system for processing dynamic adjustment data of computing resources

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
GR01 Patent grant
GR01 Patent grant