CN113608939A - Server starting timing method, device, terminal and storage medium in performance test - Google Patents

Server starting timing method, device, terminal and storage medium in performance test Download PDF

Info

Publication number
CN113608939A
CN113608939A CN202110736600.4A CN202110736600A CN113608939A CN 113608939 A CN113608939 A CN 113608939A CN 202110736600 A CN202110736600 A CN 202110736600A CN 113608939 A CN113608939 A CN 113608939A
Authority
CN
China
Prior art keywords
starting
time
server
performance test
operating system
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.)
Withdrawn
Application number
CN202110736600.4A
Other languages
Chinese (zh)
Inventor
魏浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110736600.4A priority Critical patent/CN113608939A/en
Publication of CN113608939A publication Critical patent/CN113608939A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3419Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment by assessing time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method, a device, a terminal and a storage medium for timing server starting in a performance test, wherein in the process of starting a server, the running time node of a relevant program is recorded; processing the recorded running time nodes of the related programs to obtain the starting time of the related programs; comparing the obtained starting time length of the related program with the corresponding standard time length; if the starting time length of the relevant program is within the corresponding standard time length range, the relevant program is started normally, and the performance test is continuously executed; otherwise, starting the abnormal condition, exiting the current performance test and saving the performance test environment. The method automatically monitors the restarting process of the server, monitors whether the starting process of the server is normal or not according to the starting duration of each program, further judges whether the performance test is normal or not, finds the abnormality in time, and reserves the test environment when the abnormality occurs so as to facilitate the testers to quickly locate the problem.

Description

