CN111090474A - Low-power-consumption-based BIOS option configuration method and system - Google Patents

Low-power-consumption-based BIOS option configuration method and system Download PDF

Info

Publication number
CN111090474A
CN111090474A CN201911155563.7A CN201911155563A CN111090474A CN 111090474 A CN111090474 A CN 111090474A CN 201911155563 A CN201911155563 A CN 201911155563A CN 111090474 A CN111090474 A CN 111090474A
Authority
CN
China
Prior art keywords
bios
tested
power consumption
configuration
server end
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.)
Granted
Application number
CN201911155563.7A
Other languages
Chinese (zh)
Other versions
CN111090474B (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 CN201911155563.7A priority Critical patent/CN111090474B/en
Publication of CN111090474A publication Critical patent/CN111090474A/en
Application granted granted Critical
Publication of CN111090474B publication Critical patent/CN111090474B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • 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)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of BIOS (basic input output System) configuration, and provides a BIOS option configuration method and system based on low power consumption, wherein the method comprises the following steps: carrying out initial configuration based on low-power-consumption BIOS option configuration on a server to be tested; when the initialization configuration is completed, executing a pre-configured BIOS debugging script idlemower.bat under a path of a server end to be tested for executing an energy efficiency test SPECPOWER, and acquiring a BIOS configuration parameter with the lowest power consumption of the server end to be tested according to a mode of repeatedly executing a SPECPOWER test process, so that the power consumption of the whole machine can be automatically judged according to different configurations of the server by adopting an automation skill, and an applicable parameter is brought into a test script to obtain a configuration result with the lowest power consumption.

Description

