[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111176917B - Method, system, terminal and storage medium for testing stability of CPU SST-BF function - Google Patents

Method, system, terminal and storage medium for testing stability of CPU SST-BF function Download PDF

Info

Publication number
CN111176917B
CN111176917B CN201911371619.2A CN201911371619A CN111176917B CN 111176917 B CN111176917 B CN 111176917B CN 201911371619 A CN201911371619 A CN 201911371619A CN 111176917 B CN111176917 B CN 111176917B
Authority
CN
China
Prior art keywords
cores
test
cpu
frequency
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911371619.2A
Other languages
Chinese (zh)
Other versions
CN111176917A (en
Inventor
刘瑞雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911371619.2A priority Critical patent/CN111176917B/en
Publication of CN111176917A publication Critical patent/CN111176917A/en
Application granted granted Critical
Publication of CN111176917B publication Critical patent/CN111176917B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • 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
    • G06F9/4451User profiles; Roaming
    • 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a method, a system, a terminal and a storage medium for testing the functional stability of a CPU SST-BF, comprising the following steps: acquiring the number of CPU cores and the number of frequency-raising cores, and taking the number of frequency-raising cores as the number of single frequency raising; randomly selecting test cores from CPU cores, wherein the selection number of the test cores is the single frequency increasing number; calling an SST-BF function to carry out frequency increasing on the test core, and carrying out frequency reduction on cores except the test core; pressurizing the CPU and collecting the actual frequency of the test core in the pressurizing process; calculating a difference value between the actual frequency and the frequency raising theoretical frequency, and judging whether the difference value exceeds a preset threshold value: if so, judging that the test is failed; if not, the test is judged to be passed. The invention can automatically open the CPU SST-BF function and test the stability of the CPU SST-BF function, saves labor and test time, and can cover all CPU cores, thereby improving the test accuracy.

Description

Method, system, terminal and storage medium for testing functional stability of CPU SST-BF
Technical Field
The invention relates to the technical field of server testing, in particular to a method, a system, a terminal and a storage medium for testing the stability of a CPU SST-BF function.
Background
At present, besides the CPU with general functions, the Intel CPU also has SKUs optimized for the operating environment when released, wherein the CPU with N is the CPU optimized for NFV (Network Function Virtualization) functions. The current cascade platforms mainly comprise three types, namely 6252N,6230N and 5218N, the CPU mainly has an SST-BF function compared with the common CPU, and the purpose of improving the performance is achieved mainly by increasing the fundamental frequency of certain specific cores and reducing the fundamental frequency of the rest cores.
Therefore, the SST-BF functional test is an important item of CPU test, but no effective automatic test method is available for testing the SST-BF functional stability at present.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a method, a system, a terminal and a storage medium for testing the stability of a CPU SST-BF function, so as to solve the technical problems.
In a first aspect, the invention provides a method for testing the stability of the SST-BF function of a CPU, which comprises the following steps:
acquiring the number of CPU cores and the number of upgradable cores, and taking the number of upgradable cores as the number of single upgradable cores;
randomly selecting test cores from CPU cores, wherein the selection number of the test cores is the single frequency increasing number;
invoking SST-BF function to carry out frequency increasing on the test core, and carrying out frequency reduction on cores except the test core;
pressurizing the CPU and collecting the actual frequency of the test core in the pressurizing process;
calculating a difference value between the actual frequency and the frequency-increasing theoretical frequency, and judging whether the difference value exceeds a preset threshold value:
if yes, judging that the test is failed;
if not, the test is judged to be passed.
Further, the method further comprises:
storing the CPU model with SST-BF function into a comparison list;
reading the CPU model of the tester;
judging whether the CPU model of the tester exists in a comparison list:
if not, outputting a CPU model error prompt.
Further, the method further comprises:
exporting BIOS initial configuration information by using a SCELNX tool, and saving the initial configuration information as a configuration file;
reading the configuration file, modifying the status of an Activate PBF option in the configuration file into an Enabled status, and storing the modified configuration file;
importing the modified configuration file into the BIOS by using a SCELNX tool;
restarting the tester and checking whether the Activate PBF option state is an Enabled state:
if yes, the SST-BF output function is started successfully;
if not, the output SST-BF function is failed to be automatically started.
Further, the method further comprises:
marking the cores which are subjected to frequency boosting;
judging whether the number of unmarked cores reaches the single frequency increasing number:
if yes, randomly selecting a test core from the unmarked cores;
if not, calculating the difference between the number of the unmarked cores and the single frequency increasing number, randomly selecting the marked cores with the difference number, and taking the selected marked cores and all unmarked cores as test cores.
In a second aspect, the present invention provides a CPU SST-BF function stability testing system, including:
the device comprises a parameter acquisition unit, a parameter processing unit and a parameter processing unit, wherein the parameter acquisition unit is configured to acquire the number of CPU cores and the number of frequency-raising cores and take the number of the frequency-raising cores as the number of single frequency raising;
the random selection unit is configured for randomly selecting test cores from the CPU cores, and the selection number of the test cores is the single frequency increasing number;
the function execution unit is configured to call an SST-BF function to perform frequency up-conversion on the test core and perform frequency down-conversion on cores except the test core;
the pressurization testing unit is configured for pressurizing the CPU and acquiring the actual frequency of a test core in the pressurization process;
the frequency judgment unit is configured to calculate a difference value between the actual frequency and the frequency-raising theoretical frequency and judge whether the difference value exceeds a preset threshold value;
a failure determination unit configured to determine that the test fails if the difference exceeds a preset threshold;
and the pass judgment unit is configured to judge that the test is passed if the difference value does not exceed a preset threshold value.
Further, the system further comprises:
the list setting unit is configured for storing the CPU model with the SST-BF function into a comparison list;
the model reading unit is configured for reading the model of the CPU of the tester;
the model judging unit is configured to judge whether the CPU model of the tester exists in the comparison list or not;
and the error prompt unit is configured to output a CPU model error prompt if the CPU model of the tester does not exist in the comparison list.
Further, the system further comprises:
the file export unit is configured to export BIOS initial configuration information by using a SCELNX tool and store the initial configuration information as a configuration file;
the state modification unit is configured and used for reading the configuration file, modifying the active PBF option state in the configuration file into Enabled, and storing the modified configuration file;
the file import unit is configured to import the modified configuration file into the BIOS by using a SCELNX tool;
the state checking unit is configured for restarting the tester and checking whether the ActivatePBF option state is an Enabled state;
the success output unit is configured and used for outputting the SST-BF function to be started successfully automatically if the activated PBF option state is the Enable state;
and the failure output unit is configured for outputting SST-BF function automatic start failure if the active PBF option state is not the Enabled state.
Further, the system further comprises:
an execution marking unit configured to mark a core that has performed the frequency up-conversion;
a number judgment unit configured to judge whether the number of unmarked cores reaches a single frequency-up number;
the first selection unit is configured to randomly select test cores from the unmarked cores if the number of the unmarked cores reaches the single frequency increasing number;
and the second selection unit is configured to calculate the difference between the number of the unmarked cores and the single frequency-up number if the number of the unmarked cores does not reach the single frequency-up number, randomly select the marked cores with the difference number, and use the selected marked cores and all the unmarked cores as the test cores.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
the method, the system, the terminal and the storage medium for testing the stability of the SST-BF function of the CPU provided by the invention randomly select the test core and call the SST-BF function to perform frequency increasing setting on the test core and perform frequency decreasing setting on other cores, then obtain the actual frequency of each core of the CPU by pressurizing the CPU, and verify whether the SST-BF function is effective or not by comparing the actual frequency with the theoretical frequency. The invention can automatically open the CPU SST-BF function and test the stability of the CPU SST-BF function, saves labor and test time, and can cover all CPU cores, thereby improving the test accuracy.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or prior art solutions of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the present invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution main body in fig. 1 may be a CPU SST-BF function stability test system.
As shown in fig. 1, the method 100 includes:
step 110, acquiring the number of CPU cores and the number of upgradable cores, and taking the number of upgradable cores as the number of single upgradable cores;
step 120, randomly selecting test cores from CPU cores, wherein the selection number of the test cores is the single frequency increasing number;
step 130, calling an SST-BF function to carry out frequency increasing on the test core, and carrying out frequency reduction on cores except the test core;
step 140, pressurizing the CPU and collecting the actual frequency of the test core in the pressurizing process;
step 150, calculating a difference between the actual frequency and the frequency-up theoretical frequency, and judging whether the difference exceeds a preset threshold: if yes, judging that the test is failed; if not, the test is judged to be passed.
In order to facilitate understanding of the present invention, the CPU SST-BF functional stability testing method provided by the present invention is further described below with reference to the principle of the CPU SST-BF functional stability testing method of the present invention and the process of testing the CPU SST-BF functional stability in the embodiment.
Specifically, the method for testing the stability of the SST-BF function of the CPU comprises the following steps:
(1) checking the CPU type to read CPU, judging whether the CPU type has SST-BF function, if yes, jumping to (2)
(2) use/SCELNX _64 to export configuration information in BIOS into the file BIOS. Txt, see if an Activate PBF option exists. If yes, jump to (3), otherwise, screen output BIOS not support sst-bf function.
(3) Change option Activate PBF to Enabled, then write back BIOS.
(4) Entering the system, SCELNX deriving the configuration information in BIOS to judge whether the modification is successful, if yes, jumping to (5), otherwise, screen output BIOS selects automatic setting fail, please enter BIOS manually to change
(5) And acquiring the spec of the current CPU from the effective SST-BF CPU spec list, wherein the number N of CPU cores (N core numbers are set as a set N), the number of cores (m) can be increased to be P1_ Hi, and the number of cores (N-m) can be reduced to be P1_ Lo.
(6) Set Y = N;
(7) to avoid severe local heating, it is recommended not to set the frequency of the neighboring cores to a high fundamental frequency. Therefore, m CPU core numbers to be added with the frequency P1_ Hi are randomly generated from the set Y using a random function, and assuming that the set of core numbers of m cores randomly generated from the set Y is X, the other set of core numbers Z = N-X is set to P1_ Lo.
⑧Y=Z
(9) The fundamental frequency of the corresponding core (set X) is changed to P1_ Hi by using wrmsr through a syss interface, and the other core set Z is set to P1_ Lo
Stress test is carried out on the CPU in the positive (r) region for 30 minutes, the frequency of each core of the current CPU is captured in real time, and compared with the set result in the (5), the actual value and the theoretical value cannot exceed 100Mhz. If yes, jump
Figure BDA0002339794180000074
Otherwise, the screen outputs stress fail
Figure BDA0002339794180000072
Checking the number s, s of data in the set Y>If = m, jump (7) if yes, otherwise jump
Figure BDA0002339794180000073
Randomly generating m-s data from set Z with Y to form set X, Z = N-X, and execution (9) ends after (c).
As shown in fig. 2, the system 200 includes:
a parameter obtaining unit 210 configured to obtain the number of CPU cores and the number of scalable cores, and use the number of scalable cores as a single frequency-up number;
a random selection unit 220 configured to randomly select test cores from the CPU cores, where the selected number of the test cores is a single frequency-up number;
a function execution unit 230 configured to invoke an SST-BF function to perform frequency up-conversion on the test core and perform frequency down-conversion on cores other than the test core;
a pressurizing test unit 240 configured to pressurize the CPU and collect the actual frequency of the test core during the pressurizing process;
a frequency determining unit 250 configured to calculate a difference between the actual frequency and the frequency-up theoretical frequency, and determine whether the difference exceeds a preset threshold;
a failure determination unit 260 configured to determine that the test fails if the difference exceeds a preset threshold;
the pass determination unit 270 is configured to determine that the test passes if the difference does not exceed the preset threshold.
Optionally, as an embodiment of the present invention, the system further includes:
the list setting unit is configured for storing the CPU model with the SST-BF function into a comparison list;
the model reading unit is configured for reading the model of the CPU of the tester;
the model judging unit is configured to judge whether the CPU model of the tester exists in the comparison list or not;
and the error prompt unit is configured to output a CPU model error prompt if the CPU model of the test machine does not exist in the comparison list.
Optionally, as an embodiment of the present invention, the system further includes:
the file exporting unit is configured to export BIOS initial configuration information by using an SCELNX tool and store the initial configuration information as a configuration file;
the state modification unit is configured and used for reading the configuration file, modifying the activated PBF option state in the configuration file into Enabled, and storing the modified configuration file;
the file import unit is configured to import the modified configuration file into the BIOS by using the SCELNX tool;
the state checking unit is configured for restarting the tester and checking whether the Activate PBF option state is an Enabled state;
the success output unit is configured to output the SST-BF function to be started successfully if the activated PBF option state is the Enabled state;
and the failure output unit is configured for outputting the SST-BF function to automatically start failure if the activated PBF option state is not the Enabled state.
Optionally, as an embodiment of the present invention, the system further includes:
an execution marking unit configured to mark a core that has performed the frequency up-conversion;
the number judgment unit is configured to judge whether the number of unmarked cores reaches the single frequency increasing number;
the first selection unit is configured to randomly select test cores from the unmarked cores if the number of the unmarked cores reaches the single frequency increasing number;
and the second selection unit is configured to calculate the difference between the number of the unmarked cores and the single-time frequency-up number if the number of the unmarked cores does not reach the single-time frequency-up number, randomly select the marked cores with the difference number, and take the selected marked cores and all the unmarked cores as the test cores.
Fig. 3 is a schematic structural diagram of a terminal system 300 according to an embodiment of the present invention, where the terminal system 300 may be used to execute the method for testing the stability of the CPU SST-BF function according to the embodiment of the present invention.
The terminal system 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.
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).
Therefore, the invention randomly selects the test core and calls the SST-BF function to perform frequency increasing setting on the test core and perform frequency reducing setting on other cores, then obtains the actual frequency of each core of the CPU by pressurizing the CPU, and verifies whether the SST-BF function is effective or not by comparing the actual frequency with the theoretical frequency. The CPU SST-BF function can be automatically turned on and the stability of the CPU SST-BF function can be tested, labor and test time are saved, meanwhile, all CPU cores can be covered, and test accuracy is improved.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented using software plus any required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be substantially or partially embodied in the form of a software product, 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 various media capable of storing program codes include several instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute 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 for relevant points, reference may be made to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional 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, systems 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.
Although the present invention has been described in detail in connection with the preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A method for testing the functional stability of a CPU SST-BF is characterized by comprising the following steps:
acquiring the number of CPU cores and the number of upgradable cores, and taking the number of upgradable cores as the number of single upgradable cores;
randomly selecting test cores from CPU cores, wherein the selection number of the test cores is the single frequency increasing number;
invoking SST-BF function to carry out frequency increasing on the test core, and carrying out frequency reduction on cores except the test core;
pressurizing the CPU and collecting the actual frequency of the test core in the pressurizing process;
calculating a difference value between the actual frequency and the frequency-increasing theoretical frequency, and judging whether the difference value exceeds a preset threshold value:
if so, judging that the test is failed;
if not, judging that the test is passed;
the method further comprises the following steps:
storing the CPU model with SST-BF function into a comparison list;
reading the CPU model of the tester;
judging whether the CPU model of the tester exists in a comparison list:
if not, outputting a CPU model error prompt.
2. The method of claim 1, further comprising:
deriving BIOS initial configuration information by using a SCELNX tool, and saving the initial configuration information as a configuration file;
reading the configuration file, modifying the status of an Activate PBF option in the configuration file into an Enabled status, and storing the modified configuration file;
importing the modified configuration file into the BIOS by using a SCELNX tool;
restarting the tester and checking whether the Activate PBF option state is an Enabled state:
if yes, the SST-BF output function is started successfully;
if not, the output SST-BF function is failed to automatically start.
3. The method of claim 1, further comprising:
marking the cores which are subjected to frequency boosting;
judging whether the number of unmarked cores reaches the single frequency increasing number:
if yes, randomly selecting a test core from the unmarked cores;
if not, calculating the difference between the number of the unmarked cores and the single frequency increasing number, randomly selecting the marked cores with the difference number, and taking the selected marked cores and all unmarked cores as test cores.
4. A CPU SST-BF functional stability test system is characterized by comprising:
the device comprises a parameter acquisition unit, a parameter processing unit and a parameter processing unit, wherein the parameter acquisition unit is configured to acquire the number of CPU cores and the number of frequency-raising cores and take the number of the frequency-raising cores as the number of single frequency raising;
the device comprises a random selection unit, a test unit and a control unit, wherein the random selection unit is configured to randomly select test cores from CPU cores, and the selection number of the test cores is a single frequency increasing number;
the function execution unit is configured to call an SST-BF function to perform frequency boosting on the test core and perform frequency reduction on cores except the test core;
the pressurization testing unit is configured for pressurizing the CPU and acquiring the actual frequency of a test core in the pressurization process;
the frequency judgment unit is configured to calculate a difference value between the actual frequency and the frequency raising theoretical frequency and judge whether the difference value exceeds a preset threshold value;
a failure determination unit configured to determine that the test fails if the difference exceeds a preset threshold;
a pass determination unit configured to determine that the test passes if the difference does not exceed a preset threshold;
the system further comprises:
the list setting unit is configured for storing the CPU model with the SST-BF function into a comparison list;
the model reading unit is configured for reading the model of the CPU of the tester;
the model judging unit is configured to judge whether the CPU model of the tester exists in the comparison list or not;
and the error prompt unit is configured to output a CPU model error prompt if the CPU model of the test machine does not exist in the comparison list.
5. The system of claim 4, further comprising:
the file export unit is configured to export BIOS initial configuration information by using a SCELNX tool and store the initial configuration information as a configuration file;
the state modification unit is configured and used for reading the configuration file, modifying the activated PBF option state in the configuration file into Enabled, and storing the modified configuration file;
the file import unit is configured to import the modified configuration file into the BIOS by using a SCELNX tool;
the state checking unit is configured for restarting the tester and checking whether the Activate PBF option state is an Enabled state;
the success output unit is configured and used for outputting the SST-BF function to be started successfully automatically if the activated PBF option state is the Enable state;
and the failure output unit is configured for outputting SST-BF function automatic start failure if the active PBF option state is not the Enabled state.
6. The system of claim 4, further comprising:
an execution marking unit configured to mark a core that has performed the frequency up-conversion;
a number judgment unit configured to judge whether the number of unmarked cores reaches a single frequency-up number;
the first selection unit is configured to randomly select test cores from the unmarked cores if the number of the unmarked cores reaches the single frequency increasing number;
and the second selection unit is configured to calculate the difference between the number of the unmarked cores and the single frequency-up number if the number of the unmarked cores does not reach the single frequency-up number, randomly select the marked cores with the difference number, and use the selected marked cores and all the unmarked cores as the test cores.
7. 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-3.
8. 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-3.
CN201911371619.2A 2019-12-27 2019-12-27 Method, system, terminal and storage medium for testing stability of CPU SST-BF function Active CN111176917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911371619.2A CN111176917B (en) 2019-12-27 2019-12-27 Method, system, terminal and storage medium for testing stability of CPU SST-BF function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911371619.2A CN111176917B (en) 2019-12-27 2019-12-27 Method, system, terminal and storage medium for testing stability of CPU SST-BF function

Publications (2)

Publication Number Publication Date
CN111176917A CN111176917A (en) 2020-05-19
CN111176917B true CN111176917B (en) 2023-01-10

Family

ID=70657517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911371619.2A Active CN111176917B (en) 2019-12-27 2019-12-27 Method, system, terminal and storage medium for testing stability of CPU SST-BF function

Country Status (1)

Country Link
CN (1) CN111176917B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416671B (en) * 2020-11-12 2024-02-09 宁畅信息产业(北京)有限公司 CPU stability testing method, device, computer equipment and storage medium
CN112363883A (en) * 2020-12-03 2021-02-12 锐捷网络股份有限公司 CPU pressure testing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656761A (en) * 2018-12-03 2019-04-19 郑州云海信息技术有限公司 Server HT automatic test approach and system based on Linux system
CN110413470A (en) * 2019-06-25 2019-11-05 苏州浪潮智能科技有限公司 A kind of server I SS function test method, system, terminal and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109656761A (en) * 2018-12-03 2019-04-19 郑州云海信息技术有限公司 Server HT automatic test approach and system based on Linux system
CN110413470A (en) * 2019-06-25 2019-11-05 苏州浪潮智能科技有限公司 A kind of server I SS function test method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN111176917A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN110554938B (en) BIOS (basic input output System) testing method, system, terminal and storage medium based on script set
CN110162435B (en) Method, system, terminal and storage medium for starting and testing PXE of server
CN111338862B (en) GPU mode switching stability test method, system, terminal and storage medium
CN111176917B (en) Method, system, terminal and storage medium for testing stability of CPU SST-BF function
CN113342669B (en) Verification method and device for shortening convergence time of chip code coverage rate
CN111147331A (en) Server network card interaction test method, system, terminal and storage medium
CN111966551A (en) Method, system, terminal and storage medium for verifying remote command execution result
CN109067605B (en) Storage subsystem fault diagnosis method and device, terminal and storage medium
CN109802866B (en) Network card SR-IOV function testing method, device, terminal and storage medium
CN110543394A (en) server sensor information consistency testing method, system, terminal and storage medium
CN111597101B (en) SDK access state detection method, computer equipment and computer readable storage medium
CN112231159B (en) Memory installation position testing method, system, terminal and storage medium
CN110175096B (en) GPU (graphics processing Unit) pressurization test method, system, terminal and storage medium
CN111858198A (en) Multi-scheme memory plugging test method, system, terminal and storage medium
CN112631842A (en) System memory identification test method and system and electronic equipment
CN110543459A (en) Method, system, terminal and storage medium for acquiring file lock state under NFS
CN112486717A (en) Method, system, terminal and storage medium for verifying consistency of disk data
CN114385379B (en) Method, system, terminal and storage medium for detecting on-board information refreshing
CN111338677A (en) Component and drive association validity verification method, system, terminal and storage medium
CN111475400A (en) Verification method of service platform and related equipment
CN109508270B (en) BIOS register checking and testing method and device
CN111258912B (en) Page testing method, device, terminal and storage medium
CN115525529A (en) Business object testing method and device and electronic equipment
CN111026610B (en) Server fault log multistage analysis method, system, terminal and storage medium
CN114443382A (en) Hard disk test method, system, terminal and storage medium

Legal Events

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