CN118260141A - One-key hybrid press-testing method and device in server reconfiguration scene - Google Patents

One-key hybrid press-testing method and device in server reconfiguration scene Download PDF

Info

Publication number
CN118260141A
CN118260141A CN202410383259.2A CN202410383259A CN118260141A CN 118260141 A CN118260141 A CN 118260141A CN 202410383259 A CN202410383259 A CN 202410383259A CN 118260141 A CN118260141 A CN 118260141A
Authority
CN
China
Prior art keywords
pressure measurement
measurement process
cpu
memory
gpu
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
CN202410383259.2A
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 Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Metabrain 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 Metabrain Intelligent Technology Co Ltd filed Critical Suzhou Metabrain Intelligent Technology Co Ltd
Priority to CN202410383259.2A priority Critical patent/CN118260141A/en
Publication of CN118260141A publication Critical patent/CN118260141A/en
Pending legal-status Critical Current

Links

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
    • 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/2273Test methods
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The application provides a one-key hybrid pressure measurement method and device in a server reconfiguration scene, and relates to the technical field of servers, wherein the method comprises the following steps: responding to the mixed pressure measurement instruction, and obtaining the total number of CPU cores and the total amount of memory of the server after the expansion is changed; based on the total number of CPU cores, allocating a first number of CPU cores to a CPU compression testing process, allocating a second number of CPU cores to a memory compression testing process, and determining the remaining CPU cores common to other processes; calculating the difference between the total memory and the memory capacity required by the system operation, reserving the preset memory capacity for a CPU (central processing unit) compression measurement process, a hard disk compression measurement process, a network card compression measurement process and a GPU (graphics processing unit) compression measurement process based on the difference, and distributing the residual memory capacity to the memory compression measurement process; based on the allocation conditions of the CPU core and the memory capacity, each press measurement process is operated in parallel, so that hardware resources can be reasonably allocated, and one-key hybrid press measurement under the scene of server expansion and allocation can be rapidly, efficiently and conveniently realized.

Description