Low-power-consumption-based BIOS option configuration method and system
Technical Field
The invention belongs to the technical field of BOIS configuration, and particularly relates to a BIOS option configuration method and system based on low power consumption.
Background
In the daily using process of the server to be tested, a client always has the using scene and the requirement, and how to adjust the current BIOS option enables the server to be tested to achieve the highest performance. How to adjust the current BIOS option to operate the server under test at the lowest power consumption. Under the normal condition, a client needs to manually confirm the BIOS option settings influencing the performance and power consumption of the server to be tested one by one and reasonably modify the BIOS option settings.
At present, when a server is in idle state, the setting of the BIOS option only aims at a single benchmark, and the BIOS group configuration considering the system-level power consumption is not needed, and the setting mode is weak in pertinence, and the setting result is not the configuration result of the lowest power consumption.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a BIOS option configuration method based on low power consumption, and aims to solve the problems that in the prior art, when a server is idle, the BIOS option is set only for a single benchmark, and BIOS group configuration considering system-level power consumption is not needed, so that the setting mode is weak in pertinence, and the setting result is not the configuration result of the lowest power consumption.
The technical scheme provided by the invention is as follows: a BIOS option configuration method based on low power consumption, the method comprising the steps of:
carrying out initial configuration based on low-power-consumption BIOS option configuration on a server to be tested;
when the initialization configuration is completed, executing a pre-configured BIOS debugging script idlepower.bat under the path of the server end to be tested for executing the energy efficiency test SPECPOWER, and acquiring the BIOS configuration parameters with the lowest power consumption of the server end to be tested according to the mode of repeatedly executing the SPECPOWER test process.
As an improved scheme, the step of performing initialization configuration based on low-power-consumption BIOS option configuration on the server side to be tested specifically includes the following steps:
pre-storing performance power consumption comparison data of a server end to be tested;
pre-configuring BIOS debugging script idlepower.bat;
and installing an application version SPECPOWER and a BIOS debugging script idlepower.bat for automatically debugging the BIOS in the server end to be tested according to the SPECPOWER installation document, and placing the BIOS debugging script idlepower.bat into a Windows OS of the end to be tested.
As an improved scheme, the step of executing a preconfigured BIOS debug script idlemower.bat in a path of a server to be tested executing a performance test specplow when initialization configuration is completed, and acquiring a BIOS configuration parameter of the lowest power consumption of the server to be tested in a manner of repeatedly executing a specplow test process specifically includes the following steps:
executing an SCE export command, acquiring the current BIOS configuration parameters on a server to be tested, and taking the acquired BIOS configuration parameters as a basic comparison document;
executing a SPECPOWER test process to obtain a new comparison document;
comparing the basic comparison document with the new comparison document, and calculating the power consumption of the current server to be tested;
and judging whether the current server end to be tested is in the lowest power consumption state or not according to the pre-stored performance power consumption comparison data of the server end to be tested, and returning to the step of executing the SPECPOWER test process after the basic comparison document is obtained when the current server end to be tested is not in the lowest power consumption state until the current server end to be tested is judged to be in the lowest power consumption state.
As an improved scheme, the step of executing the specplover test process and acquiring the new alignment document specifically includes the following steps:
after the basic comparison document is obtained, automatically executing a SPECPOWER test process;
when the execution of the SPECPOWER test process is finished, acquiring a SPECPOWER test result;
and analyzing the obtained SPECPOWER test result to obtain a new comparison document after the SPECPOWER test.
As an improved scheme, the step of comparing the basic comparison document with the new comparison document and calculating the power consumption of the current server to be tested specifically includes the following steps:
comparing the basic comparison document with the new comparison document to obtain the configuration difference content of the BIOS configuration parameters;
according to the obtained configuration difference content of the BIOS configuration parameters, carrying out adaptive BIOS configuration parameter adjustment on the BIOS of the server end to be tested, which executes the energy efficiency test SPECPOWER;
executing an SCE import command, and importing the adjustment content of the adaptive BIOS configuration parameters into the BIOS;
and after the adaptive BIOS configuration parameter adjustment content is imported into the BIOS, calculating the power consumption of the current server end to be tested.
As an improved scheme, the step of judging whether the current server end to be tested is in the lowest power consumption state according to the pre-stored performance power consumption comparison data of the server end to be tested, and when the current server end to be tested is not in the lowest power consumption state, returning to the step of executing the SPECPOWER test process after the basic comparison document is obtained until the step of judging that the current server end to be tested is in the lowest power consumption state specifically includes the following steps:
judging whether the current server end to be tested is in the lowest power consumption state or not according to pre-stored performance power consumption comparison data of the server end to be tested;
when the current server end to be tested is judged to be in the lowest power consumption state, saving the BIOS configuration parameters of the current server end to be tested;
and when the current server end to be tested is judged not to be in the lowest power consumption state, returning to the step of executing the SPECPOWER test process after the obtained basic comparison document is obtained until the current server end to be tested is judged to be in the lowest power consumption state.
As an improvement, the method further comprises the steps of:
performing adaptive BIOS configuration parameter adjustment on the BIOS of the server end to be tested, which executes the energy efficiency test SPECPOWER, according to the obtained configuration difference content of the BIOS configuration parameters, and simultaneously recording the obtained configuration difference content of the BIOS configuration parameters;
the content for adaptively adjusting the BIOS configuration parameters of the BIOS of the server end to be tested for executing the energy efficiency test SPECOWER comprises C-state, UPIL-state and P-state.
Another object of the present invention is to provide a BIOS option configuration system based on low power consumption, the system comprising:
the initialization configuration module is used for performing initialization configuration based on low-power-consumption BIOS option configuration on the server side to be tested;
and the script execution module is used for executing a pre-configured BIOS debugging script idlepower under the path of the server end to be tested for executing the energy efficiency test SPECPOWER when the initialization configuration is completed, and acquiring the BIOS configuration parameters with the lowest power consumption of the server end to be tested according to the mode of repeatedly executing the SPECPOWER test process.
As an improved scheme, the initialization configuration module specifically includes:
the comparison data storage module is used for pre-storing performance power consumption comparison data of the server end to be tested;
bat, BIOS debugging script idlepower for automatic debugging BIOS is configured in advance;
the installation module is used for installing an application version SPECPOWER and a BIOS debugging script idlepower.bat for automatically debugging BIOS in the server end to be tested according to the installation document of the SPECPOWER, and placing the BIOS debugging script idlepower.bat into a Windows OS of the end to be tested;
a configuration difference content recording module, configured to record the obtained configuration difference content of the BIOS configuration parameters while performing the step of performing adaptive BIOS configuration parameter adjustment on the BIOS of the server to be tested that performs the energy efficiency test specplow based on the obtained configuration difference content of the BIOS configuration parameters;
the content for adaptively adjusting the BIOS configuration parameters of the BIOS of the server end to be tested for executing the energy efficiency test SPECOWER comprises C-state, UPIL-state and P-state.
As an improved scheme, the script execution module specifically includes:
the basic comparison document acquisition module is used for executing an SCE export command, acquiring the current BIOS configuration parameters on the server to be tested, and taking the acquired BIOS configuration parameters as basic comparison documents;
the new document acquisition module is used for executing a SPECPOWER test process and acquiring a new comparison document;
the server power consumption calculation module is used for comparing the basic comparison document with the new comparison document and calculating the power consumption of the current server end to be measured;
and the minimum power consumption acquisition module is used for judging whether the current server end to be tested is in a minimum power consumption state or not according to the pre-stored performance power consumption comparison data of the server end to be tested, and returning to the step of executing the SPECPOWER test process after the basic comparison document is acquired when the current server end to be tested is not in the minimum power consumption state until the current server end to be tested is judged to be in the minimum power consumption state.
In the embodiment of the invention, the initial configuration based on the low-power-consumption BIOS option configuration is carried out on the server side to be tested; when the initialization configuration is completed, executing a pre-configured BIOS debugging script idlemower.bat under a path of a server end to be tested for executing an energy efficiency test SPECPOWER, and acquiring a BIOS configuration parameter with the lowest power consumption of the server end to be tested according to a mode of repeatedly executing a SPECPOWER test process, so that the power consumption of the whole machine can be automatically judged according to different configurations of the server by adopting an automation skill, and an applicable parameter is brought into a test script to obtain a configuration result with the lowest power consumption.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a flow chart of an implementation of a low power consumption based BIOS option configuration method provided by the present invention;
fig. 2 is an implementation flowchart of obtaining the BIOS configuration parameter with the lowest power consumption at the server end to be tested in a manner of repeatedly executing a specplower test procedure by executing a preconfigured BIOS debug script idlemower.
FIG. 3 is a flowchart illustrating an implementation of executing a SPECPOWER test process to obtain a new comparison document according to the present invention;
FIG. 4 is a flowchart illustrating an implementation of comparing a basic comparison document with a new comparison document to calculate power consumption of a current server to be tested according to the present invention;
fig. 5 is a flowchart illustrating an implementation that whether the current server end to be tested is in the lowest power consumption state is determined according to pre-stored performance power consumption comparison data of the server end to be tested, and when it is determined that the current server end to be tested is not in the lowest power consumption state, the step of automatically executing the specplower test process after the basic comparison document is obtained is returned to be executed until it is determined that the current server end to be tested is in the lowest power consumption state;
FIG. 6 is a block diagram of a low power consumption BIOS option configuration system according to the present invention;
FIG. 7 is a block diagram of a script execution module provided by the present invention;
FIG. 8 is a block diagram of the new document acquisition module provided by the present invention;
FIG. 9 is a block diagram of a server power consumption calculation module provided by the present invention;
fig. 10 is a block diagram of a lowest power consumption obtaining module provided in the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are merely for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
Fig. 1 is a flowchart of an implementation of the BIOS option configuration method based on low power consumption provided in the present invention, which specifically includes the following steps:
in step S101, initialization configuration based on low-power BIOS option configuration is performed on the server side to be tested.
In step S102, when initialization configuration is completed, under a path of a server end to be tested that performs a spectrum analyzer test spectrum, a preconfigured BIOS debug script idlepower.
In the embodiment of the invention, the SCE TOOL is used for automatically adjusting the BIOS option and automatically executing the SPECPOWER test by utilizing the performance and the power consumption performance of two stages of 100 percent and idle standby in the SPECPOWER standardized test, the idea can be used for automatically debugging the BIOS through the test, so as to confirm the power consumption of the system, automatically debugging the BIOS aiming at systems with different configurations, and finally enabling the system to be in the lowest power consumption BIOS configuration when the system is idle.
In this embodiment, the above step S101: the initialization configuration of the BIOS option configuration based on low power consumption for the server terminal to be tested specifically comprises the following steps:
(1) pre-storing performance power consumption comparison data of a server end to be tested;
(2) pre-configuring a BIOS debugging script idlepower of an automatic debugging BIOS;
(3) and installing an application version SPECPOWER and a BIOS debugging script idlepower.bat for automatically debugging the BIOS in the server end to be tested according to the SPECPOWER installation document, and placing the BIOS debugging script idlepower.bat into a Windows OS of the end to be tested.
In this embodiment, other parameter configurations are also required, and are not described herein again.
As shown in fig. 2, when initialization configuration is completed, under a path of a server end to be tested that performs a performance test specplow, executing a preconfigured BIOS debug script idlemower.
In step S201, executing an SCE export command, acquiring a current BIOS configuration parameter on a server to be tested, and taking the acquired BIOS configuration parameter as a basic comparison document, where the SCE export command is an Environment setting configuration export command, the SCE represents Setup Control Environment, and the chinese meaning is Environment setting configuration;
in step S202, a specplover test process is performed to obtain a new comparison document;
in step S203, comparing the basic comparison document with the new comparison document, and calculating the power consumption of the current server to be tested;
in step S204, whether the current server end to be tested is in the lowest power consumption state is determined according to the pre-stored performance power consumption comparison data of the server end to be tested, and if it is determined that the current server end to be tested is not in the lowest power consumption state, the step of automatically executing the speccontent test process after the basic comparison document is obtained is returned until it is determined that the current server end to be tested is in the lowest power consumption state.
As shown in fig. 3, the step of executing the spectractor test process to obtain a new alignment document specifically includes the following steps:
in step S301, after the basic comparison document is obtained, the specplow test process is automatically executed;
in step S302, when the performance of the spectractor test process is completed, a spectractor test result is obtained;
in step S303, the obtained speech test result is analyzed, and a new comparison document after the speech test is obtained.
As shown in fig. 4, the step of comparing the basic comparison document with the new comparison document and calculating the power consumption of the current server to be tested specifically includes the following steps:
in step S401, comparing the basic comparison document with the new comparison document to obtain the configuration difference content of the BIOS configuration parameter;
in step S402, adaptively adjusting the BIOS configuration parameters of the BIOS of the server to be tested, which executes the energy efficiency test specplow, according to the obtained configuration difference content of the BIOS configuration parameters;
in the step, the content of carrying out adaptive BIOS configuration parameter adjustment on the BIOS of the server end to be tested for executing the energy efficiency test SPECOWER comprises C-state, UPIL-state and P-state;
wherein, C-state represents CPU state, namely processor standby state, from C0 to C6, the larger the number is, the more power is saved;
the P-state represents Performance States, the efficiency state of the processor, and the processor can automatically adjust the frequency to achieve the effect of saving electricity
UPI-processor high speed interconnect bus;
l-state-link power management state, which may automatically fall to a low power mode when the link is not in use.
In step S403, an SCE import command is executed to import the adaptive BIOS configuration parameter adjustment content into the BIOS, where the SCE import command is an environment setting configuration import command, the SCE represents Setup control environment, and the chinese meaning is environment setting configuration;
in step S404, after the adaptive BIOS configuration parameter adjustment content is imported into the BIOS, the power consumption of the current server to be tested is calculated.
As shown in fig. 5, according to the pre-stored performance power consumption comparison data of the server end to be tested, determining whether the current server end to be tested is in the lowest power consumption state, and when determining that the current server end to be tested is not in the lowest power consumption state, returning to the step of executing the speccontent test process after obtaining the basic comparison document until determining that the current server end to be tested is in the lowest power consumption state, specifically including the following steps:
in step S501, according to the pre-stored performance power consumption comparison data of the server to be tested, it is determined whether the current server to be tested is in the lowest power consumption state, if so, step S502 is executed, otherwise, step S503 is executed;
in step S502, when it is determined that the current server to be tested is in the lowest power consumption state, saving the BIOS configuration parameters of the current server to be tested;
in step S503, when it is determined that the current server end to be tested is not in the lowest power consumption state, the step of automatically executing the specplower test process after the basic comparison document is obtained is returned to be executed until it is determined that the current server end to be tested is in the lowest power consumption state.
In this embodiment, the BIOS configuration is automatically adjusted to achieve the lowest system power consumption BIOS configuration by comparing the actual test results.
Fig. 6 is a block diagram of a BIOS option configuration system based on low power consumption provided by the present invention, and for convenience of explanation, only the relevant parts of the system are shown.
The low power consumption based BIOS option configuration system comprises:
the initialization configuration module 11 is used for performing initialization configuration based on low-power-consumption BIOS option configuration on the server side to be tested;
the script execution module 12 is configured to execute a preconfigured BIOS debug script idlemower.
The initialization configuration module 11 specifically includes:
the comparison data storage module 13 is used for storing performance and power consumption comparison data of the server end to be tested in advance;
a script configuration module 14, configured to pre-configure a BIOS debugging script idlepower.bat for automatically debugging the BIOS;
the installation module 15 is used for installing the BIOS debugging script idlepower.bat of the SPECPOWER and the automatic debugging BIOS in the server end to be tested according to the installation document of the SPECPOWER, and placing the BIOS debugging script idlepower.bat into the Windows OS of the end to be tested.
As shown in fig. 7, the script execution module 12 specifically includes:
a basic comparison document acquisition module 16, configured to execute an SCE export command, acquire a current BIOS configuration parameter on a server to be tested, and use the acquired BIOS configuration parameter as a basic comparison document;
a new document acquisition module 17, configured to execute a specplover test process to acquire a new comparison document;
the server power consumption calculation module 18 is used for comparing the basic comparison document with the new comparison document and calculating the power consumption of the current server end to be tested;
the minimum power consumption obtaining module 19 is configured to determine whether the current server end to be tested is in a minimum power consumption state according to pre-stored performance power consumption comparison data of the server end to be tested, and when the current server end to be tested is not in the minimum power consumption state, return to the step of executing the speccontent test process after the basic comparison document is obtained until the current server end to be tested is determined to be in the minimum power consumption state;
as shown in fig. 8, the new document acquiring module 17 specifically includes:
the speech test module 20 is configured to automatically execute a speech test process after the basic comparison document is obtained;
a speech test result obtaining module 21, configured to obtain a speech test result when execution of the speech test process is completed;
a new comparison document obtaining module 22, configured to analyze the obtained specplow test result, and obtain a new comparison document after the specplow test;
as shown in fig. 9, the server power consumption calculation module 18 specifically includes:
the comparison module 23 is configured to compare the basic comparison document with the new comparison document to obtain configuration difference content of the BIOS configuration parameter;
the BIOS configuration parameter adjusting module 24 is configured to perform adaptive BIOS configuration parameter adjustment on the BIOS of the server to be tested, which executes the energy efficiency test specplow, according to the obtained configuration difference content of the BIOS configuration parameter;
a BIOS configuration parameter adjustment content import module 25, configured to execute an SCE import command and import adaptive BIOS configuration parameter adjustment content into the BIOS;
the power consumption calculation module 26 is configured to calculate the power consumption of the current server to be tested after the adaptive BIOS configuration parameter adjustment content is imported into the BIOS;
as shown in fig. 10, the lowest power consumption obtaining module 19 specifically includes:
the lowest power consumption comparison and judgment module 27 is used for judging whether the current server end to be tested is in the lowest power consumption state or not according to the pre-stored performance power consumption comparison data of the server end to be tested;
the BIOS configuration parameter storage module 28 is configured to, when it is determined that the current server to be tested is in the lowest power consumption state, store the BIOS configuration parameters of the current server to be tested;
and the automatic cycle execution module 29 is configured to, when it is determined that the current server end to be tested is not in the lowest power consumption state, return to executing the step of automatically executing the specplower test process after the obtained basic comparison document is obtained, until it is determined that the current server end to be tested is in the lowest power consumption state.
In this embodiment, the configuration difference content recording module 30 is configured to record the obtained configuration difference content of the BIOS configuration parameters while performing the step of performing adaptive BIOS configuration parameter adjustment on the BIOS of the server to be tested that performs the energy efficiency test speclower according to the obtained configuration difference content of the BIOS configuration parameters;
the content for adaptively adjusting the BIOS configuration parameters of the server-side BIOS to be tested, which executes the energy efficiency test SPECOWER, comprises C-state, UPIL-state and P-state.
The function of each module is realized as described in the above method embodiments, and is not described herein again.
In the embodiment of the invention, the initial configuration based on the low-power-consumption BIOS option configuration is carried out on the server side to be tested; when the initialization configuration is completed, executing a pre-configured BIOS debugging script idlemower.bat under a path of a server end to be tested for executing an energy efficiency test SPECPOWER, and acquiring a BIOS configuration parameter with the lowest power consumption of the server end to be tested according to a mode of repeatedly executing a SPECPOWER test process, so that the power consumption of the whole machine can be automatically judged according to different configurations of the server by adopting an automation skill, and an applicable parameter is brought into a test script to obtain a configuration result with the lowest power consumption.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (10)