Server starting timing method, device, terminal and storage medium in performance test
Technical Field
The invention relates to the field of server performance test, in particular to a method and a device for starting timing of a server in the performance test, a terminal and a storage medium.
Background
In server performance tests, such as stability tests, slow entry into the system may occur probabilistically, for example, a normal landing system may take about 5 minutes or so, but in one or several times, it may take tens of minutes or hours to enter the system. However, the tester cannot monitor each system restart, so a means is needed to monitor the system time of each restart to determine whether the performance test is normal.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method, an apparatus, a terminal and a storage medium for timing a server start in a performance test, which can monitor and process a relevant time in each restart process, so as to monitor whether the performance test is normally performed.
In a first aspect, a technical solution of the present invention provides a method for starting timing of a server in a performance test, including the following steps:
recording the running time nodes of the relevant programs in the starting process of the server;
processing the recorded running time nodes of the related programs to obtain the starting time of the related programs;
comparing the obtained starting time length of the related program with the corresponding standard time length;
if the starting time length of the relevant program is within the corresponding standard time length range, the relevant program is started normally, and the performance test is continuously executed; otherwise, starting the abnormal condition, exiting the current performance test and saving the performance test environment.
Further, the recorded relevant program runtime nodes include a BIOS start time node, an operating system start load time node, and an operating system start completion time node.
Further, determining a BIOS start time node through a BMC chip log;
searching related keywords in a messages log of the operating system to determine a time node for starting loading of the operating system;
and adding a date instruction in an environment configuration file of the operating system to determine the starting completion time node of the operating system.
Further, the processing the recorded relevant program running time node specifically includes:
the recorded relevant program runtime nodes are converted into the form of seconds.
Further, obtaining the starting duration of the related program specifically includes:
subtracting the BIOS starting time node from the operating system loading starting time node to obtain the BIOS starting time length;
subtracting the operating system loading starting time node from the operating system starting completion time node to obtain an operating system starting duration;
and adding the BIOS starting time length with the operating system starting time length to obtain the whole starting time length of the server.
Further, the method comprises the following steps:
and before the performance test starts, synchronizing the time of the BIOS, the operating system and the BMC chip.
Further, the method comprises the following steps:
and generating a corresponding table by the recorded running time nodes of the related programs and the obtained starting time of the related programs, and drawing the table to display.
In a second aspect, the present invention provides a device for starting timing by a server in a performance test, including,
a time node recording module: recording the running time nodes of the relevant programs in the starting process of the server;
a starting time length calculating module: processing the recorded running time nodes of the related programs to obtain the starting time of the related programs;
a starting time comparison module: comparing the obtained starting time length of the related program with the corresponding standard time length;
a starting result execution module: if the starting time length of the relevant program is within the corresponding standard time length range, the relevant program is started normally, and the performance test is continuously executed; otherwise, starting the abnormal condition, exiting the current performance test and saving the performance test environment.
In a third aspect, a technical solution of the present invention provides a terminal, including:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform any of the methods described above.
In a fourth aspect, the invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the method of any one of the above.
Compared with the prior art, the method, the device, the terminal and the storage medium for starting and timing the server in the performance test have the following beneficial effects that: recording each relevant time node in the starting process of the server, calculating the starting time of each program according to the recorded time nodes, comparing the actual starting time with the standard time, and judging whether the time starting time is normal or not, so as to monitor whether the starting process of the server is normal or not and further judge whether the performance test is normal or not. The method automatically monitors the restarting process of the server, monitors whether the starting process of the server is normal or not according to the starting duration of each program, further judges whether the performance test is normal or not, finds the abnormality in time, and reserves the test environment when the abnormality occurs so as to facilitate the testers to quickly locate the problem.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating a method for starting timing of a server in a performance test according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for starting timing of a server in a performance test according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for starting timing of a server in a performance test according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The core of the invention is to provide a method, a device, a terminal and a storage medium for timing the starting of a server in a performance test, automatically monitoring each time node in the restarting process of the server, calculating the starting time of each program according to the time node, judging whether the performance test is normal or not based on the starting time of each program, and finding and positioning problems in time.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
In server performance tests, such as stability tests, slow entry into the system may occur probabilistically, for example, a normal landing system may take about 5 minutes or so, but in one or several times, it may take tens of minutes or hours to enter the system. However, the tester cannot monitor each system restart, so a means is needed to monitor the system time of each restart to determine whether the performance test is normal.
Therefore, the present embodiment provides a method for starting a timing by a server in a performance test, which automatically monitors a system time of each restart, and further determines whether the performance test is normal.
As shown in fig. 1, the method for starting timing of a server in a performance test provided in this embodiment includes the following steps.
And S1, recording the relevant program running time node in the process of starting the server.
In the process of starting the server, the BIOS (Basic Input Output System) and the operating System need to be started, and in order to monitor whether the starting process is normal, the time consumption of the BIOS starting process and the operating System starting process needs to be known, and further the time consumption of the whole starting process of the server can be known, and whether the starting is normal can be judged according to the starting process duration of each process.
In order to implement the use of each program starting process, the record of the program running time node in the server starting process in this embodiment includes a BIOS start time node, an operating system start load time node, and an operating system start completion time node. The time length of the BIOS starting process, the time length of the operating system starting process and the time length of the whole starting process of the server can be calculated through the three time nodes.
And S2, processing the recorded relevant program running time nodes to obtain the relevant program starting time length.
The time node acquired from the relevant file or instruction cannot normally be arithmetically operated, so the present embodiment converts the initially acquired time node into a form in which an arithmetic operation can be performed, so as to calculate the start-up time period from the time node.
As described above, the relevant program start duration obtained in this embodiment includes the BIOS start duration, the operating system start duration, and the entire server start duration.
And S3, comparing the obtained starting time length of the relevant program with the corresponding standard time length.
And presetting standard time length, comparing the preset standard time length with the actual program starting time length after the actual program starting time length is obtained, and judging whether the actual program starting time length exceeds the standard time length.
S4, if the starting time length of the relevant program is within the corresponding standard time length range, the starting is normal, and the performance test is continuously executed; otherwise, starting the abnormal condition, exiting the current performance test and saving the performance test environment.
If the starting time of the relevant program exceeds the standard time, the server is indicated to be abnormally started, the performance test is abnormal, the test is stopped at the moment, and the performance test environment is stored, so that a tester can locate the fault in time.
In the method for timing the server start in the performance test provided by this embodiment, each relevant time node is recorded in the server start process, the start duration of each program is calculated according to the recorded time nodes, and the actual start duration is compared with the standard duration to determine whether the time start duration is normal, so as to monitor whether the server start process is normal, and further determine whether the performance test is normal. The method automatically monitors the restarting process of the server, monitors whether the starting process of the server is normal or not according to the starting duration of each program, further judges whether the performance test is normal or not, finds the abnormality in time, and reserves the test environment when the abnormality occurs so that a tester can quickly locate the problem.
Example two
To further explain the present invention, this embodiment provides a method for starting timing of a server in a performance test, which explains the present invention in detail.
As shown in fig. 2, the method for starting timing of a server in a performance test provided in this embodiment includes the following steps.
SS1 synchronizes the BIOS, operating system, and BMC chip time before performance testing begins.
Considering that the method of this embodiment needs to record the running time node of each program, and the specific recording needs to be obtained from the related files or instructions of the BIOS, the operating system, and the BMC (Baseboard Management Controller) chip, before the performance test starts, this embodiment synchronizes the time of the BIOS, the operating system, and the BMC chip, so as to prevent the subsequent recording time node from being incorrect and affecting the result judgment.
SS2, during server startup, records the relevant program runtime nodes.
In the process of starting the server, the BIOS (Basic Input Output System) and the operating System need to be started, and in order to monitor whether the starting process is normal, the time consumption of the BIOS starting process and the operating System starting process needs to be known, and further the time consumption of the whole starting process of the server can be known, and whether the starting is normal can be judged according to the starting process duration of each process.
In order to implement the use of each program starting process, the record of the program running time node in the server starting process in this embodiment includes a BIOS start time node, an operating system start load time node, and an operating system start completion time node. The time length of the BIOS starting process, the time length of the operating system starting process and the time length of the whole starting process of the server can be calculated through the three time nodes.
For the records of three time nodes, i.e., the BIOS start time node, the operating system start loading time node, and the operating system start completion time node, this embodiment obtains the records through a related log file, etc. The method comprises the following specific steps:
(1) BIOS start time node
When the power key of the server is pressed, the BIOS sends a hot reset signal through the sys _ restart sensor to inform the BMC chip. According to the signal sending time, the bios starting time node is determined through the BMC chip log.
(2) Operating system start loading time node
And the next step is to load a GRUB file after the BIOS initialization is completed, and the time when the BIOS completes the initialization, namely the time when the operating system starts to load is determined according to the loading time of the GRUB file. When the operating system is started, the operating system starts the rsyslog service, and the service records all the starting related logs of the system and the starting time of the logs. After the operating system is started, the vmlinux file is loaded first, and in the messages log, the Command line key words can be checked to determine the system starting time point. Therefore, the embodiment finds the relevant keyword in the messages log of the operating system to determine the node of the starting loading time of the operating system.
(3) Operating system boot completion time node
The root user is automatically logged in during the system performance test, and then the system performance test is completed through the script in the execution/root/. bashrc (environment configuration file). The operating system boot complete flag is that the operating system auto-login was successful. Add a date instruction in/root/. bashrc to determine the point in time at which the system boot is complete. That is, in this embodiment, a date instruction is added to the environment configuration file of the operating system to determine the node of the start completion time of the operating system.
And the SS3 processes the recorded related program running time nodes to obtain the starting time length of the related program.
The time node acquired from the relevant file or instruction cannot normally be arithmetically operated, so the present embodiment converts the initially acquired time node into a form in which an arithmetic operation can be performed, so as to calculate the start-up time period from the time node.
For example, in linux shell, since arithmetic operations cannot be performed on the default time format "Mon Jun 2102: 33:30 EDT 2021", the acquired time is processed and displayed in seconds(s) in its entirety. The implementation method comprises the following steps: date +% s-d "Mon Jun 2102: 33:30 EDT 2021".
As described above, the relevant program start duration obtained in this embodiment includes the BIOS start duration, the operating system start duration, and the entire server start duration.
The specific calculation process for obtaining each starting duration in this embodiment is as follows:
subtracting the BIOS starting time node from the operating system loading starting time node to obtain the BIOS starting time length;
subtracting the operating system loading starting time node from the operating system starting completion time node to obtain an operating system starting duration;
and adding the BIOS starting time length with the operating system starting time length to obtain the whole starting time length of the server.
The BIOS start time is BIOS initialization time.
It should be noted that, after each time duration is calculated, each time duration is stored, so as to facilitate the subsequent comparison with the standard time duration.
And SS4, comparing the obtained starting time length of the related program with the corresponding standard time length.
And presetting standard time length, comparing the preset standard time length with the actual program starting time length after the actual program starting time length is obtained, and judging whether the actual program starting time length exceeds the standard time length.
SS5, if the starting time of the relevant program is in the corresponding standard time range, the starting is normal, and the performance test is continuously executed; otherwise, starting the abnormal condition, exiting the current performance test and saving the performance test environment.
If the starting time of the relevant program exceeds the standard time, the server is indicated to be abnormally started, the performance test is abnormal, the test is stopped at the moment, and the performance test environment is stored, so that a tester can locate the fault in time.
And the SS6 generates a corresponding table by the recorded operation time nodes of the related programs and the obtained start time of the related programs, and draws the table to display.
In the embodiment, each time node and each time duration are displayed in a chart form, so that testers can visually check the information, statistical analysis and the like are performed, and the fault location is facilitated.
In the method for timing the server start in the performance test provided by this embodiment, each relevant time node is recorded in the server start process, the start duration of each program is calculated according to the recorded time nodes, and the actual start duration is compared with the standard duration to determine whether the time start duration is normal, so as to monitor whether the server start process is normal, and further determine whether the performance test is normal. The method automatically monitors the restarting process of the server, monitors whether the starting process of the server is normal or not according to the starting duration of each program, further judges whether the performance test is normal or not, finds the abnormality in time, and reserves the test environment when the abnormality occurs so that a tester can quickly locate the problem.
EXAMPLE III
The embodiment provides a server starting timing device in a performance test, which is used for realizing the server starting timing method in the performance test.
As shown in fig. 3, the server start timing apparatus in the performance test provided by this embodiment includes the following functional modules.
Time node recording module 101: recording the running time nodes of the relevant programs in the starting process of the server;
the start-up time calculation module 102: processing the recorded running time nodes of the related programs to obtain the starting time of the related programs;
the start duration comparison module 103: comparing the obtained starting time length of the related program with the corresponding standard time length;
the activation result execution module 104: if the starting time length of the relevant program is within the corresponding standard time length range, the relevant program is started normally, and the performance test is continuously executed; otherwise, starting the abnormal condition, exiting the current performance test and saving the performance test environment.
The device for timing the start of the server in the performance test of the present embodiment is used to implement the method for timing the start of the server in the performance test, and therefore, the specific implementation of the device may be found in the previous embodiment of the method for timing the start of the server in the performance test, and therefore, reference may be made to the description of the corresponding embodiments of the respective parts, and a description thereof will not be provided herein.
In addition, since the server start timing device in the performance test of this embodiment is used to implement the server start timing method in the performance test, the function corresponds to that of the method described above, and details are not described here.
Example four
Fig. 4 is a schematic structural diagram of a terminal device 300 according to an embodiment of the present invention, where the terminal device 300 may be used to execute a server start timing method in a performance test according to the embodiment of the present invention.
Among them, the terminal apparatus 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
EXAMPLE five
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for starting timing of a server in a performance test is characterized by comprising the following steps:
recording the running time nodes of the relevant programs in the starting process of the server;
processing the recorded running time nodes of the related programs to obtain the starting time of the related programs;
comparing the obtained starting time length of the related program with the corresponding standard time length;
if the starting time length of the relevant program is within the corresponding standard time length range, the relevant program is started normally, and the performance test is continuously executed; otherwise, starting the abnormal condition, exiting the current performance test and saving the performance test environment.
2. The method of claim 1, wherein the associated program runtime nodes include a BIOS boot start time node, an operating system boot load time node, and an operating system boot completion time node.
3. The method for server startup timing in performance testing according to claim 2, wherein the BIOS startup start time node is determined by a BMC chip log;
searching related keywords in a messages log of the operating system to determine a time node for starting loading of the operating system;
and adding a date instruction in an environment configuration file of the operating system to determine the starting completion time node of the operating system.
4. The method for server startup timing in performance testing according to claim 2 or 3, wherein the processing of the recorded relevant program runtime nodes specifically includes:
the recorded relevant program runtime nodes are converted into the form of seconds.
5. The method for timing server startup in performance testing according to claim 4, wherein obtaining the relevant program startup duration specifically includes:
subtracting the BIOS starting time node from the operating system loading starting time node to obtain the BIOS starting time length;
subtracting the operating system loading starting time node from the operating system starting completion time node to obtain an operating system starting duration;
and adding the BIOS starting time length with the operating system starting time length to obtain the whole starting time length of the server.
6. The method for server-initiated timing in performance testing according to claim 5, further comprising the steps of:
and before the performance test starts, synchronizing the time of the BIOS, the operating system and the BMC chip.
7. The method for server-initiated timing in performance testing according to claim 6, further comprising the steps of:
and generating a corresponding table by the recorded running time nodes of the related programs and the obtained starting time of the related programs, and drawing the table to display.
8. A timing device for starting a server in a performance test is characterized by comprising,
a time node recording module: recording the running time nodes of the relevant programs in the starting process of the server;
a starting time length calculating module: processing the recorded running time nodes of the related programs to obtain the starting time of the related programs;
a starting time comparison module: comparing the obtained starting time length of the related program with the corresponding standard time length;
a starting result execution module: if the starting time length of the relevant program is within the corresponding standard time length range, the relevant program is started normally, and the performance test is continuously executed; otherwise, starting the abnormal condition, exiting the current performance test and saving the performance test environment.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202110736600.4A 2021-06-30 2021-06-30 Server starting timing method, device, terminal and storage medium in performance test Withdrawn CN113608939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110736600.4A CN113608939A (en) 2021-06-30 2021-06-30 Server starting timing method, device, terminal and storage medium in performance test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110736600.4A CN113608939A (en) 2021-06-30 2021-06-30 Server starting timing method, device, terminal and storage medium in performance test