One-key hybrid press-testing method and device in server reconfiguration scene
Technical Field
The application relates to the technical field of servers, in particular to a one-key hybrid pressure measurement method and device in a server expansion scene.
Background
After the server leaves the factory, the server may be modified (added, reduced or replaced with a part of hardware devices) for various reasons. If the self-expansion is carried out without going through the pressure test link of server delivery, the problems of hardware identification, unstable machine operation and the like can be possibly brought. If the problems are not solved in the early stage, the later stage can bring potential safety hazards for the operation of the server.
At present, in a server expansion scene, simultaneous pressure measurement of multiple components cannot be realized, the components after the expansion need to be subjected to independent pressure measurement one by one, the time is long, and the operation is complex. If multiple components are forced to be pressed simultaneously, the problem of hardware resource occupation can be caused.
Disclosure of Invention
The application aims to provide a one-key hybrid pressure measurement method and device in a server reconfiguration and expansion scene, which are used for reasonably distributing hardware resources and can quickly, efficiently and conveniently realize one-key hybrid pressure measurement in the server reconfiguration and expansion scene.
The application provides a one-key mixed pressure measurement method in a server reconfiguration scene, which comprises the following steps:
Responding to the mixed pressure measurement instruction, and obtaining the total number of CPU cores and the total amount of memory of the server after the expansion is changed;
Based on the total number of CPU cores, a first number of CPU cores are distributed to a CPU compression testing process, a second number of CPU cores are distributed to a memory compression testing process, and the remaining CPU cores which are common to a hard disk compression testing process, a network card compression testing process and a GPU compression testing process are determined;
Calculating a difference value between the total memory and the memory capacity required by the system operation, reserving a preset memory capacity for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process based on the difference value, and distributing the residual memory capacity to the memory pressure measurement process;
And running the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process in parallel based on the allocation conditions of the CPU core and the memory capacity so as to perform one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server.
Optionally, the method further comprises: acquiring input pressure measurement time, hard disk quantity and fixed network port group;
The parallel operation of the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process comprises the following steps:
Running the CPU pressure measurement process, and calling a CPU pressure measurement tool to perform pressure test on the first number of CPU cores in the CPU pressure measurement process;
Running the memory pressure measurement process, and calling a memory pressure measurement tool to perform pressure measurement on the memory with the residual memory capacity in the memory pressure measurement process;
The hard disk pressure measurement process is operated, and a hard disk pressure measurement tool is called in the hard disk pressure measurement process to perform pressure test comprising 128k forced read-write and/or 4k random read-write on the hard disks with the number of the hard disks;
The network card pressure measurement process is operated, a network card pressure measurement tool is called in the network card pressure measurement process, a temporary IP address and a mask are set for the fixed network port group, actual transmission rates of a first network port and a second network port in the fixed network port group in the process of receiving and transmitting packets are monitored, and the network card is subjected to pressure test based on the actual transmission rates and network card standard rates;
And running the GPU pressure testing process, identifying the model of the GPU in the GPU pressure testing process, and calling a GPU pressure testing tool corresponding to the model of the GPU to perform pressure testing on the GPU.
Optionally, the method further comprises: and monitoring the time difference between the current time and the pressure measurement starting time, and forcibly ending the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process under the condition that the time difference is larger than or equal to the pressure measurement time.
Optionally, the method further comprises: and responding to a forced termination instruction of the pressure measurement, and forcibly ending the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process.
Optionally, the method further comprises: in the one-key hybrid pressure measurement process, pressure measurement logs corresponding to the CPU, the memory, the hard disk, the network card and the GPU of the server are generated and stored.
Optionally, the method further comprises:
responding to a pressure measurement process checking instruction, and detecting whether the pressure measurement process corresponding to the target component is running; the target component is any one component of a CPU, a memory, a hard disk, a network card and a GPU of the server;
Under the condition that the pressure measurement process corresponding to the target component is detected to be running, displaying the identification and the name of the pressure measurement process corresponding to the target component;
and displaying prompt information of the non-pressure measurement process of the target component under the condition that the end of the pressure measurement process corresponding to the target component is detected.
Optionally, the method further comprises:
responding to the pressure measurement health degree checking instruction, and extracting health degree information of the target component after the pressure measurement is finished based on each pressure measurement log; the target component is any one component of a CPU, a memory, a hard disk, a network card and a GPU of the server;
Displaying the health degree information; the health degree information comprises detailed information of pressure measurement success or pressure measurement failure.
Optionally, the method further comprises: before each parameter or instruction is entered, a plurality of selectable parameters or selectable instructions are prompted.
Optionally, the method further comprises: as each parameter or instruction is entered, it is detected whether the entered parameter or instruction is valid.
Optionally, the allocating the first number of CPU cores to the CPU compression process, allocating the second number of CPU cores to the memory compression process, and determining remaining CPU cores that are common to the hard disk compression process, the network card compression process, and the GPU compression process based on the total number of CPU cores includes:
Dividing each CPU core of the server into a plurality of CPU core groups based on the total number of CPU cores;
For each CPU core group, equally dividing the CPU cores in the CPU core group into three CPU core subgroups;
Distributing the CPU cores of the first CPU core subgroup to the CPU pressure measurement process;
distributing CPU cores of the second CPU core subgroup to the memory pressure measurement process;
And determining CPU cores of a third CPU core subgroup which are common to the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process.
The application also provides a one-key mixed pressure measurement device in the server expansion scene, which comprises:
The acquisition module is used for responding to the mixed pressure measurement instruction and acquiring the total number of CPU cores and the total amount of memory of the server;
The first allocation module is used for allocating a first number of CPU cores to the CPU compression testing process based on the total number of the CPU cores, allocating a second number of CPU cores to the memory compression testing process, and determining the remaining CPU cores which are commonly used by the hard disk compression testing process, the network card compression testing process and the GPU compression testing process;
the second allocation module is used for calculating the difference between the total memory and the memory capacity required by the system operation, reserving preset memory capacity for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process based on the difference, and allocating the residual memory capacity to the memory pressure measurement process;
The hybrid pressure measurement module is used for running the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process in parallel based on the allocation condition of the CPU core and the memory capacity so as to perform one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server.
The present application also provides a computer program product comprising computer program/instructions which, when executed by a processor, implement the steps of a one-touch hybrid pressure measurement method in a server retrofit deployment scenario as described in any of the above.
The application also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the steps of the one-key hybrid pressure measurement method under the server reconfiguration scene according to any one of the above when executing the program.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a one-touch hybrid pressure measurement method in a server retrofit deployment scenario as described in any of the above.
The application provides a one-key hybrid pressure measurement method and a device under a server expansion scene, wherein, firstly, the total number of CPU cores and the total amount of memory of the server after expansion are obtained in response to a hybrid pressure measurement instruction; then, based on the total number of CPU cores, a first number of CPU cores are distributed to a CPU compression testing process, a second number of CPU cores are distributed to a memory compression testing process, and the remaining CPU cores which are common to the hard disk compression testing process, the network card compression testing process and the GPU compression testing process are determined, so that CPU resources can be reasonably distributed; then, calculating the difference between the total memory and the memory capacity required by the system operation, reserving the preset memory capacity for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process based on the difference, and distributing the residual memory capacity to the memory pressure measurement process so as to reasonably distribute memory resources; finally, based on the allocation situation of the CPU core and the memory capacity, the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process are operated in parallel so as to carry out one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server. Therefore, the application can reasonably allocate hardware resources and can quickly, efficiently and conveniently realize one-key mixed pressure measurement in the server expansion scene.
Drawings
In order to more clearly illustrate the application or the technical solutions of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the application, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow diagram of a one-key hybrid pressure measurement method in a server reconfiguration scenario provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a pressure measurement function option provided by an embodiment of the present application;
FIG. 3 is a schematic diagram of man-machine interaction provided by an embodiment of the present application;
Fig. 4 is a schematic structural diagram of a one-key hybrid pressure measurement device in a server reconfiguration scenario provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms "first," "second," and the like in the description of the present application, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. In addition, "and/or" in the specification means at least one of the connected objects, and the character "/", generally means a relationship in which the associated objects are one kind of "or".
After the server leaves the factory, the server may be modified (added, reduced or replaced with a part of hardware devices) for various reasons. For example: the server shipped from the channel or proxy will generally change the original configuration of the factory due to the configuration requirement, and the industry client purchases the self-adaptation and expansion of the server due to service change or server utilization, etc. If the self-expansion is carried out without going through the pressure test link of server delivery, the problems of hardware identification, unstable machine operation and the like can be possibly brought. If the problems are not solved in the early stage, the later stage can bring potential safety hazards for the operation of the server. Compared with the original factory machine, the expansion server has much higher probability of problem occurrence, much longer maintenance time and much higher maintenance difficulty. In addition, the communication and internet industries have a continuous need for a hybrid pressure measurement of a server to be improved, so that the need for a complete pressure measurement of the server after the server is improved has long been known.
At present, in a server expansion scene, simultaneous pressure measurement of multiple components cannot be realized, the components after the expansion need to be subjected to independent pressure measurement one by one, the time is long, and the operation is complex. If multiple components are forced to be pressed simultaneously, the problem of hardware resource occupation can be caused. Based on this, the embodiment of the application provides a one-key hybrid pressure measurement method and device in a server reconfiguration scene, and the method and device are described in detail below.
The one-key hybrid pressure measurement method in the server reconfiguration and expansion scene provided by the embodiment of the application is described in detail below by means of specific embodiments and application scenes thereof with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flow chart of a one-key hybrid pressure measurement method in a server reconfiguration scenario according to an embodiment of the present application. As shown in fig. 1, the method may include the following steps 101-104.
And step 101, responding to the mixed pressure measurement instruction, and obtaining the total number of CPU cores and the total amount of memory of the server after the expansion.
As shown in fig. 2, mix represents a hybrid pressure measurement instruction for executing a one-key hybrid pressure measurement function of a server after subsequent reconfiguration and expansion; CPU represents a CPU pressure measurement instruction for executing the CPU pressure measurement function of the server after the expansion; the mem represents a memory pressure measurement instruction and is used for executing the memory pressure measurement function of the server after the expansion is changed; the hdd represents a hard disk crush-testing instruction and is used for executing the hard disk crush-testing function of the server after the expansion is changed; nic represents a network card pressure measurement instruction, which is used for executing the network card pressure measurement function of the server after the expansion is changed; GPU represents graphics processor (graphics processing unit, GPU) pressure measurement instructions for performing the GPU pressure measurement functions of the server after the reconfiguration.
Specifically, the total number of CPU cores can be queried through lscpu commands, and the total amount of memory can be queried through free commands. Assuming that the server has two CPUs, each with 36 CPU cores, the total number of CPU cores is 72 cores.
Step 102, based on the total number of CPU cores, allocating a first number of CPU cores to a CPU compression testing process, allocating a second number of CPU cores to a memory compression testing process, and determining the remaining CPU cores which are common to the hard disk compression testing process, the network card compression testing process and the GPU compression testing process.
Specifically, the CPU pressure measurement process monopolizes the first number of CPU cores, and the memory pressure measurement process monopolizes the second number of CPU cores, so that the CPU pressure measurement process and the memory pressure measurement process are not interfered with each other, and the pressure measurement result is not affected. And the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process occupy little CPU core resources, do not need to be allocated with special cores for use, and can share the rest CPU cores.
In one embodiment, step 102 includes: dividing each CPU core of the server into a plurality of CPU core groups based on the total number of CPU cores; for each CPU core group, equally dividing the CPU cores in the CPU core group into three CPU core subgroups; distributing the CPU cores of the first CPU core subgroup to a CPU pressure measurement process; distributing CPU cores of the second CPU core subgroup to a memory pressure measurement process; and determining a CPU core of a third CPU core subgroup which is shared by the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process.
Illustratively, assuming a total of 72 cores, each CPU core of the server is divided into 4 CPU core groups, each of which includes 18 CPU cores. For each CPU core group, the CPU cores in the CPU core group are equally divided into 3 CPU core sub-groups, and each CPU core sub-group comprises 6 CPU cores. The first 6 CPU cores are allocated to the CPU pressure measurement process, and a total of 24 CPU cores are allocated. The middle CPU core is distributed to the memory pressure measurement process, and the total number of CPU cores is 24. The hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process share the last 24 CPU cores.
And step 103, calculating the difference between the total memory and the memory capacity required by the system operation, reserving the preset memory capacity for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process based on the difference, and distributing the residual memory capacity to the memory pressure measurement process.
The difference between the total memory and the memory capacity required by the system operation is calculated, 10G of memory is reserved for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process based on the difference, and the remaining memory capacity is allocated to the memory pressure measurement process, so that the problem that the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process cannot be operated due to the fact that the memory pressure measurement process occupies all the memory can be prevented.
Step 104, based on the allocation situation of the CPU core and the memory capacity, running the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process in parallel so as to perform one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server.
Specifically, after the allocation of the CPU core and the memory capacity is completed, the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process are operated simultaneously, so that the one-key hybrid pressure measurement under the server expansion scene can be realized rapidly, efficiently and conveniently.
In one embodiment, further comprising: acquiring input pressure measurement time, hard disk quantity and fixed network port group;
In step 104, the parallel operation of the CPU compression process, the memory compression process, the hard disk compression process, the network card compression process, and the GPU compression process includes:
Step 1041, running a CPU pressure testing process, and calling a CPU pressure testing tool to perform pressure test on the first number of CPU cores in the CPU pressure testing process.
Illustratively, a CPU pressure test tool, such as mprime tools, is invoked during the CPU pressure test process to perform pressure tests on 24 CPU cores.
Step 1042, running a memory pressure measurement process, and calling a memory pressure measurement tool to perform pressure test on the memory with the residual memory capacity in the memory pressure measurement process.
Illustratively, a memory pressure measurement process is run, in which a memory pressure measurement tool, such as STRESSAPPTEST tools, is invoked to perform pressure testing on the memory of the remaining memory capacity using the allocated 24 cores.
Step 1043, running a hard disk pressure measurement process, and calling a hard disk pressure measurement tool to perform pressure test including 128k forced read-write and/or 4k random read-write on the number of hard disks in the hard disk pressure measurement process.
Illustratively, a hard disk crush process is run, in which a hard disk crush tool, such as a fio tool, is invoked to perform 128k forced read, 128 forced write, 4k random read, 4k random write, etc. tests on the number of hard disks identified by the machine.
Step 1044, running a network card pressure measurement process, calling a network card pressure measurement tool in the network card pressure measurement process, setting a temporary IP address and a mask for the fixed network port group, monitoring actual transmission rates of a first network port and a second network port in the fixed network port group in a packet receiving and transmitting test process, and performing pressure test on the network card based on the actual transmission rates and a network card standard rate.
Illustratively, a network card pressure measurement process is run, in which a network card pressure measurement tool, such as an iperf tool, is invoked to set a temporary IP address and mask for the fixed network port group. The first network port in the fixed network port group defaults to be a receiving end, and the second network port in the fixed network port group defaults to be a transmitting end. And the second network port sends the data packet to the first network port, and the first network port receives the data packet. The network card pressure log records the bandwidth of the network port and the number of the receiving and transmitting packets. And calculating the actual transmission rate by identifying the rate of the network card and the bandwidth and the number of the receiving and transmitting packets recorded in the network card pressure measurement log. Judging whether the actual transmission rate can reach 90% of the standard rate of the network card, and if so, considering that the pressure test is passed.
Step 1045, running a GPU pressure testing process, identifying the model of the GPU in the GPU pressure testing process, and calling a GPU pressure testing tool corresponding to the model of the GPU to perform pressure testing on the GPU.
Illustratively, a GPU press testing process is run, in which a nvidia instruction is used to identify the model of the GPU, and a GPU press testing tool corresponding to the model of the GPU, such as dcgmi tool, fieldiag tool, gpu_burn tool, etc., is called to perform a pressure test on the GPU.
The embodiment of the application provides a one-key hybrid pressure measurement method in a server expansion scene, which comprises the steps of firstly, responding to a hybrid pressure measurement instruction to obtain the total number of CPU cores and the total amount of memory of the server after expansion; then, based on the total number of CPU cores, a first number of CPU cores are distributed to a CPU compression testing process, a second number of CPU cores are distributed to a memory compression testing process, and the remaining CPU cores which are common to the hard disk compression testing process, the network card compression testing process and the GPU compression testing process are determined, so that CPU resources can be reasonably distributed; then, calculating the difference between the total memory and the memory capacity required by the system operation, reserving the preset memory capacity for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process based on the difference, and distributing the residual memory capacity to the memory pressure measurement process so as to reasonably distribute memory resources; finally, based on the allocation situation of the CPU core and the memory capacity, the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process are operated in parallel so as to carry out one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server. Therefore, the embodiment of the application can reasonably allocate hardware resources and can quickly, efficiently and conveniently realize one-key mixed pressure measurement in a server expansion scene.
Further, the embodiment of the application can greatly reduce various unstable factors caused by the non-standard expansion of the server, and naturally also can reduce the difficulty of maintenance of the server.
In one embodiment, further comprising: and monitoring the time difference between the current time and the pressure measurement starting time, and forcibly ending the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process under the condition that the time difference is larger than or equal to the pressure measurement time.
Specifically, the pressure measurement starting time is recorded, the current time is polled every 1 minute, whether the time difference between the current time and the pressure measurement starting time is larger than or equal to the pressure measurement time is judged, if yes, the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process are forcefully ended, and the pressure test in the pressure measurement time can be completed.
In one embodiment, further comprising: and responding to the forced termination instruction of the compression test, and forcibly ending the CPU compression test process, the memory compression test process, the hard disk compression test process, the network card compression test process and the GPU compression test process.
Specifically, if an accident occurs in the pressure test process, a forced termination instruction of the pressure test can be manually input. And responding to the forced termination instruction of the pressure test, and forcibly ending the CPU pressure test process, the memory pressure test process, the hard disk pressure test process, the network card pressure test process and the GPU pressure test process, so that the pressure test process can be manually and forcibly terminated when an accident occurs in the pressure test process.
In one embodiment, further comprising: in the one-key hybrid pressure measurement process, pressure measurement logs corresponding to a CPU, a memory, a hard disk, a network card and a GPU of the server are generated and stored.
Specifically, in the one-key hybrid press-testing process, all functional operations generate task logs, and a baseboard management controller (Baseboard Manager Controller, BMC) records the task logs generated by the server, such as the press-testing logs of the CPU, the memory, the hard disk, the network card and the GPU of the server, so that the log is completely stored, the file can be conveniently reserved, and the traceability of the press-testing result is ensured. For example, the hard disk read-write operation may automatically generate and store a hard disk crush log, where err values that may be generated by hard disk crush are recorded in the hard disk crush log.
In one embodiment, further comprising: responding to a pressure measurement process checking instruction, and detecting whether the pressure measurement process corresponding to the target component is running; the target component is any one component of a CPU, a memory, a hard disk, a network card and a GPU of the server; under the condition that the pressure measurement process corresponding to the target component is detected to be running, displaying the identification and the name of the pressure measurement process corresponding to the target component; and displaying prompt information of the non-pressure measurement process of the target component under the condition that the end of the pressure measurement process corresponding to the target component is detected.
The method includes the steps that a network card pressure measurement process checking instruction is responded, whether the network card pressure measurement process is running or not is detected, if yes, the identification and the name of the network card pressure measurement process are displayed, and otherwise, the prompting information of the network card non-pressure measurement process is displayed, so that the running condition of the network card pressure measurement process can be checked conveniently.
In one embodiment, further comprising: responding to the press measurement health degree checking instruction, and extracting health degree information of the target component after the press measurement is finished based on each press measurement log; the target component is any one component of a CPU, a memory, a hard disk, a network card and a GPU of the server; displaying health degree information; the health information includes detailed information of success or failure of the pressure measurement.
Specifically, in response to the press measurement health degree checking instruction, alarm content in each press measurement log is analyzed, and health degree information of the target component after the press measurement is finished is extracted, wherein the health degree information comprises ok or failed: in detail, ok indicates that the pressure measurement is successful, failed: the detailed information indicates detailed information of the pressure measurement failure, such as component recognition failure, component error reporting, and the like. The health degree information of the target component after the press measurement is displayed on the screen interface, so that an engineer can conveniently check the press measurement health degree of the target component, and the fault hidden danger of the server after the expansion is quickly positioned.
In one embodiment, further comprising: before each parameter or instruction is entered, a plurality of selectable parameters or selectable instructions are prompted.
Illustratively, as shown in fig. 3, before inputting the confirmation operation instruction of the hard disk crush test, "yes" and "no" are prompted for the engineer to select, "yes", which indicates that the engineer inputs the confirmation operation instruction of the hard disk crush test.
Before inputting a first network port and a second network port in the fixed network port group, prompting three alternative network card models, and selecting 'ens f 4' by an engineer, wherein the network port with the network card model of 'ens f 4' is indicated as the first network port by the engineer; the engineer selects "ens4f1" indicating that the engineer inputs the network port of the network card model "ens4f1" as the second network port.
In this embodiment, prompting a plurality of selectable parameters or instructions before entering each parameter or instruction may reduce the use threshold of the tool by the engineer.
In one embodiment, further comprising: as each parameter or instruction is entered, it is detected whether the entered parameter or instruction is valid.
Specifically, when each parameter or instruction is input, whether the input parameter or instruction is valid or not is detected, if yes, the subsequent flow is continued, otherwise, the engineer is prompted to input errors, the input is required to be re-input, the validity and the validity of the input can be ensured, and illegal modification of the data file can be avoided.
In one embodiment, further comprising:
Responding to a pressure measurement instruction aiming at a target component, running a pressure measurement process corresponding to the target component, and calling a pressure measurement tool corresponding to the target component in the pressure measurement process corresponding to the target component to perform pressure test;
Monitoring the time difference between the current time and the pressure measurement starting time, and forcibly ending the pressure measurement process corresponding to the target component under the condition that the time difference is greater than or equal to the pressure measurement time;
Generating and storing a pressure measurement log corresponding to the target component;
responding to the pressure measurement health degree checking instruction, and extracting health degree information of the target component after the pressure measurement is finished based on the pressure measurement log;
displaying health degree information; the health information includes detailed information of success or failure of the pressure measurement.
In the embodiment, the independent pressure measurement of the designated part of the server in the pressure measurement time can be realized, the log is stored completely, the tracing is convenient, the engineer can check the pressure measurement health degree of the target part conveniently, and the fault hidden trouble of the server after the expansion is quickly positioned.
It should be noted that the server may be an X86 platform server, and the one-key hybrid pressure measurement method under the above-mentioned any server reconfiguration scene may be operated under a Linux operating system, and may be developed by using shell language.
It should be noted that, in the one-key hybrid pressure measurement method under the server reconfiguration scene provided by the embodiment of the application, the execution subject may be a one-key hybrid pressure measurement device under the server reconfiguration scene, or a control module for executing the one-key hybrid pressure measurement method under the server reconfiguration scene in the one-key hybrid pressure measurement device under the server reconfiguration scene. In the embodiment of the application, the one-key hybrid pressure measurement device in the server reconfiguration and expansion scene is taken as an example to execute the one-key hybrid pressure measurement method in the server reconfiguration and expansion scene, and the one-key hybrid pressure measurement device in the server reconfiguration and expansion scene provided by the embodiment of the application is described.
It should be noted that, in the embodiment of the present application, the one-key hybrid pressure measurement method in the server reconfiguration scenario shown in the above-mentioned method drawings is exemplified by combining with one drawing in the embodiment of the present application. In specific implementation, the one-key hybrid pressure measurement method in the server reconfiguration scenario shown in the above method drawings may also be implemented in combination with any other drawing that may be combined and is illustrated in the above embodiment, and will not be described herein.
The one-key hybrid pressure measurement device under the server reconfiguration scene provided by the application is described below, and the one-key hybrid pressure measurement method under the server reconfiguration scene described below and the one-key hybrid pressure measurement method under the server reconfiguration scene described above can be correspondingly referred to each other.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a one-key hybrid pressure measurement device in a server reconfiguration scenario according to an embodiment of the present application. As shown in fig. 4, the apparatus may further include:
The acquisition module 10 is used for responding to the mixed pressure measurement instruction and acquiring the total number of CPU cores and the total amount of memory of the server;
The first allocation module 20 is configured to allocate a first number of CPU cores to the CPU compression process, allocate a second number of CPU cores to the memory compression process, and determine remaining CPU cores that are common to the hard disk compression process, the network card compression process, and the GPU compression process, based on the total number of CPU cores;
The second allocation module 30 is configured to calculate a difference between the total memory and a memory capacity required for running the system, reserve a preset memory capacity for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process, and the GPU pressure measurement process based on the difference, and allocate the remaining memory capacity to the memory pressure measurement process;
The hybrid pressure measurement module 40 is configured to run a CPU pressure measurement process, a memory pressure measurement process, a hard disk pressure measurement process, a network card pressure measurement process, and a GPU pressure measurement process in parallel based on allocation conditions of CPU cores and memory capacities, so as to perform one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card, and the GPU of the server.
Optionally, the system further comprises an input module for acquiring input pressure measurement time, hard disk number and fixed network port group;
the hybrid pressure measurement module 40 is specifically configured to:
Running a CPU pressure testing process, and calling a CPU pressure testing tool to perform pressure test on the first number of CPU cores in the CPU pressure testing process;
Running a memory pressure measurement process, and calling a memory pressure measurement tool in the memory pressure measurement process to perform pressure measurement on the memory with the residual memory capacity;
Running a hard disk pressure measurement process, and calling a hard disk pressure measurement tool to perform pressure test comprising 128k forced reading and writing and/or 4k random reading and writing on the number of hard disks in the hard disk pressure measurement process;
Operating a network card pressure measurement process, calling a network card pressure measurement tool in the network card pressure measurement process, setting a temporary IP address and a mask for a fixed network port group, monitoring actual transmission rates of a first network port and a second network port in the fixed network port group in a packet receiving and transmitting test process, and performing pressure test on the network card based on the actual transmission rates and a network card standard rate;
and running a GPU pressure testing process, identifying the model of the GPU in the GPU pressure testing process, and calling a GPU pressure testing tool corresponding to the model of the GPU to perform pressure testing on the GPU.
Optionally, the method further comprises: the first forced ending module is used for monitoring the time difference between the current time and the pressure measurement starting time, and forcedly ending the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process under the condition that the time difference is larger than or equal to the pressure measurement time.
Optionally, the method further comprises: the second forced ending module is used for responding to the forced ending instruction of the pressure measurement and forcedly ending the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process.
Optionally, the method further comprises: and the log storage module is used for generating and storing the press-test logs corresponding to the CPU, the memory, the hard disk, the network card and the GPU of the server in the one-key hybrid press-test process.
Optionally, the method further comprises: the process checking module is specifically used for:
Responding to a pressure measurement process checking instruction, and detecting whether the pressure measurement process corresponding to the target component is running; the target component is any one component of a CPU, a memory, a hard disk, a network card and a GPU of the server;
under the condition that the pressure measurement process corresponding to the target component is detected to be running, displaying the identification and the name of the pressure measurement process corresponding to the target component;
And displaying prompt information of the non-pressure measurement process of the target component under the condition that the end of the pressure measurement process corresponding to the target component is detected.
Optionally, the method further comprises: the health degree checking module is specifically used for:
Responding to the press measurement health degree checking instruction, and extracting health degree information of the target component after the press measurement is finished based on each press measurement log; the target component is any one component of a CPU, a memory, a hard disk, a network card and a GPU of the server;
displaying health degree information; the health information includes detailed information of success or failure of the pressure measurement.
Optionally, the method further comprises: and the prompting module is used for prompting a plurality of selectable parameters or selectable instructions before each parameter or instruction is input.
Optionally, the method further comprises: and the detection module is used for detecting whether the input parameters or instructions are valid or not when each parameter or instruction is input.
Optionally, the first allocation module 20 is specifically configured to:
Dividing each CPU core of the server into a plurality of CPU core groups based on the total number of CPU cores;
For each CPU core group, equally dividing the CPU cores in the CPU core group into three CPU core subgroups;
distributing the CPU cores of the first CPU core subgroup to a CPU pressure measurement process;
distributing CPU cores of the second CPU core subgroup to a memory pressure measurement process;
and determining a CPU core of a third CPU core subgroup which is shared by the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform a one-touch hybrid pressure measurement method in a server retrofit deployment scenario, the method comprising: responding to the mixed pressure measurement instruction, and obtaining the total number of CPU cores and the total amount of memory of the server after the expansion is changed; based on the total number of CPU cores, a first number of CPU cores are distributed to a CPU compression testing process, a second number of CPU cores are distributed to a memory compression testing process, and the remaining CPU cores which are common to a hard disk compression testing process, a network card compression testing process and a GPU compression testing process are determined; calculating the difference between the total memory and the memory capacity required by the system operation, reserving the preset memory capacity for a CPU (central processing unit) compression measurement process, a hard disk compression measurement process, a network card compression measurement process and a GPU (graphics processing unit) compression measurement process based on the difference, and distributing the residual memory capacity to the memory compression measurement process; based on the allocation condition of the CPU core and the memory capacity, the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process are operated in parallel so as to carry out one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present application also provides a computer program product, including a computer program stored on a computer readable storage medium, the computer program including program instructions, which when executed by a computer, enable the computer to perform the one-touch hybrid pressure measurement method in a server reconfiguration scenario provided by the above method embodiments, the method including: responding to the mixed pressure measurement instruction, and obtaining the total number of CPU cores and the total amount of memory of the server after the expansion is changed; based on the total number of CPU cores, a first number of CPU cores are distributed to a CPU compression testing process, a second number of CPU cores are distributed to a memory compression testing process, and the remaining CPU cores which are common to a hard disk compression testing process, a network card compression testing process and a GPU compression testing process are determined; calculating the difference between the total memory and the memory capacity required by the system operation, reserving the preset memory capacity for a CPU (central processing unit) compression measurement process, a hard disk compression measurement process, a network card compression measurement process and a GPU (graphics processing unit) compression measurement process based on the difference, and distributing the residual memory capacity to the memory compression measurement process; based on the allocation condition of the CPU core and the memory capacity, the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process are operated in parallel so as to carry out one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server.
In still another aspect, the present application further provides a computer readable storage medium having stored thereon a computer program, which when executed by a processor, is implemented to perform the one-key hybrid pressure measurement method in the server relocation scenario provided by the above method embodiments, where the method includes: responding to the mixed pressure measurement instruction, and obtaining the total number of CPU cores and the total amount of memory of the server after the expansion is changed; based on the total number of CPU cores, a first number of CPU cores are distributed to a CPU compression testing process, a second number of CPU cores are distributed to a memory compression testing process, and the remaining CPU cores which are common to a hard disk compression testing process, a network card compression testing process and a GPU compression testing process are determined; calculating the difference between the total memory and the memory capacity required by the system operation, reserving the preset memory capacity for a CPU (central processing unit) compression measurement process, a hard disk compression measurement process, a network card compression measurement process and a GPU (graphics processing unit) compression measurement process based on the difference, and distributing the residual memory capacity to the memory compression measurement process; based on the allocation condition of the CPU core and the memory capacity, the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process are operated in parallel so as to carry out one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (13)