1. A BIOS option configuration method based on low power consumption is characterized by comprising the following steps:
carrying out initial configuration based on low-power-consumption BIOS option configuration on a server to be tested;
when the initialization configuration is completed, executing a pre-configured BIOS debugging script idlepower.bat under the path of the server end to be tested for executing the energy efficiency test SPECPOWER, and acquiring the BIOS configuration parameters with the lowest power consumption of the server end to be tested according to the mode of repeatedly executing the SPECPOWER test process.
2. The BIOS option configuration method based on low power consumption of claim 1, wherein the step of performing initial configuration based on BIOS option configuration of low power consumption on the server side to be tested specifically includes the following steps:
pre-storing performance power consumption comparison data of a server end to be tested;
pre-configuring BIOS debugging script idlepower.bat;
and (3) installing an application version SPECPOWER and a BIOS debugging script idlepower.bat for automatically debugging the BIOS in the server end to be tested according to the SPECPOWER installation document, and placing the BIOS debugging script idlepower.bat into a Windows OS of the end to be tested.
3. The BIOS option configuration method based on low power consumption according to claim 2, wherein when the initialization configuration is completed, under a path of the server end to be tested that performs a performance capability test spec, a preconfigured BIOS debug script idlemower.
Executing an SCE export command, acquiring the current BIOS configuration parameters on a server to be tested, and taking the acquired BIOS configuration parameters as a basic comparison document;
executing a SPECPOWER test process to obtain a new comparison document;
comparing the basic comparison document with the new comparison document, and calculating the power consumption of the current server to be tested;
and judging whether the current server end to be tested is in the lowest power consumption state or not according to the pre-stored performance power consumption comparison data of the server end to be tested, and returning to the step of executing the SPECPOWER test process after the basic comparison document is obtained when the current server end to be tested is not in the lowest power consumption state until the current server end to be tested is judged to be in the lowest power consumption state.
4. The BIOS option configuration method based on low power consumption of claim 3, wherein the step of executing the SPECPOWER test procedure and obtaining the new comparison document comprises the following steps:
after the basic comparison document is obtained, automatically executing a SPECPOWER test process;
when the execution of the SPECPOWER test process is finished, acquiring a SPECPOWER test result;
and analyzing the obtained SPECPOWER test result to obtain a new comparison document after the SPECPOWER test.
5. The BIOS option configuration method based on low power consumption of claim 3, wherein the step of comparing the basic comparison document with the new comparison document and calculating the power consumption of the current server to be tested specifically comprises the following steps:
comparing the basic comparison document with the new comparison document to obtain the configuration difference content of the BIOS configuration parameters;
according to the obtained configuration difference content of the BIOS configuration parameters, carrying out adaptive BIOS configuration parameter adjustment on the BIOS of the server end to be tested, which executes the energy efficiency test SPECPOWER;
executing an SCE import command, and importing the adjustment content of the adaptive BIOS configuration parameters into the BIOS;
and after the adaptive BIOS configuration parameter adjustment content is imported into the BIOS, calculating the power consumption of the current server end to be tested.
6. The BIOS option configuration method based on low power consumption of claim 3, wherein the step of determining whether the current server end to be tested is in the lowest power consumption state according to the pre-stored performance power consumption comparison data of the server end to be tested, and when determining that the current server end to be tested is not in the lowest power consumption state, returning to the step of executing the SPECPOWER test process after the basic comparison document is obtained until the step of determining that the current server end to be tested is in the lowest power consumption state specifically comprises the steps of:
judging whether the current server end to be tested is in the lowest power consumption state or not according to pre-stored performance power consumption comparison data of the server end to be tested;
when the current server end to be tested is judged to be in the lowest power consumption state, saving the BIOS configuration parameters of the current server end to be tested;
and when the current server end to be tested is judged not to be in the lowest power consumption state, returning to the step of executing the SPECPOWER test process after the obtained basic comparison document is obtained until the current server end to be tested is judged to be in the lowest power consumption state.
7. The low power consumption based BIOS option configuration method of claim 3, further comprising the steps of:
performing adaptive BIOS configuration parameter adjustment on the BIOS of the server end to be tested, which executes the energy efficiency test SPECPOWER, according to the obtained configuration difference content of the BIOS configuration parameters, and simultaneously recording the obtained configuration difference content of the BIOS configuration parameters;
the content for adaptively adjusting the BIOS configuration parameters of the BIOS of the server end to be tested for executing the energy efficiency test SPECOWER comprises C-state, UPIL-state and P-state.
8. A BIOS option configuration system based on low power consumption, the system comprising:
the initialization configuration module is used for performing initialization configuration based on low-power-consumption BIOS option configuration on the server side to be tested;
and the script execution module is used for executing a pre-configured BIOS debugging script idlepower under the path of the server end to be tested for executing the energy efficiency test SPECPOWER when the initialization configuration is completed, and acquiring the BIOS configuration parameters with the lowest power consumption of the server end to be tested according to the mode of repeatedly executing the SPECPOWER test process.
9. The BIOS option configuration system based on low power consumption of claim 8, wherein the initialization configuration module specifically comprises:
the comparison data storage module is used for pre-storing performance power consumption comparison data of the server end to be tested;
bat, BIOS debugging script idlepower for automatic debugging BIOS is configured in advance;
the installation module is used for installing an application version SPECPOWER and a BIOS debugging script idlepower.bat for automatically debugging BIOS in the server end to be tested according to the installation document of the SPECPOWER, and placing the BIOS debugging script idlepower.bat into a Windows OS of the end to be tested;
a configuration difference content recording module, configured to record the obtained configuration difference content of the BIOS configuration parameters while performing the step of performing adaptive BIOS configuration parameter adjustment on the BIOS of the server to be tested that performs the energy efficiency test specplow based on the obtained configuration difference content of the BIOS configuration parameters;
the content for adaptively adjusting the BIOS configuration parameters of the BIOS of the server end to be tested for executing the energy efficiency test SPECOWER comprises C-state, UPIL-state and P-state.
10. The BIOS option configuration system based on low power consumption of claim 8, wherein the script execution module specifically comprises:
the basic comparison document acquisition module is used for executing an SCE export command, acquiring the current BIOS configuration parameters on the server to be tested, and taking the acquired BIOS configuration parameters as basic comparison documents;
the new document acquisition module is used for executing a SPECPOWER test process and acquiring a new comparison document;
the server power consumption calculation module is used for comparing the basic comparison document with the new comparison document and calculating the power consumption of the current server end to be measured;
and the minimum power consumption acquisition module is used for judging whether the current server end to be tested is in a minimum power consumption state or not according to the pre-stored performance power consumption comparison data of the server end to be tested, and returning to the step of executing the SPECPOWER test process after the basic comparison document is acquired when the current server end to be tested is not in the minimum power consumption state until the current server end to be tested is judged to be in the minimum power consumption state.
CN201911155563.7A 2019-11-22 2019-11-22 Low-power-consumption-based BIOS option configuration method and system Active CN111090474B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911155563.7A CN111090474B (en) 2019-11-22 2019-11-22 Low-power-consumption-based BIOS option configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911155563.7A CN111090474B (en) 2019-11-22 2019-11-22 Low-power-consumption-based BIOS option configuration method and system

