[go: up one dir, main page]

CN113986000A - Server power-on method, system, device and medium - Google Patents

Server power-on method, system, device and medium Download PDF

Info

Publication number
CN113986000A
CN113986000A CN202111161529.8A CN202111161529A CN113986000A CN 113986000 A CN113986000 A CN 113986000A CN 202111161529 A CN202111161529 A CN 202111161529A CN 113986000 A CN113986000 A CN 113986000A
Authority
CN
China
Prior art keywords
electronic devices
server
power
powered
utilization rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202111161529.8A
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.)
IEIT Systems Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN202111161529.8A priority Critical patent/CN113986000A/en
Publication of CN113986000A publication Critical patent/CN113986000A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F1/325Power saving in peripheral device
    • G06F1/3275Power saving in memory, e.g. RAM, cache

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)
  • Computing Systems (AREA)
  • Power Sources (AREA)

Abstract

本发明公开了一种服务器上电方法、系统、装置及介质,在服务器上电时,控制部分的电子器件上电,在上电的电子器件的利用率达到第一预设利用率及其以上时,判定已上电的电子器件可能不足以满足用户的需求,此时再从没有上电的电子器件中选择若干个进行上电,以使其用户需求。可见,本申请中可以根据电子器件的利用率,灵活的控制电子器件上电的个数,从而可以避免使所有的电子器件均处于上电的状态,进而避免出现不必要的能源消耗,避免能源浪费。

Figure 202111161529

The invention discloses a server power-on method, system, device and medium. When the server is powered on, the electronic devices in the control part are powered on, and the utilization rate of the electronic devices when powered on reaches a first preset utilization rate or more. At this time, it is determined that the electronic devices that have been powered on may not be enough to meet the needs of users. At this time, several electronic devices that are not powered on are selected to be powered on to meet the needs of users. It can be seen that in this application, the number of power-on electronic devices can be flexibly controlled according to the utilization rate of electronic devices, so that all electronic devices can be prevented from being powered on, thereby avoiding unnecessary energy consumption and avoiding energy consumption. waste.

Figure 202111161529

Description