1. The one-key hybrid press-testing method in the server reconfiguration scene is characterized by comprising the following steps:
Responding to the mixed pressure measurement instruction, and obtaining the total number of CPU cores and the total amount of memory of the server after the expansion is changed;
Based on the total number of CPU cores, a first number of CPU cores are distributed to a CPU compression testing process, a second number of CPU cores are distributed to a memory compression testing process, and the remaining CPU cores which are common to a hard disk compression testing process, a network card compression testing process and a GPU compression testing process are determined;
Calculating a difference value between the total memory and the memory capacity required by the system operation, reserving a preset memory capacity for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process based on the difference value, and distributing the residual memory capacity to the memory pressure measurement process;
And running the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process in parallel based on the allocation conditions of the CPU core and the memory capacity so as to perform one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server.
2. The method as recited in claim 1, further comprising: acquiring input pressure measurement time, hard disk quantity and fixed network port group;
The parallel operation of the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process comprises the following steps:
Running the CPU pressure measurement process, and calling a CPU pressure measurement tool to perform pressure test on the first number of CPU cores in the CPU pressure measurement process;
Running the memory pressure measurement process, and calling a memory pressure measurement tool to perform pressure measurement on the memory with the residual memory capacity in the memory pressure measurement process;
The hard disk pressure measurement process is operated, and a hard disk pressure measurement tool is called in the hard disk pressure measurement process to perform pressure test comprising 128k forced read-write and/or 4k random read-write on the hard disks with the number of the hard disks;
The network card pressure measurement process is operated, a network card pressure measurement tool is called in the network card pressure measurement process, a temporary IP address and a mask are set for the fixed network port group, actual transmission rates of a first network port and a second network port in the fixed network port group in the process of receiving and transmitting packets are monitored, and the network card is subjected to pressure test based on the actual transmission rates and network card standard rates;
And running the GPU pressure testing process, identifying the model of the GPU in the GPU pressure testing process, and calling a GPU pressure testing tool corresponding to the model of the GPU to perform pressure testing on the GPU.
3. The method as recited in claim 2, further comprising:
And monitoring the time difference between the current time and the pressure measurement starting time, and forcibly ending the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process under the condition that the time difference is larger than or equal to the pressure measurement time.
4. The method as recited in claim 2, further comprising:
And responding to a forced termination instruction of the pressure measurement, and forcibly ending the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process.
5. The method as recited in claim 2, further comprising:
in the one-key hybrid pressure measurement process, pressure measurement logs corresponding to the CPU, the memory, the hard disk, the network card and the GPU of the server are generated and stored.
6. The method as recited in claim 5, further comprising:
responding to a pressure measurement process checking instruction, and detecting whether the pressure measurement process corresponding to the target component is running; the target component is any one component of a CPU, a memory, a hard disk, a network card and a GPU of the server;
Under the condition that the pressure measurement process corresponding to the target component is detected to be running, displaying the identification and the name of the pressure measurement process corresponding to the target component;
and displaying prompt information of the non-pressure measurement process of the target component under the condition that the end of the pressure measurement process corresponding to the target component is detected.
7. The method as recited in claim 5, further comprising:
responding to the pressure measurement health degree checking instruction, and extracting health degree information of the target component after the pressure measurement is finished based on each pressure measurement log; the target component is any one component of a CPU, a memory, a hard disk, a network card and a GPU of the server;
Displaying the health degree information; the health degree information comprises detailed information of pressure measurement success or pressure measurement failure.
8. The method according to any one of claims 1 to 7, further comprising:
Before each parameter or instruction is entered, a plurality of selectable parameters or selectable instructions are prompted.
9. The method as recited in claim 8, further comprising:
as each parameter or instruction is entered, it is detected whether the entered parameter or instruction is valid.
10. The method of claim 1, wherein assigning a first number of CPU cores to a CPU compression process, a second number of CPU cores to a memory compression process, and determining remaining CPU cores common to a hard disk compression process, a network card compression process, and a GPU compression process based on the total number of CPU cores comprises:
Dividing each CPU core of the server into a plurality of CPU core groups based on the total number of CPU cores;
For each CPU core group, equally dividing the CPU cores in the CPU core group into three CPU core subgroups;
Distributing the CPU cores of the first CPU core subgroup to the CPU pressure measurement process;
distributing CPU cores of the second CPU core subgroup to the memory pressure measurement process;
And determining CPU cores of a third CPU core subgroup which are common to the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process.
11. The utility model provides a server changes one-key under configuration scene and mixes pressure survey device which characterized in that includes:
The acquisition module is used for responding to the mixed pressure measurement instruction and acquiring the total number of CPU cores and the total amount of memory of the server;
The first allocation module is used for allocating a first number of CPU cores to the CPU compression testing process based on the total number of the CPU cores, allocating a second number of CPU cores to the memory compression testing process, and determining the remaining CPU cores which are commonly used by the hard disk compression testing process, the network card compression testing process and the GPU compression testing process;
the second allocation module is used for calculating the difference between the total memory and the memory capacity required by the system operation, reserving preset memory capacity for the CPU pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process based on the difference, and allocating the residual memory capacity to the memory pressure measurement process;
The hybrid pressure measurement module is used for running the CPU pressure measurement process, the memory pressure measurement process, the hard disk pressure measurement process, the network card pressure measurement process and the GPU pressure measurement process in parallel based on the allocation condition of the CPU core and the memory capacity so as to perform one-key hybrid pressure measurement on the CPU, the memory, the hard disk, the network card and the GPU of the server.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the one-touch hybrid pressure measurement method in a server retrofit kit according to any one of claims 1 to 10 when the program is executed by the processor.
13. A computer readable storage medium, characterized in that it has stored thereon a computer program which, when executed by a processor, implements the steps of the one-touch hybrid pressure measurement method in a server retrofit deployment scenario according to any of claims 1 to 10.
CN202410383259.2A 2024-03-30 2024-03-30 One-key hybrid press-testing method and device in server reconfiguration scene Pending CN118260141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410383259.2A CN118260141A (en) 2024-03-30 2024-03-30 One-key hybrid press-testing method and device in server reconfiguration scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410383259.2A CN118260141A (en) 2024-03-30 2024-03-30 One-key hybrid press-testing method and device in server reconfiguration scene