Publications (2)

Publication Number Publication Date
CN111090474A true CN111090474A (en) 2020-05-01
CN111090474B CN111090474B (en) 2023-01-06

Family

ID=70393378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911155563.7A Active CN111090474B (en) 2019-11-22 2019-11-22 Low-power-consumption-based BIOS option configuration method and system

Country Status (1)

Country Link
CN (1) CN111090474B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376045A (en) * 2018-11-01 2019-02-22 郑州云海信息技术有限公司 A kind of BIOS parameter automatization verifying device and verification method
CN110347559A (en) * 2019-07-18 2019-10-18 浪潮商用机器有限公司 A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing
CN110377347A (en) * 2019-06-29 2019-10-25 苏州浪潮智能科技有限公司 A kind of automatic inspection method and system of Redfish setting BIOS option

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376045A (en) * 2018-11-01 2019-02-22 郑州云海信息技术有限公司 A kind of BIOS parameter automatization verifying device and verification method
CN110377347A (en) * 2019-06-29 2019-10-25 苏州浪潮智能科技有限公司 A kind of automatic inspection method and system of Redfish setting BIOS option
CN110347559A (en) * 2019-07-18 2019-10-18 浪潮商用机器有限公司 A kind of test method of server energy consumption, device, equipment and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN111090474B (en) 2023-01-06