Server power-on method, system, device and medium
Technical Field
The present invention relates to the field of power-on control, and in particular, to a method, a system, a device, and a medium for powering on a server.
Background
The server is divided into a single-path server and a multi-path server, wherein the single-path server comprises a Central Processing Unit (CPU), and each CPU corresponds to a plurality of memory banks; the multi-path server comprises a plurality of CPUs, and each CPU also corresponds to one or more memory banks. In the prior art, when a single-path server is powered on, a CPU in the single-path server and all memory banks corresponding to the CPU are controlled to be powered on simultaneously; when the multi-path server is powered on, all CPUs and all memory banks in the multi-path server are controlled to be powered on. By using the power-on mode in the prior art, when the load of the operating system of the server is low, only a few CPUs or memory banks need to be used, and at this time, idle CPUs or idle memory banks exist, but the idle CPUs and memory banks are also in a running state, so that unnecessary energy consumption is caused by the idle CPUs and the idle memory banks, and energy waste is caused.
Disclosure of Invention
The invention aims to provide a server power-on method, a system, a device and a medium, which can flexibly control the number of the power-on electronic devices according to the utilization rate of the electronic devices, thereby avoiding all the electronic devices from being in a power-on state, further avoiding unnecessary energy consumption and avoiding energy waste.
In order to solve the technical problem, the invention provides a server power-on method, which is applied to a processor in a server, wherein the server comprises N electronic devices; the method comprises the following steps:
when a power-on instruction is received, controlling M electronic devices to be powered on;
obtaining the utilization rates of M electronic devices;
judging whether the utilization rates are all larger than a first preset utilization rate;
if yes, selecting Z electronic devices from the unpowered electronic devices, and controlling the selected Z electronic devices to be powered on;
n is more than M and more than or equal to 1, N-M is more than or equal to Z and more than or equal to 1, and N, M and Z are integers.
Preferably, after controlling the M electronic devices to be powered on, the method further includes:
updating an advanced configuration and power management interface (ACPI) table to adjust power-on states of M electronic devices in the ACPI table.
Preferably, after controlling the power-on of the selected Z electronic devices, the method further includes:
and updating the ACPI table to adjust the power-on states of the Z electronic devices in the ACPI table.
Preferably, when the server is a one-way server, the electronic device is a memory bank; and when the server is a multi-path server, the electronic device is a Central Processing Unit (CPU).
Preferably, the server is a multi-path server, the electronic device is a CPU, and each CPU is correspondingly configured with a number a of the memory banks;
when a power-on instruction is received, after M electronic devices are controlled to be powered on, the method further comprises the following steps:
controlling the power-on of the i memory banks corresponding to each powered-on CPU;
after obtaining the utilization rates of the M electronic devices, the method further includes:
acquiring the utilization rate of i memory banks corresponding to each powered-on CPU;
after judging whether the utilization rates are all greater than a first preset utilization rate, the method further comprises the following steps:
judging whether the utilization rate of the i memory banks corresponding to each powered-on CPU is greater than a second preset utilization rate or not;
if the utilization rate of the i memory banks corresponding to the powered CPU is greater than the second preset utilization rate, selecting j memory banks from the unpowered memory banks correspondingly configured to the CPU, and controlling the selected j memory banks to be powered on;
a is more than i and more than or equal to 1, A-i is more than or equal to j and more than or equal to 1, and A, i and j are integers.
Preferably, after controlling the power-on of the selected Z electronic devices, the method further includes:
acquiring the number of the electronic devices which are not electrified;
and if the number is zero, sending first prompt information.
Preferably, after the sending of the first prompt message, the method further includes:
acquiring the utilization rates of all the electronic devices, and judging whether the utilization rates of all the electronic devices are greater than the first preset utilization rate;
and if so, sending second prompt information.
In order to solve the technical problem, the invention also provides a server power-on system which is applied to a processor in the server, wherein the server comprises N electronic devices; the system comprises:
the first power-on unit is used for controlling the M electronic devices to be powered on when a power-on instruction is received;
the acquisition unit is used for acquiring the utilization rates of the M electronic devices;
the judging unit is used for judging whether the utilization rates are all larger than a first preset utilization rate;
the second electrifying unit is used for selecting Z electronic devices from the unpowered electronic devices and controlling the selected Z electronic devices to be electrified when the utilization rates are all larger than the first preset utilization rate;
n is more than M and more than or equal to 1, N-M is more than or equal to Z and more than or equal to 1, and N, M and Z are integers.
In order to solve the above technical problem, the present invention further provides a server power-on device, including:
a memory for storing a computer program;
and the processor is used for realizing the server power-on method when executing the computer program.
In order to solve the above technical problem, the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the server power-on method are implemented.
The application provides a server power-on method, a system, a device and a medium, when a server is powered on, a control part of electronic devices are powered on, when the utilization rate of the powered-on electronic devices reaches a first preset utilization rate or above, the powered-on electronic devices are judged to be possibly insufficient to meet the requirements of users, and at the moment, a plurality of electronic devices are selected from the unpowered electronic devices to be powered on so as to meet the requirements of the users. Therefore, the number of the electronic devices electrified can be flexibly controlled according to the utilization rate of the electronic devices, so that all the electronic devices can be prevented from being in an electrified state, unnecessary energy consumption is avoided, and energy waste is avoided. .
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a server power-on method according to the present invention;
fig. 2 is a block diagram of a server power-on system according to the present invention;
fig. 3 is a block diagram of a server power-on device according to the present invention.
Detailed Description
The core of the invention is to provide a server power-on method, system, device and medium, which can flexibly control the number of the power-on electronic devices according to the utilization rate of the electronic devices, thereby avoiding all the electronic devices from being in a power-on state, further avoiding unnecessary energy consumption and avoiding energy waste.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
Referring to fig. 1, fig. 1 is a schematic flowchart of a server power-on method provided by the present invention, where the method is applied to a processor in a server, and the server includes N electronic devices; the method comprises the following steps:
s11: when a power-on instruction is received, controlling the M electronic devices to be powered on;
s12: obtaining the utilization rates of M electronic devices;
s13: judging whether the utilization rates are all larger than a first preset utilization rate;
s14: if yes, selecting Z electronic devices from the unpowered electronic devices, and controlling the selected Z electronic devices to be powered on;
n is more than M and more than or equal to 1, N-M is more than or equal to Z and more than or equal to 1, and N, M and Z are integers.
In consideration of the fact that the power-on mode of the server in the prior art is to control all the electronic devices to be powered on, when the load of the server is low, energy waste may be caused.
In order to solve the technical problem, the design idea of the application is as follows: the number of the electrified electronic devices is controlled according to the requirements of the user, so that the situation that when the user requirements are less (namely, the load connected with the server is lower), the unused electronic devices are also in a running state is avoided, and the energy waste is further avoided.
Based on this, when receiving a power-on instruction, the server in the application controls part of the electronic devices to be powered on (M) first, so that part of the electronic devices execute tasks of a user and the like, and then judges the utilization rate of all the powered-on electronic devices; when the utilization rates of all the electronic devices are greater than the first preset utilization rate, it is determined that the M electronic devices which are powered on are about to fail to meet the requirements of the user, or the risks of low operation speed and the like may exist, at this time, a plurality of (Z) electronic devices are selected from the electronic devices which are not powered on, and the power-on of the electronic devices is controlled to meet the requirements of the user, or the operation speed is increased.
Wherein, the first preset utilization rate may be but not limited to 50%, M and N may be but not limited to 1, and when M and N are both 1, the scheme at this time is: when the server is powered on, one electronic device is controlled to be powered on, and when the utilization rate of the electronic device is more than 50%, the other electronic device is controlled to be powered on, and the like.
It should be noted that the electronic device in the present application may be a CPU or a memory bank in a server. Specifically, when the server is a one-way server, the one-way server includes a CPU and a plurality of memory banks, and the electronic device at this time is a memory bank; when the server is a multi-path server, the multi-path server comprises a plurality of CPUs, each CPU is correspondingly provided with one or more memory banks, and the electronic device at the moment is the CPU. The specific implementation of the electronic device is not limited to the above implementation, and other implementations are also possible, and the present application is not limited thereto.
In conclusion, the number of the electronic devices electrified can be flexibly controlled according to the utilization rate of the electronic devices, so that all the electronic devices can be prevented from being in an electrified state, unnecessary energy consumption is avoided, and energy waste is avoided.
On the basis of the above-described embodiment:
as a preferred embodiment, after controlling the M electronic devices to be powered on, the method further includes:
and updating the ACPI table of the advanced configuration and power management interface to adjust the power-on states of the M electronic devices in the ACPI table.
Specifically, the ACPI table is a corresponding relationship in the server that records the configuration of each interface in the server, and after the control electronic device is powered on, the configuration of the interface corresponding to the electronic device changes, so that after the control electronic device is powered on, the ACPI table needs to be updated, so that the ACPI table can reflect the state of each interface in the server interface in real time, and a user can know the state of the interface of the server according to the ACPI table.
As a preferred embodiment, after controlling the power on of the selected Z electronic devices, the method further includes:
and updating the ACPI table to adjust the power-on states of the Z electronic devices in the ACPI table.
Similarly, after controlling the Z electronic devices to be powered on, the ACPI tables are also updated to update the status of each interface in the server in real time.
As a preferred embodiment, the server is a multi-channel server, the electronic device is a CPU, and each CPU is correspondingly configured with a memory banks;
when a power-on instruction is received, after the M electronic devices are controlled to be powered on, the method further comprises the following steps:
controlling the power-on of i memory banks corresponding to each powered-on CPU;
after obtaining the utilization rates of the M electronic devices, the method further includes:
acquiring the utilization rate of i memory banks corresponding to each powered-on CPU;
after judging whether the utilization ratio all is greater than first predetermined utilization ratio, still include:
judging whether the utilization rate of i memory banks corresponding to each powered-on CPU is greater than a second preset utilization rate;
if the utilization rate of i memory banks corresponding to the powered-on CPU is greater than a second preset utilization rate, selecting j memory banks from unpowered memory banks correspondingly configured to the CPU, and controlling the selected j memory banks to be powered on;
a is more than i and more than or equal to 1, A-i is more than or equal to j and more than or equal to 1, and A, i and j are integers.
Specifically, when the server is a multi-path server, that is, the server includes a plurality of CPUs, and each CPU corresponds to a plurality of memory banks. The power-on control of the server at this time may specifically be: and controlling M CPUs in the multi-path server to be powered on, controlling each CPU in the M CPUs, selecting i memory banks from A corresponding memory banks to be powered on, then judging the utilization rate of the memory banks, selecting j memory banks from the A-i memory banks when the utilization rate is greater than a second preset utilization rate, and controlling the j memory banks to be powered on.
The first preset utilization rate and the second preset utilization rate may be equal to or unequal to each other, and the specific application is not limited herein.
In a preferred embodiment, the second predetermined utilization rate is also 50%.
Specifically, for example, M, Z, i and j are both 1, when the server is powered on, the first CPU is first controlled to be powered on and the first memory bank corresponding to the first CPU is powered on, when the utilization rate of the memory bank corresponding to the first CPU is greater than the second preset utilization rate, the second memory bank corresponding to the first CPU is controlled to be powered on, and so on until the first memory bank is powered on. In the process, the utilization rate of the first CPU is detected simultaneously, when the utilization rate of the first CPU is larger than a first preset utilization rate, the second CPU and the first memory bank corresponding to the second CPU are controlled to be powered on, and so on until all the CPUs and all the memory banks are powered on.
Therefore, by means of the method and the system, not only can the multiple CPUs in the multi-path server be powered on, but also the memory banks corresponding to the CPUs can be powered on, and energy consumption of the multi-path server is further reduced.
As a preferred embodiment, after controlling the power on of the selected Z electronic devices, the method further includes:
acquiring the number of the electronic devices which are not electrified;
and if the number is zero, sending first prompt information.
In order to facilitate a user to know the utilization condition of the electronic devices in the server, when all the electronic devices are powered on, namely when the number of the electronic devices which are not powered on is zero, first prompt information is sent to prompt all the electronic devices to finish the power on, which means that the utilization ratio of the electronic devices in the server reaches a certain degree, at the moment, the user is prompted through the first prompt information, and after the user knows the working state of each electronic device in the server, the task amount issued to the server and the like can be considered.
As a preferred embodiment, after issuing the first prompt message, the method further includes:
acquiring the utilization rates of all electronic devices, and judging whether the utilization rates of all electronic devices are greater than a first preset utilization rate or not;
and if so, sending second prompt information.
Similarly, after all the electronic devices are powered on, the utilization rates of all the electronic devices are also obtained, when the utilization rates of all the electronic devices are greater than the first preset utilization rate, the workload of the electronic devices in the specification server reaches a certain degree, at this time, the server may be stuck or the task execution speed is slow, and at this time, second prompt information is sent to the user, so that the user adjusts the task volume or other processing of the server based on the second prompt information.
In addition, as a preferred embodiment, when an unused electronic device is detected in the powered electronic devices, that is, when an electronic device with a zero utilization rate exists, the electronic device with the zero utilization rate is controlled to be powered down, so as to save energy. Therefore, the power-on and power-off modes of the electronic device are more flexible through the embodiment.
Referring to fig. 2, fig. 2 is a block diagram of a power-on system of a server according to the present invention, the system is applied to a processor in the server, and the server includes N electronic devices; the system comprises:
the first power-on unit 21 is used for controlling the M electronic devices to be powered on when receiving a power-on instruction;
an obtaining unit 22 for obtaining utilization rates of the M electronic devices;
the judging unit 23 is configured to judge whether the utilization rates are all greater than a first preset utilization rate;
the second electrifying unit 24 is configured to select Z electronic devices from the unpowered electronic devices and control the selected Z electronic devices to be electrified when the utilization rates are all greater than the first preset utilization rate;
n is more than M and more than or equal to 1, N-M is more than or equal to Z and more than or equal to 1, and N, M and Z are integers.
For the introduction of the server power-on system, please refer to the above embodiments, which are not described herein again.
Referring to fig. 3, fig. 3 is a block diagram of a power-on device for a server according to the present invention, the power-on device includes:
a memory 31 for storing a computer program;
the processor 32 is configured to implement the server power-on method described above when executing the computer program.
When the processor in the present application includes an OS (operating System), a BIOS (Basic Input Output System), a BMC (base Management Controller), and a CPLD (Complex Programmable logic device) in the server, the execution process may specifically be: (1) when the server is started and needs to be powered on, the CPLD controls M electronic devices to be powered on (a CPU or a memory bank), and the rest memory banks are not powered on; (2) the BIOS scans the information of the electronic device, refreshes an ACPI table, and feeds back the ACPI table to the OS, and the OS starts according to the fed-back information of the electronic device; (3) the OS starts a monitoring program, monitors the utilization rate of the electronic device, and feeds back an operation instruction to the BMC (baseboard Management controller) through an IPMI (Intelligent Platform Management Interface) when the utilization rate is greater than a first preset utilization rate, and the BMC powers on the electronic device through the CPLD; (4) and the BIOS detects that the hardware resource changes, updates the ACPI table and feeds back the ACPI table to the OS.
When the server in the present application is a single-path server, the server may be, but is not limited to, an INTEL server or a single-path soar server. And when M is 1, but not limited to, powering on the memory bank with the slot position of 0 when starting up, and then sequentially controlling the powering on of the memory banks with the slot position of 1 and the slot position of 2 … with the slot position of N-1 according to the utilization rate.
In the step (2), before the BIOS reloads the OS, a timing task is started, that is, the utilization rate of the memory bank is detected once every long time, and when the time interval is short, real-time detection can be understood. And in the step (3), the OS feeds back the operation instruction to the BMC through the IPMI, the BMC sends the instruction for starting the memory bank to the CPLD through the GPIO simulation I2C, and then the CPLD powers on other memory banks. A physical link LPC (linear predictive coding) bus exists between the OS and the BMC, and the OS can directly issue a command to the BMC through the bus, where a communication command between the OS and the BMC is assumed to be impioollraw 0x3e 0x 20. When the electronic device is a CPU, that is, the server is a multi-path server, the communication command between the OS and the BMC is assumed to be impioollraw 0x3e 0x2f, the BMC and the CPLD use GPIO (General-purpose input/output) for communication, the GPIO is used to simulate an I2C signal and define an interface specification of I2C, 8 bits in total are 0x1, one bit corresponds to one CPU, 1 represents start, when the second CPU is started, the BMC sends 00000010 to the CPLD, the CPLD powers on the second CPU, and so on. 9
For other descriptions of the server power-on device, please refer to the above embodiments, which are not described herein again.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the server power-on method described above.
It is to be noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1.一种服务器上电方法,其特征在于,应用于服务器中的处理器,所述服务器包括N个电子器件;所述方法包括:1. A method for powering on a server, characterized in that it is applied to a processor in a server, and the server includes N electronic devices; the method comprises: 在接收到上电指令时,控制M个所述电子器件上电;When receiving the power-on command, control the M electronic devices to power on; 获取M个所述电子器件的利用率;obtaining the utilization rate of the M electronic devices; 判断所述利用率是否均大于第一预设利用率;judging whether the utilization rates are all greater than a first preset utilization rate; 若是,则从未上电的所述电子器件中选择Z个所述电子器件,并控制选择的Z个所述电子器件上电;If so, select Z electronic devices from the unpowered electronic devices, and control the selected Z electronic devices to be powered on; N>M≥1,N-M≥Z≥1,且N、M和Z均为整数。N>M≥1, N-M≥Z≥1, and N, M, and Z are all integers. 2.如权利要求1所述的服务器上电方法,其特征在于,控制M个所述电子器件上电之后,还包括:2. The server power-on method according to claim 1, wherein after controlling the power-on of the M electronic devices, the method further comprises: 更新高级配置和电源管理接口ACPI表,以调整所述ACPI表中M个所述电子器件的上电状态。The Advanced Configuration and Power Management Interface ACPI table is updated to adjust the power-on states of the M electronic devices in the ACPI table. 3.如权利要求2所述的服务器上电方法,其特征在于,控制选择的Z个所述电子器件上电之后,还包括:3. The method for powering up a server according to claim 2, wherein after controlling the selected Z electronic devices to be powered up, the method further comprises: 更新所述ACPI表,以调整所述ACPI表中Z个所述电子器件的上电状态。The ACPI table is updated to adjust the power-on states of the Z electronic devices in the ACPI table. 4.如权利要求1所述的服务器上电方法,其特征在于,所述服务器为单路服务器时,所述电子器件为内存条;所述服务器为多路服务器时,所述电子器件为中央处理器CPU。4. The method for powering on a server according to claim 1, wherein when the server is a single-channel server, the electronic device is a memory module; when the server is a multi-channel server, the electronic device is a central Processor CPU. 5.如权利要求4所述的服务器上电方法,其特征在于,所述服务器为多路服务器,所述电子器件为CPU,且每个CPU对应配置A个所述内存条;5. The method for powering on a server according to claim 4, wherein the server is a multi-channel server, the electronic device is a CPU, and each CPU is correspondingly configured with A memory modules; 在接收到上电指令时,控制M个所述电子器件上电之后,还包括:After receiving the power-on command, after controlling the power-on of the M electronic devices, the method further includes: 控制与每个上电的CPU对应的i个所述内存条上电;controlling the power-on of the i memory sticks corresponding to each powered-on CPU; 获取M个所述电子器件的利用率之后,还包括:After the utilization rate of the M electronic devices is obtained, the method further includes: 获取每个上电的CPU对应的i个所述内存条的利用率;Obtain the utilization rate of the i memory modules corresponding to each powered-on CPU; 判断所述利用率是否均大于第一预设利用率之后,还包括:After judging whether the utilization rates are all greater than the first preset utilization rate, the method further includes: 判断每个上电的CPU对应的i个所述内存条的利用率是否均大于第二预设利用率;Determine whether the utilization rate of the i memory modules corresponding to each powered-on CPU is greater than the second preset utilization rate; 若上电的CPU对应的i个所述内存条的利用率大于所述第二预设利用率,则从所述CPU对应配置的未上电的内存条中选择j个所述内存条,并控制选择的j个所述内存条上电;If the utilization rate of the i memory modules corresponding to the powered-on CPU is greater than the second preset utilization rate, select j memory modules from the unpowered memory modules configured corresponding to the CPU, and controlling the selected j memory sticks to be powered on; A>i≥1,A-i≥j≥1,且A、i和j均为整数。A>i≥1, A-i≥j≥1, and A, i, and j are all integers. 6.如权利要求1-5任一项所述的服务器上电方法,其特征在于,控制选择的Z个所述电子器件上电之后,还包括:6. The server power-on method according to any one of claims 1-5, wherein after controlling the selected Z electronic devices to be powered on, the method further comprises: 获取未上电的所述电子器件的个数;Obtain the number of the electronic devices that are not powered on; 若所述个数为零,则发送第一提示信息。If the number is zero, the first prompt message is sent. 7.如权利要求6所述的服务器上电方法,其特征在于,发出第一提示信息之后,还包括:7. The method for powering on a server according to claim 6, wherein after sending the first prompt message, the method further comprises: 获取所有所述电子器件的利用率,并判断所有所述电子器件的利用率是否均大于所述第一预设利用率;Obtain the utilization ratios of all the electronic devices, and determine whether the utilization ratios of all the electronic devices are greater than the first preset utilization ratio; 若是,则发送第二提示信息。If so, send second prompt information. 8.一种服务器上电系统,其特征在于,应用于服务器中的处理器,所述服务器包括N个电子器件;所述系统包括:8. A server power-on system, characterized in that it is applied to a processor in a server, and the server comprises N electronic devices; the system comprises: 第一上电单元,用于在接收到上电指令时,控制M个所述电子器件上电;a first power-on unit, configured to control the power-on of the M electronic devices when receiving a power-on command; 获取单元,用于获取M个所述电子器件的利用率;an obtaining unit for obtaining the utilization ratio of the M electronic devices; 判断单元,用于判断所述利用率是否均大于第一预设利用率;a judging unit for judging whether the utilization rates are all greater than a first preset utilization rate; 第二上电单元,用于在所述利用率均大于所述第一预设利用率时,从未上电的所述电子器件中选择Z个所述电子器件,并控制选择的Z个所述电子器件上电;A second power-on unit, configured to select Z electronic devices from the unpowered electronic devices, and control the selected Z electronic devices when the utilization ratios are all greater than the first preset utilization ratio The electronic device is powered on; N>M≥1,N-M≥Z≥1,且N、M和Z均为整数。N>M≥1, N-M≥Z≥1, and N, M, and Z are all integers. 9.一种服务器上电装置,其特征在于,包括:9. A server power-on device, comprising: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于在执行所述计算机程序时,实现如权利要求1-7任一项所述的服务器上电方法。The processor is configured to implement the server power-on method according to any one of claims 1-7 when executing the computer program. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-7任一项所述的服务器上电方法的步骤。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the server according to any one of claims 1-7 is implemented Steps of the power-up method.
CN202111161529.8A 2021-09-30 2021-09-30 Server power-on method, system, device and medium Withdrawn CN113986000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111161529.8A CN113986000A (en) 2021-09-30 2021-09-30 Server power-on method, system, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111161529.8A CN113986000A (en) 2021-09-30 2021-09-30 Server power-on method, system, device and medium

