CN113075992B - Memory power-on method, device, equipment and computer readable storage medium - Google Patents
Memory power-on method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN113075992B CN113075992B CN202110394510.1A CN202110394510A CN113075992B CN 113075992 B CN113075992 B CN 113075992B CN 202110394510 A CN202110394510 A CN 202110394510A CN 113075992 B CN113075992 B CN 113075992B
- Authority
- CN
- China
- Prior art keywords
- memory
- server
- powered
- power
- electrified
- 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
Links
- 230000015654 memory Effects 0.000 title claims abstract description 385
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000012544 monitoring process Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 7
- 238000012360 testing method Methods 0.000 claims description 6
- 239000002699 waste material Substances 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
- G06F1/3225—Monitoring of peripheral devices of memory devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3275—Power saving in memory, e.g. RAM, cache
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/3287—Power saving characterised by the action undertaken by switching off individual functional units in the computer system
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy 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)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Power Sources (AREA)
Abstract
The application discloses a memory power-on method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: powering on a memory in the server when the server is started; detecting the utilization rate of the memory, and electrifying one memory in the unpowered memories in the server when the utilization rate exceeds a threshold value; forming a mirror image of the powered-on memory, acquiring memory information according to the mirror image, and sending the memory information to an operating system in the server so that the operating system can use the powered-on memory according to the memory information; and executing the step of detecting the utilization rate of the memory until the memories in the server are all electrified. According to the technical scheme disclosed by the application, only one of the memories is powered on when the server is started, and the dynamic and on-demand powering on the memories is realized subsequently according to the service conditions of the memories, so that the power consumption of the server is reduced, and the waste of energy is reduced.
Description
Technical Field
The present application relates to the field of server technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for powering on a memory.
Background
With the rapid development of data center services, the number of large data centers is increasing, and the number of servers in the data centers is increasing.
At present, when a server is powered on, all memories in the server are also powered on, but because the server is not operated at full load under all conditions, the power consumption of the server is increased when all the memories are in a power supply state, and thus the energy is wasted.
In summary, how to reduce the power consumption of the server is a technical problem that those skilled in the art need to solve at present.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, a device and a computer readable storage medium for powering on a memory, so as to reduce power consumption of a server.
In order to achieve the above object, the present application provides the following technical solutions:
a memory power-on method comprises the following steps:
powering on a memory in a server when the server is started;
detecting the utilization rate of the memory, and electrifying one memory in the unpowered memories in the server when the utilization rate exceeds a threshold value;
forming a mirror image of the powered-on memory, acquiring memory information according to the mirror image, and sending the memory information to an operating system in the server so that the operating system can use the powered-on memory according to the memory information;
and executing the step of detecting the utilization rate of the memory until the memories in the server are all powered on.
Preferably, the obtaining the memory information according to the mirror image includes:
calculating the use capacity of the electrified memory and the use method of the memory address interval in the electrified memory through CPU configuration parameters according to the model parameters of the newly electrified memory and the capacity of the electrified memory in the mirror image; the using method of the memory address interval comprises the data type to be placed in each memory address interval.
Preferably, the sending the memory information to an operating system in the server includes:
and writing the memory information into an EFI table, and sending the EFI table to the operating system.
Preferably, the method further comprises the following steps:
carrying out power-on test on the memories in the server to obtain the power-on time of each memory;
correspondingly, the step of powering on a memory in the server includes:
powering on the memory with the shortest power-on time in the server;
powering on a memory in the unpowered memory in the server, including:
and powering on the memory with the shortest power-on time in the unpowered memories in the server.
Preferably, the detecting the usage rate of the memory includes:
and detecting the utilization rate of the memory by using a preset monitoring process.
Preferably, the mirroring of the powered-on memory includes:
and sending memory electrifying information to a kernel of the operating system by using the monitoring process, and forming an electrified memory into a mirror image by using the kernel.
A memory power-on device, comprising:
the power-on module is used for powering on a memory in the server when the server is started;
the detection module is used for detecting the utilization rate of the memory, and when the utilization rate exceeds a threshold value, a memory in the unpowered memory in the server is powered on;
the sending module is used for forming a mirror image of the powered-on memory, acquiring memory information according to the mirror image and sending the memory information to an operating system in the server so that the operating system can use the powered-on memory according to the memory information;
and the execution module is used for executing the step of detecting the utilization rate of the memory until the memories in the server are all electrified.
Preferably, the sending module includes:
the computing unit is used for computing the use capacity of the electrified memory and the use method of the memory address interval in the electrified memory through the CPU configuration parameters according to the model parameter of the newly electrified memory and the capacity of the electrified memory in the mirror image; the using method of the memory address interval comprises the data type to be placed in each memory address interval.
A memory powered device, comprising:
a memory for storing a computer program;
a processor, configured to implement the steps of the memory power-on method according to any one of the above descriptions when the computer program is executed.
A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a memory power-up method as claimed in any one of the preceding claims.
The application provides a memory power-on method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: powering on a memory in the server when the server is started; detecting the utilization rate of the memory, and electrifying one memory in the unpowered memories in the server when the utilization rate exceeds a threshold value; forming a mirror image of the powered-on memory, acquiring memory information according to the mirror image, and sending the memory information to an operating system in the server so that the operating system can use the powered-on memory according to the memory information; and executing the step of detecting the utilization rate of the memory until the memories in the server are all powered on.
According to the technical scheme disclosed by the application, only one internal memory is electrified when the server is started, the utilization rate of the internal memory is detected after the power-on, when the utilization rate exceeds a threshold value, one internal memory in the unpowered internal memory in the server is electrified, the electrified internal memory forms a mirror image, namely, the electrified internal memory and the newly electrified internal memory are combined together, the content stored in the electrified internal memory is expanded into the combined internal memory, and meanwhile, the internal memory information is obtained from the formed mirror image and is sent to an operating system, so that the operating system uses the electrified internal memory according to the internal memory information, and the utilization rate of the electrified internal memory is detected, so that the unpowered internal memory is electrified when the utilization rate exceeds the threshold value, the use requirement of the internal memory is met, and compared with the prior art, all the internal memories are electrified when the server is started, according to the method and the device, power-on and dynamic power-on of the memory in the server can be achieved according to needs through the processes, so that the power consumption of the server is reduced, and the waste of the data center to energy is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a memory power-on method according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a memory power-on device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a memory power-on device according to an embodiment of the present disclosure.
Detailed Description
The application aims to provide a memory power-on method, a memory power-on device, memory power-on equipment and a computer readable storage medium, which are used for reducing the power consumption of a server so as to reduce the waste of energy resources by a data center.
In order to make the technical solutions more clearly understood by those skilled in the art, the technical solutions in the embodiments of the present application will be described below clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, which shows a flowchart of a memory power-on method provided in an embodiment of the present application, a memory power-on method provided in an embodiment of the present application may include:
s11: when the server is started, a memory in the server is powered on.
When the server is started (specifically, the server can be started by clicking a server startup button), the CPLD (Complex Programmable Logic Device) selects a memory from the memories in the server, powers on the selected memory, and the rest memories in the server are all in a non-power-supply state, so that the powered-on memory is used for data storage, and at the same time, an operating system in the server can be started.
S12: and detecting the utilization rate of the memory, and powering on one memory in the unpowered memories in the server when the utilization rate exceeds a threshold value.
After the memory is started, the utilization rate of the memory that has been powered on may be detected, and specifically, the utilization rate of the memory may be detected at regular time or in real time. After the usage rate of the memory is detected each time, the usage rate of the memory is compared with a preset threshold (specifically, 50% or other values), if the usage rate of the memory does not exceed the threshold, the step of detecting the usage rate of the memory is continuously executed, and if the usage rate of the memory exceeds the threshold, the CPLD may select a memory from the unpowered memories in the server and power on the selected memory.
S13: and forming a mirror image of the powered-on memories, acquiring memory information according to the mirror image, sending the memory information to an operating system in the server for the operating system to use the powered-on memories according to the memory information, and returning to execute the step S12 until all the memories in the server are powered on.
After the newly selected memory is powered on, the powered-on memory may be configured as a mirror image, where configuring the powered-on memory as the mirror image is to merge the previously powered-on memory (which does not include the newly powered-on memory) and the newly powered-on memory together to obtain a new memory, and transfer the content stored in the previously powered-on memory to the new memory formed by the merging, so that the data is no longer concentrated in the previously powered-on memory, that is, the data is distributed in the new memory in a balanced manner.
After the powered-on memory is formed into a mirror image, memory information can be obtained according to the formed mirror image, and the memory information is sent to an operating system in the server, so that the operating system can check the increase of the memory through commands, and the powered-on memory can be used according to the memory information.
After the memory information is sent to the operating system in the server, step S12 may be executed, that is, the usage rate of the powered-on memory is continuously detected, the detected usage rate is compared with the threshold, and step S13 is executed when the usage rate exceeds the threshold, and the above steps are repeated until the memory in the server is completely powered on.
Through the process, compared with the prior art that all the memories in the server are powered on when the server is started, the method and the device can be used for powering on only one of the memories when the server is started, and then dynamically powering on the memories and powering on the memories as required according to the use conditions of the memories, so that the increase of the power consumption of the server caused by the fact that the memories are powered on completely when the server is started is avoided, and therefore the waste of energy resources by a data center where the server is located can be reduced.
According to the technical scheme disclosed by the application, only one internal memory is electrified when the server is started, the utilization rate of the internal memory is detected after the power-on, when the utilization rate exceeds a threshold value, one internal memory in the unpowered internal memory in the server is electrified, the electrified internal memory forms a mirror image, namely, the electrified internal memory and the newly electrified internal memory are combined together, the content stored in the electrified internal memory is expanded into the combined internal memory, and meanwhile, the internal memory information is obtained from the formed mirror image and is sent to an operating system, so that the operating system uses the electrified internal memory according to the internal memory information, and the utilization rate of the electrified internal memory is detected, so that the unpowered internal memory is electrified when the utilization rate exceeds the threshold value, the use requirement of the internal memory is met, and compared with the prior art, all the internal memories are electrified when the server is started, according to the method and the device, power-on and dynamic power-on of the memory in the server can be achieved according to needs through the processes, so that the power consumption of the server is reduced, and the waste of the data center to energy is reduced.
The memory power-on method provided by the embodiment of the present application, acquiring memory information according to a mirror image, may include:
calculating the use capacity of the electrified memory and the use method of the memory address interval in the electrified memory through the CPU configuration parameters according to the model parameters of the newly electrified memory and the capacity of the electrified memory in the mirror image; the method for using the memory address interval may include a data type to be placed in each memory address interval.
When the memory information is obtained according to the mirror image, the model parameter of the newly powered-on memory (specifically, the spd parameter of the memory standard) and the capacity of the powered-on memory (i.e., the total capacity) may be obtained according to the mirror image, then, according to the model parameter of the new power-on memory and the capacity of the power-on memory, the memory information is calculated by the CPU configuration parameter, and the memory information mentioned here is specifically the usage capacity of the powered-on memory and the usage method of the memory address interval in the powered-on memory, wherein, the using method of the memory address interval comprises the data type which is required to be placed in each memory address interval so as to be convenient for an operating system to store data according to the using method of the memory address interval, therefore, the reasonability of data storage is improved, and the detection of the memory utilization rate and the use of the electrified memory are convenient to carry out according to the calculated use capacity of the electrified memory.
The memory power-on method provided by the embodiment of the present application, which sends the memory information to the operating system in the server, may include:
and writing the memory information into the EFI table, and sending the EFI table to the operating system.
When the memory information is sent to the operating system in the server, the obtained memory information may be written into an EFI (Extensible Firmware Interface) table, and the EFI table is sent to the operating system, so that the operating system can obtain the memory information from the EFI table and know how to use the memory. It should be noted that EFI is an upgrade scheme introduced by intel corporation to replace BIOS in future PC-like computer systems.
The memory power-on method provided by the embodiment of the application may further include:
carrying out power-on test on the memories in the server to obtain the power-on time of each memory;
correspondingly, powering on a memory in the server may include:
electrifying the memory with the shortest electrifying time in the server;
powering on a memory in the unpowered memories in the server may include:
and powering on the memory with the shortest power-on time in the unpowered memories in the server.
In the application, a power-on test can be performed on the memories in the server in advance to obtain the power-on time of each memory in the server, accordingly, when a memory in the server is powered on when the server is started, the memory with the shortest power-on time in the server can be powered on so as to be used by the server in time, and when a memory in the unpowered memories in the server is powered on, the memory with the shortest power-on time in the unpowered memories in the server can be powered on so as to be used by the server in time for replenishing the memory capacity.
Of course, the memory may also be powered on according to the sequence of the slot codes corresponding to the memory, and specifically, the memory with the slot code 1 may be powered on in sequence.
The memory power-on method provided by the embodiment of the application detects the usage rate of a memory, and may include:
and detecting the utilization rate of the memory by using a preset monitoring process.
When detecting the utilization rate of the memory, the utilization rate of the memory may be specifically detected by using a preset monitoring process, where the monitoring process may be embedded in an operating system of the server and is specially used to monitor the utilization rate of the memory, so as to improve reliability and accuracy of monitoring the utilization rate of the memory. In addition, the monitoring process can communicate with the CPLD, wherein the communication with the CPLD can monitor the utilization rate by using the monitoring process when the CPLD is powered on, and when the utilization rate is monitored to exceed a threshold value, the operating system controls the CPLD through the I2C, so that the CPLD powers on a memory in the unpowered memory.
The memory power-on method provided by the embodiment of the present application, which forms a mirror image of a powered-on memory, may include:
and sending the memory power-on information to a kernel of the operating system by using the monitoring process, and forming a mirror image of the powered-on memory by using the kernel.
When the powered-on memory is formed into a mirror image, the monitoring process may be specifically used to send the memory power-on information to a kernel (a core part of most operating systems) of the operating system, specifically, after the CPLD powers on the memory, a completion signal may be sent to the monitoring process of the operating system, and then, the monitoring process may send the memory power-on information and the memory increase information to the kernel of the operating system through inter-process communication. After receiving the information of powering on the memory, the kernel of the operating system can form a mirror image of the powered-on memory according to the size of the powered-on memory, so as to realize the formation of the mirror image in time.
An embodiment of the present application further provides a memory power-on device, see fig. 2, which shows a schematic structural diagram of the memory power-on device provided in the embodiment of the present application, and the memory power-on device may include:
the power-on module 21 is used for powering on a memory in the server when the server is started;
the detection module 22 is configured to detect a usage rate of the memory, and power up a memory in the unpowered memory in the server when the usage rate exceeds a threshold;
the sending module 23 is configured to form a mirror image of the powered-on memory, acquire memory information according to the mirror image, and send the memory information to an operating system in the server, so that the operating system can use the powered-on memory according to the memory information;
and the execution module 24 is configured to execute the step of detecting the usage rate of the memory until all the memories in the server are powered on.
In an embodiment of the memory power-on device provided in this application, the sending module 23 may include:
the computing unit is used for computing the use capacity of the electrified memory and the use method of the memory address interval in the electrified memory through the CPU configuration parameters according to the model parameter of the newly electrified memory and the capacity of the electrified memory in the mirror image; the method for using the memory address interval may include a data type to be placed in each memory address interval.
In an embodiment of the memory power-on device provided in this application, the sending module 23 may include:
and the writing unit is used for writing the memory information into the EFI table and sending the EFI table to the operating system.
The memory power-on device provided in the embodiment of the present application may further include:
the test module is used for carrying out power-on test on the memories in the server to obtain the power-on time of each memory;
accordingly, the power-on module 21 may include:
the first power-on unit is used for powering on the memory with the shortest power-on time in the server;
the detection module 22 may include:
and the second power-on unit is used for powering on the memory with the shortest power-on time in the unpowered memories in the server.
In an embodiment of the memory power-on device provided in the present application, the detection module 22 may include:
and the detection unit is used for detecting the utilization rate of the memory by utilizing a preset monitoring process.
In an embodiment of the memory power-on device provided in this application, the sending module 23 may include:
and the sending unit is used for sending the memory power-on information to the kernel of the operating system by using the monitoring process and forming a mirror image of the powered-on memory by using the kernel.
An embodiment of the present application further provides a memory powered device, see fig. 3, which shows a schematic structural diagram of the memory powered device provided in the embodiment of the present application, and the memory powered device may include:
a memory for storing a computer program;
a processor operable to execute the computer program stored in the memory and operable to perform the steps of:
powering on a memory in the server when the server is started; detecting the utilization rate of the memory, and electrifying one memory in the unpowered memories in the server when the utilization rate exceeds a threshold value; forming a mirror image of the powered-on memory, acquiring memory information according to the mirror image, and sending the memory information to an operating system in the server so that the operating system can use the powered-on memory according to the memory information; and executing the step of detecting the utilization rate of the memory until the memories in the server are all powered on.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when executed by a processor, the computer program can implement the following steps:
powering on a memory in the server when the server is started; detecting the utilization rate of the memory, and electrifying one memory in the unpowered memories in the server when the utilization rate exceeds a threshold value; forming a mirror image of the powered-on memory, acquiring memory information according to the mirror image, and sending the memory information to an operating system in the server so that the operating system can use the powered-on memory according to the memory information; and executing the step of detecting the utilization rate of the memory until the memories in the server are all electrified.
The computer-readable storage medium may include: various media capable of storing program codes, 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.
It is noted that, herein, relational terms such as first and second, and the like may be 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. Furthermore, 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 elements inherent in the list. 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. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. 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 application. Thus, the present application 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. A method for powering up a memory, comprising:
powering on a memory in a server when the server is started;
detecting the utilization rate of the memory, and electrifying one memory in the unpowered memories in the server when the utilization rate exceeds a threshold value;
forming a mirror image of the powered-on memory, acquiring memory information according to the mirror image, and sending the memory information to an operating system in the server so that the operating system can use the powered-on memory according to the memory information;
and executing the step of detecting the utilization rate of the memory until the memories in the server are all powered on.
2. The memory power-on method according to claim 1, wherein obtaining the memory information according to the mirror image comprises:
calculating the use capacity of the electrified memory and the use method of the memory address interval in the electrified memory through CPU configuration parameters according to the model parameters of the newly electrified memory and the capacity of the electrified memory in the mirror image; the using method of the memory address interval comprises the data type to be placed in each memory address interval.
3. The memory power-on method according to claim 2, wherein sending the memory information to an operating system in the server comprises:
and writing the memory information into an EFI table, and sending the EFI table to the operating system.
4. The memory power-on method according to claim 1, further comprising:
carrying out power-on test on the memories in the server to obtain the power-on time of each memory;
correspondingly, the step of powering on a memory in the server includes:
powering on the memory with the shortest power-on time in the server;
powering on a memory in the unpowered memory in the server, including:
and powering on the memory with the shortest power-on time in the unpowered memories in the server.
5. The method of claim 1, wherein detecting the utilization of the memory comprises:
and detecting the utilization rate of the memory by using a preset monitoring process.
6. The method of claim 5, wherein mirroring the powered-up memory comprises:
and sending memory power-on information to a kernel of the operating system by using the monitoring process, and forming a mirror image of the powered-on memory by using the kernel.
7. A memory power-on device, comprising:
the power-on module is used for powering on a memory in the server when the server is started;
the detection module is used for detecting the utilization rate of the memory, and when the utilization rate exceeds a threshold value, a memory in the unpowered memory in the server is powered on;
the sending module is used for forming a mirror image of the powered-on memory, acquiring memory information according to the mirror image and sending the memory information to an operating system in the server so that the operating system can use the powered-on memory according to the memory information;
and the execution module is used for executing the step of detecting the utilization rate of the memory until the memories in the server are all electrified.
8. The memory powering device according to claim 7, wherein the sending module comprises:
the computing unit is used for computing the use capacity of the electrified memory and the use method of the memory address interval in the electrified memory through the CPU configuration parameters according to the model parameters of the newly electrified memory and the capacity of the electrified memory in the mirror image; the using method of the memory address interval comprises the data type to be placed in each memory address interval.
9. A memory powered device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the memory power-on method according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for powering on a memory according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110394510.1A CN113075992B (en) | 2021-04-13 | 2021-04-13 | Memory power-on method, device, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110394510.1A CN113075992B (en) | 2021-04-13 | 2021-04-13 | Memory power-on method, device, equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113075992A CN113075992A (en) | 2021-07-06 |
CN113075992B true CN113075992B (en) | 2022-07-05 |
Family
ID=76617463
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110394510.1A Active CN113075992B (en) | 2021-04-13 | 2021-04-13 | Memory power-on method, device, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113075992B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115686872B (en) * | 2022-12-30 | 2023-03-21 | 浪潮电子信息产业股份有限公司 | Memory resource processing equipment, method, device and medium based on BMC (baseboard management controller) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5993821A (en) * | 1994-01-31 | 1999-11-30 | The University Of Queensland | Modified papilloma virus L2 protein and VLPs formed therefrom |
US7130870B1 (en) * | 2000-05-20 | 2006-10-31 | Ciena Corporation | Method for upgrading embedded configuration databases |
CN204236461U (en) * | 2013-02-08 | 2015-04-01 | 高效动力传动***公司 | For controlling the system of hybrid electric vehicle (HEV) power system used |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9276773B2 (en) * | 2013-03-14 | 2016-03-01 | Tso Logic Inc. | Control system for power control |
CN104978233A (en) * | 2014-04-11 | 2015-10-14 | 郑建锋 | Method and device for dynamically using memory |
CN106940587B (en) * | 2017-03-10 | 2019-09-27 | 郑州云海信息技术有限公司 | A kind of memory board powering method and system based on OpenPower platform |
CN108304299A (en) * | 2018-03-02 | 2018-07-20 | 郑州云海信息技术有限公司 | Server power-up state monitors system and method, computer storage and equipment |
CN109408130A (en) * | 2018-12-18 | 2019-03-01 | 广东浪潮大数据研究有限公司 | A kind of starting method, activation system and the relevant apparatus of BIOS |
CN110262893B (en) * | 2019-05-16 | 2021-08-20 | 华为技术有限公司 | Method and device for configuring mirror image memory and computer storage medium |
-
2021
- 2021-04-13 CN CN202110394510.1A patent/CN113075992B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5993821A (en) * | 1994-01-31 | 1999-11-30 | The University Of Queensland | Modified papilloma virus L2 protein and VLPs formed therefrom |
US7130870B1 (en) * | 2000-05-20 | 2006-10-31 | Ciena Corporation | Method for upgrading embedded configuration databases |
CN204236461U (en) * | 2013-02-08 | 2015-04-01 | 高效动力传动***公司 | For controlling the system of hybrid electric vehicle (HEV) power system used |
Also Published As
Publication number | Publication date |
---|---|
CN113075992A (en) | 2021-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6388964B2 (en) | Method and apparatus for reducing power consumption and mobile terminal | |
CN113075992B (en) | Memory power-on method, device, equipment and computer readable storage medium | |
CN107766177A (en) | Start optimization method, device, storage medium and terminal device | |
WO2023024863A1 (en) | System chip and electronic device | |
CN102437917B (en) | A kind of network wake-up method, network wake-up device and computer | |
CN111625419A (en) | Log acquisition method, system, equipment and computer readable storage medium | |
US11544414B2 (en) | Secure wake-on of a computing device | |
CN106603526B (en) | WiFi/hotspot starting method and device | |
CN112912743B (en) | Calculation force control method, device, equipment and storage medium | |
CN111130856A (en) | Server configuration method, system, equipment and computer readable storage medium | |
CN107995675B (en) | Communication method, device, terminal and storage medium of mobile POS machine | |
CN114048465B (en) | Stack state detection method, device, equipment and storage medium | |
CN115495161A (en) | BIOS option modification validation method and device and storage medium | |
CN110794945B (en) | Storage server power supply method, device, equipment and storage medium | |
CN115794232A (en) | VPD (virtual private display) acquisition method, device, equipment and computer-readable storage medium | |
CN114995762A (en) | Thick backup roll capacity expansion method, device, equipment and storage medium | |
CN114817134A (en) | Snapshot task monitoring method, device, equipment and medium | |
CN112153119A (en) | Control equipment, method and system | |
CN111399871A (en) | System updating method, device, equipment and medium for HBA card | |
CN111399921A (en) | Switching method, device and equipment for server boot logo | |
CN117033084B (en) | Virtual machine backup method and device, electronic equipment and storage medium | |
TWI298137B (en) | ||
CN113835977B (en) | State prompting method, state prompting device, computer equipment and computer readable storage medium | |
CN117519836B (en) | Method and device for controlling starting of server and server | |
CN115993929B (en) | Storage device management method, storage device management device, electronic device 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 |