Similar Documents

Publication Publication Date Title
US20230375639A1 (en) Bbu fault diagnosis method and apparatus, electronic device, and storage medium
US9448863B2 (en) Message passing interface tuning using collective operation modeling
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
CN104424084A (en) System error information detection system and method for server
CN110784879B (en) Network mode switching test method, system, equipment and medium of communication module
CN109618364B (en) Detection system and detection method for uplink communication module of terminal
CN104253892A (en) Method and system for testing performance of application program in intelligent mobile equipment
CN103984613A (en) Method for automatically testing floating point calculation performance of CPU (Central Processing Unit)
CN111639002A (en) Method and system for testing sleep power consumption, computer equipment and storage medium
CN111090474B (en) Low-power-consumption-based BIOS option configuration method and system
CN113609027A (en) ARM cloud server testing method and device, electronic equipment and storage medium
CN112948189B (en) Margin test method, margin test system and related device
CN110334385B (en) Test method, device and equipment for central controller of comprehensive energy system
CN114584498A (en) Method, device, equipment, system and product for testing power on and power off of gateway equipment
CN113219340A (en) Method, device, equipment and storage medium for testing battery equalization function
CN102819474A (en) Test method and device for system operation
CN105067994A (en) Method and application for positioning system-on-chip temporal logic error, and error rate calculation method
KR102418892B1 (en) Method of saving energy based on confidence interval and apparatus using the same
CN115437865A (en) Method, device, equipment and medium for testing abnormal power failure of hard disk
Wang et al. Standby energy analysis and optimization for smartphones
CN102867999A (en) Self-adaptation method of battery management system
CN103559134A (en) Configuration method and device for benchmark test component
CN106941552B (en) Mobile terminal shutdown performance evaluation method
CN109634795B (en) Debugging method, device, equipment and storage medium for server whole system
CN102882615A (en) Automatic test method for time division-synchronization code division multiple access (TD-SCDMA) radio-frequency performance

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