Publications (1)

Publication Number Publication Date
CN113986000A true CN113986000A (en) 2022-01-28

Family

ID=79737483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111161529.8A Withdrawn CN113986000A (en) 2021-09-30 2021-09-30 Server power-on method, system, device and medium

Country Status (1)

Country Link
CN (1) CN113986000A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115617530A (en) * 2022-11-17 2023-01-17 苏州浪潮智能科技有限公司 Microprocessor-based service system, microprocessor processing method and device
CN115686872A (en) * 2022-12-30 2023-02-03 浪潮电子信息产业股份有限公司 BMC-based memory resource processing equipment, method, device and medium
CN116662244A (en) * 2023-06-16 2023-08-29 海光信息技术股份有限公司 Motherboard of multi-channel server, server and power-on control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115617530A (en) * 2022-11-17 2023-01-17 苏州浪潮智能科技有限公司 Microprocessor-based service system, microprocessor processing method and device
CN115686872A (en) * 2022-12-30 2023-02-03 浪潮电子信息产业股份有限公司 BMC-based memory resource processing equipment, method, device and medium
CN116662244A (en) * 2023-06-16 2023-08-29 海光信息技术股份有限公司 Motherboard of multi-channel server, server and power-on control method

Similar Documents

Publication Publication Date Title
CN100541393C (en) Apparatus and method for managing power in a computer system
US6298448B1 (en) Apparatus and method for automatic CPU speed control based on application-specific criteria
US7596705B2 (en) Automatically controlling processor mode of multi-core processor
TW578044B (en) Power management system to select a power state for a network computer system based on load
CN113986000A (en) Server power-on method, system, device and medium
US6128745A (en) Power management inactivity monitoring using software threads
CN106412091A (en) Data transmission control method, device and system
CN109857466B (en) BIOS configuration method, device, server and computer readable storage medium
CN111625080B (en) Server energy saving method and device, electronic equipment and storage medium
CN114003367B (en) Risk monitoring method, device, equipment and storage medium
CN115461698A (en) Systems and methods for server power management
KR102060431B1 (en) Apparatus and method for managing power in multi-core system
CN102480387A (en) Rack-mounted server device
CN119002669A (en) Power supply performance control method of server power supply, storage medium and electronic equipment
CN116566435B (en) Intelligent cable monitoring method and system for dynamically waking up acquisition nodes
CN107515668B (en) Control method and device
US11516082B1 (en) Configuration of a baseboard management controller (BMC) group leader responsive to load
CN115185769A (en) Monitoring method, device, equipment and medium for server cluster
CN110673898B (en) Equipment management method, first equipment and interaction system
WO2025080362A1 (en) Intelligent power optimization mechanism via an enhanced cpu power management algorithm
CN116560808A (en) Information processing method, device, equipment and computer readable storage medium
CN101281418B (en) Method for setting universal serial bus device and computer-readable recording medium
CN114816696A (en) A method, system and device for automating Kubernetes tasks
CN108920198B (en) Method, system and server for changing system energy efficiency mode in BIOS
CN109976490B (en) Power supply control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220128