Publications (1)

Publication Number Publication Date
CN113608939A true CN113608939A (en) 2021-11-05

Family

ID=78337012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110736600.4A Withdrawn CN113608939A (en) 2021-06-30 2021-06-30 Server starting timing method, device, terminal and storage medium in performance test

Country Status (1)

Country Link
CN (1) CN113608939A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114546027A (en) * 2022-02-24 2022-05-27 武汉中旗生物医疗电子有限公司 Data acquisition time correction method, device, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114546027A (en) * 2022-02-24 2022-05-27 武汉中旗生物医疗电子有限公司 Data acquisition time correction method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110162435B (en) Method, system, terminal and storage medium for starting and testing PXE of server
US5987625A (en) Method and apparatus for testing network bootable devices
CN115827111A (en) Method and device for adjusting server startup items, storage medium and electronic device
CN111966380A (en) BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
CN113608939A (en) Server starting timing method, device, terminal and storage medium in performance test
US9465626B2 (en) Method and apparatus for acquiring time spent on system shutdown
CN111176917B (en) Method, system, terminal and storage medium for testing stability of CPU SST-BF function
CN111176958A (en) Information monitoring method, system and storage medium
CN115934446A (en) Self-checking method, server, equipment and storage medium
CN115827298A (en) Server startup fault positioning method and device, terminal and storage medium
CN114153503A (en) BIOS control method, device and medium
CN115098342A (en) System log collection method, system, terminal and storage medium
CN112486785B (en) Method, system, terminal and storage medium for positioning downtime phase of server
CN106130815B (en) Board level testing method and device
CN111858198A (en) Multi-scheme memory plugging test method, system, terminal and storage medium
CN113010422A (en) Mirror image file testing method and device, electronic equipment and readable storage medium
CN110908725A (en) Application program starting method and device, electronic equipment and readable medium
CN110543459A (en) Method, system, terminal and storage medium for acquiring file lock state under NFS
CN110989814A (en) Server protection method, device and equipment
CN111026623A (en) BMC running time testing method, system, terminal and storage medium
CN114443446B (en) Hard disk indicator lamp control method, system, terminal and storage medium
JP7368552B1 (en) Information processing device and control method
CN113064793B (en) Bus equipment position information polling collection method, system, terminal and storage medium
CN111327722B (en) Conflict detection method, system, terminal and storage medium for static IP and dynamic IP

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20211105