Publications (1)

Publication Number Publication Date
CN118260141A true CN118260141A (en) 2024-06-28

Family

ID=91604910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410383259.2A Pending CN118260141A (en) 2024-03-30 2024-03-30 One-key hybrid press-testing method and device in server reconfiguration scene

Country Status (1)

Country Link
CN (1) CN118260141A (en)

Similar Documents

Publication Publication Date Title
CN104834602B (en) A kind of program dissemination method, device and program delivery system
US8627146B2 (en) Model-based testing of an application program under test
CN110058920B (en) Virtual machine performance detection method and device, electronic equipment and storage medium
CN108763089B (en) Test method, device and system
CN111147322A (en) Test system and method for micro service architecture of 5G core network
CN104246714A (en) Software defect verification
CN110088744A (en) A kind of database maintenance method and its system
WO2019128299A1 (en) Test system and test method
CN112269697B (en) Equipment storage performance testing method, system and related device
CN113419747A (en) Middleware deployment method, device, equipment and storage medium
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN115632706B (en) FC link management method, device, equipment and readable storage medium
CN112650676A (en) Software testing method, device, equipment and storage medium
CN111258591A (en) Program deployment task execution method and device, computer equipment and storage medium
CA3127343A1 (en) Test data acquisition method and device, computer equipment and storage medium
CN115562926A (en) Server pressure testing method, system, device and computer readable storage medium
CN107257290A (en) A kind of method of testing and system of open SOA Service-Oriented Architecture Baseds
CN118260141A (en) One-key hybrid press-testing method and device in server reconfiguration scene
CN116955193A (en) Interface testing method, device, equipment and storage medium
CN115883138A (en) Method, device, equipment and medium for polling running state of airborne entertainment system
CN115733741A (en) Abnormal scene testing method and device for system to be tested
CN109039770B (en) Server CMC refreshing method and device and related equipment
CN110362464B (en) Software analysis method and equipment
CN113938399A (en) Special line opening method and device
CN112148621A (en) Test method and device and electronic equipment

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