CN108255527A - The method and apparatus of activation system, computing device, readable storage medium storing program for executing - Google Patents
The method and apparatus of activation system, computing device, readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN108255527A CN108255527A CN201711268630.7A CN201711268630A CN108255527A CN 108255527 A CN108255527 A CN 108255527A CN 201711268630 A CN201711268630 A CN 201711268630A CN 108255527 A CN108255527 A CN 108255527A
- Authority
- CN
- China
- Prior art keywords
- computing device
- memory
- allocation information
- resource allocation
- processor
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Abstract
The application provides a kind of method and apparatus of activation system, computing device, readable storage medium storing program for executing.The application refers to the minimal hardware resource being scheduled on needed for computing device start-up operation system (operating system, OS) in resource allocation information in advance.In the method, computing device obtains the resource allocation information, initializes the hardware resource that resource allocation information is specified described in the computing device, starts the OS on hardware resource after initialization.In this application, the hardware resource that the resource allocation information is specified is the fractional hardware resource in computing device, therefore all hardware resource of initialization computing device is not needed to, reduce the time of the hardware resource of initialization computing device, so as to reduce the time needed for activation system, the system starting efficiency of computing device is improved.
Description
Technical field
This application involves computing device field more particularly to a kind of method and apparatus of activation system, computing device, readable
Storage medium.
Background technology
With the development of computing device (such as server), the processor of computing device configuration is more and more, processor
Function is increasing.Correspondingly, the quantity of the memory bar of computing device configuration is more and more, and the total capacity of memory is increasing.
Computing device configuration quick peripheral component interconnection (Peripheral Component Interconnect Express,
PCIE) equipment is more and more, and the function of PCIE device is stronger and stronger.
Computing device needs to initialize hardware (such as processor and memory) all in computing device in activation system,
The time for leading to activation system is increasingly longer.Computing device of the initialization with 2 processors at least needs 5 minutes, initializes
Computing device with 4 processors needs at least 20 minutes, and computing device of the initialization with 8 processors needs 40
Minute or more;Especially on the server of some high end configurations (such as processor node is more), initialization time need 1 or
Multiple hours.The system of computing device starts slow, it is impossible to meet the quick response requirement of cloud computing;In addition, computing device is opened
Hair stage and O&M stage are also required to that system startup is rapidly completed.
Invention content
In view of this, this application provides a kind of method and apparatus of activation system, computing device, readable storage medium storing program for executing,
The system starting efficiency of computing device can be improved.
In a first aspect, the application provides a kind of method of activation system.Refer in resource allocation information in advance and be scheduled on calculating
The fractional hardware resource in the computing device needed for equipment start-up operation system (operating system, OS).In the party
In method, computing device obtains the resource allocation information, initialize resource allocation information described in the computing device specify it is hard
Part resource starts the OS on hardware resource after initialization.
In this application, the hardware resource that initialization resource allocation information is specified is the fractional hardware money in computing device
Source, thus do not need to initialization computing device all hardware resource, reduce initialization computing device hardware resource when
Between, so as to reduce the time needed for activation system, improve the system starting efficiency of computing device.
With reference to first aspect or any one of first aspect may design, and in this may be designed, match in advance in resource
Confidence breath middle finger is scheduled on the minimal hardware resource needed for computing device start-up operation system (operating system, OS).
In this way, according to the resource allocation information, it is only initialized the minimal hardware resource started in computing device needed for OS.
Due to do not need to initialization computing device all hardware resource, reduce initialization computing device hardware resource time,
So as to reduce the time needed for activation system, the system starting efficiency of computing device is improved.
With reference to first aspect or any one of first aspect may design, in this may be designed, the computing device
With M processor, each processor includes multiple processor cores.Resource allocation information specifies the part in N number of processor
Processor core;The part that computing device initializes in the computing device in N number of processor according to the resource allocation information is handled
Device core, M are positive integer more than or equal to N, M and N.
In this way, computing device only initializes the segment processor core in the processor according to the resource allocation information, reduce
Time of initialization processor.
With reference to first aspect or any one of first aspect may design, in this may be designed, the resource distribution
Information specifies the memory of target memory capacity, and the target memory capacity is less than total appearance of memory that the computing device includes
Amount.Computing device initializes the memory of target memory capacity that resource allocation information is specified described in the computing device, initially
The memory of the target memory capacity after change is used for the processor after initialization.
In this way, computing device, which when initializing memory, only initializes resource allocation information, specifies the interior of target memory capacity
It deposits, due to not needing to all memories of initialization computing device, reduces the time of the memory of initialization computing device.
With reference to first aspect or any one of first aspect may design, in this may be designed, the resource distribution
The memory bar for the destination number that information is specified, the destination number are less than the total quantity of memory bar that the computing device includes.
Computing device initializes the memory bar of destination number that resource allocation information is specified described in the computing device, after initialization
The memory bar of the destination number is used for the processor after initialization.
In this way, computing device when initializing memory, only initializes the memory of destination number that resource allocation information is specified,
Due to not needing to all memories of initialization computing device, reduce the time of the memory of initialization computing device.
With reference to first aspect or any one of first aspect may design, in this may be designed, the resource distribution
Information specifies the memory of destination channel, and the destination channel is the passage portion in all channels that the computing device includes.
Computing device initializes the memory of destination channel that resource allocation information is specified described in the computing device, the institute after initialization
The memory for stating destination channel is used for the processor after initialization.
In this way, computing device when initializing memory, only initializes the memory of destination channel that resource allocation information is specified,
Due to not needing to all memories of initialization computing device, reduce the time of the memory of initialization computing device.
With reference to first aspect or any one of first aspect may design, in this may be designed, the resource distribution
The target PCIE device that information is specified, the target PCIE device are the portion in all PCIE devices that the computing device includes
Divide PCIE device.Computing device initializes the target PCIE device that resource allocation information is specified described in the computing device, just
The target PCIE device after beginningization is used for the processor after initialization.
It is set in this way, computing device when initializing PCIE device, only initializes the target PCIE that resource allocation information is specified
It is standby, due to do not need to initialization computing device all PCIE devices, reduce initialization computing device PCIE device when
Between
With reference to first aspect or any one of first aspect may design, in this may be designed, resource allocation information
Can be that the BIOS that had previously been run by computing device or OS are configured, the computing device subsequently started can be read by BIOS
Take the resource allocation information.
With reference to first aspect or any one of first aspect may design, in this may be designed, resource allocation information
Can be configured by the BMC that computing device had previously been run, the computing device subsequently started can be by described in BMC acquisitions
Resource allocation information.
Second aspect, the application provide a kind of device of activation system, which includes realizing first aspect or first
Each functional unit of the various methods that the activation system provided may be provided of aspect.
The third aspect, the application provide a kind of computing device, and the computing device includes processor and memory;
The processor performs the instruction stored in the memory so that the computing device perform first aspect or
The various methods that may design the activation system provided of first aspect.
Fourth aspect, the application provide a kind of computer readable storage medium.It is stored in computer readable storage medium
Instruction.Computing device performs the instruction in the computer readable storage medium so that the computing device performs first aspect
Or the various methods that may design the activation system provided of first aspect.
5th aspect, the application provide a kind of computer program product, which includes instruction, the instruction
Storage is in a computer-readable storage medium.Computing device performs the instruction in the computer program product so that the calculating
Equipment performs the various methods that may design the activation system provided of first aspect or first aspect.
Description of the drawings
Fig. 1 is a kind of hardware structure schematic diagram of computing device;
Fig. 2 is a kind of hardware structure schematic diagram of computing device;
(a) in Fig. 3 is a kind of hardware structure schematic diagram of the computing device with 4 CPU;
(b) in Fig. 3 is a kind of hardware structure schematic diagram of the computing device with 8 CPU;
Fig. 4 is a kind of flow diagram of activation system provided in an embodiment of the present invention;
Fig. 5 is a kind of structure diagram of the device of activation system provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, technical solution provided in an embodiment of the present invention is described.
Computing device embodiment
Referring to Fig. 1, computing device 100 includes processor 101, memory 102, memory 103, bus 104, substrate management control
Device (baseboard management controller, BMC) 105 processed, high-speed peripheral component interconnection (peripheral
Component interconnect express, PCIE) equipment 106 and communication interface 107.
Each processor 101 in computing device 100 can be following any:Central processing unit (Central
Processing Unit, CPU), arm processor, field programmable gate array (Field Programmable Gate
Array, FPGA), application specific processor etc. there is the device of calculation processing ability.
Optionally, the quantity of the processor 101 in computing device 100 can be multiple;Multiple processors 101 can be not
The processor 101 of same type or can be same type processor 101.
Optionally, each processor 101 in computing device 100 is respectively provided at least one processor core.
Memory 102 stores computer instruction and data;For example, memory 102 can store an operating system
(operating system, OS) relevant computer instruction and data, can also store basic input output system (basic
Input/output system, BIOS) relevant computer instruction and data.Memory 102 can be it is following any or
Any combination:Read-only memory (read only memory, ROM), nonvolatile memory (non-volatile
Memory, NVM), solid state disk (Solid State Drives, SSD), mechanical hard disk, disk, the storages such as disk permutation are situated between
Matter.
Memory 103 is used for processor 101.Memory 103 can cache or store processor 101 and perform required computer
Instruction and data, memory 103 can also cache or store computer instruction and the data that processor 101 is read from memory 102.
Fig. 1 schematically represents bus 104 with a thick line.Bus 104 includes rambus, can also include following
Any or any combination:Industry standard architecture (Industry Standard Architecture, ISA) bus,
Peripheral component interconnection (Peripheral Component Interconnect, PCI) bus, expanding the industrial standard structure
(Extended Industry Standard Architecture, EISA) bus etc. can be used for the bus of data transmission.
, it should be understood that the different bus in bus 104 is according to the reasonable adjusted design of different computing architectures, such asFramework andFrame
Bus in structure is disposed in different ways.
As shown in Figure 1, processor 101, memory 102, memory 103, PCIE device 106 and communication interface 107 are by total
Line 104 connects.In this way, processor 101 can be accessed memory 102, memory 103, PCIE device 106 and be led to by bus 104
Believe interface 107, such as can data be carried out using communication interface 107 and miscellaneous equipment (such as computing device) by bus 104
Interaction.In addition, processor 101 can be with BMC105.
BMC105 is used to monitoring and managing device (such as processor 101) in computing device 100, can also to device into
The electric operations such as row power-on and power-off.
Communication interface 107 can be following any or any combination:Network interface (such as Ethernet interface), nothing
Gauze card etc. has the device of network access facility.
PCIE device 106 can be memory 102, such as hard disk.PCIE device 106 can also be other support PCIE associations
The equipment of view, such as.
Communication interface 107 carries out data interaction for computing device 100 and miscellaneous equipment (such as computing device).
In embodiments of the present invention, computing device 100 can perform the finger in the memory 102 of this computing device 100
It enables so that the method for the activation system that 100 implementation method embodiment of this computing device provides.
Fig. 2 illustrates computing device 200, and computing device 200 is to beThe computing device 100 of framework.
Computing device 200 include CPU201, platform controller hub (platform controller hub, PCH) 208,
Memory 102, memory 103, bus, BMC205, PCIE device 206 and communication interface 207.CPU201, memory 202, memory
203rd, the processor 101 in bus, BMC205, PCIE device 206 and communication interface 207, with computing device 100, memory
102nd, memory 103, bus 104, BMC105, PCIE device 106 are similar with 107 function of communication interface, referring to above to calculating set
Processor 101, memory 102, memory 103, bus 104, BMC105, PCIE device 106 and communication interface 107 in standby 100
Function description.
Referring to Fig. 2, CPU0 to CPUn is (n+1) a CPU201;That is CPU0 is first CPU201, and CPUn is (n+1)
A CPU201;N can be that positive integer can be either 0 or can be -1.Each processor 201 is respectively provided at least one place
Manage device core.
Each CPU201 in CPU0 to CPUn connects a memory 203 respectively, and the Memory Controller Hub of memory 203 can collect
Into in CPU201.
PCH208 is connect with CPU0.PCH208 records power on CPU201 and are configured required data.
After computing device 200 completes system startup, CPU201 can pass through PCH208 and access BMC205, PCIE device 206
With communication interface 207.For example, CPU0 directly can access BMC205, PCIE device 206 and communication interface 207 by PCH208.
CPUn can access BMC205, PCIE device 206 and communication interface 207 through CPU0 indirectly by PCH208.
PCIE device 206 can be connect with PCH208;Alternatively, PCIE device 206 can be connect with CPU201, such as Fig. 2
PCIE device 206 is illustrated as to connect with CPUn.Optionally, PCIE device 206 is connected by PCIE buses and PCH208 or CPUn
It connects.
In embodiments of the present invention, computing device 200 can perform the finger in the memory 202 of this computing device 200
It enables so that the method for the activation system that 200 implementation method embodiment of this computing device provides.
Fig. 3 illustratively provides two kinds of frameworks of multiple CPU201 in computing device 200.
The first framework, referring to figure (a), computing device 200 includes 4 CPU, and each CPU has at least one processor
Core (does not illustrate).CPU0, CPU1, CPU3 and CPU2 are linked in sequence, and CPU0 is connect with CPU2, and CPU0 connections PCH208 (does not show
It anticipates out).
Second of framework, referring to figure (b), computing device 200 includes 8 CPU, and each CPU has at least one processor
Core (does not illustrate).CPU0, CPU1, CPU3 and CPU2 are linked in sequence, and CPU0 is connect with CPU2, and CPU0 connections PCH208 (does not show
It anticipates out).CPU4, CPU5, CPU7 and CPU6 are linked in sequence, and CPU4 is also connect with CPU3 and CPU6 respectively, and CPU6 is also connected with CPU1.
Embodiment of the method
The method of activation system provided in an embodiment of the present invention using the part resource activation system of computing device, improves
System starting efficiency.
The configuration embodiment of fast attack mode
System start-up mode is configured first, the start-up mode of activation system provided by the invention is referred to as quickly starting mould
Formula.The present invention records BIOS in resource allocation information needs the hardware resource initialized under fast attack mode.
The hardware resource that computing device (such as computing device 100, computing device 200) has include processor, memory,
The hardware devices such as memory, bus, BMC, PCIE device and communication interface, it should be appreciated that, if there is computing device PCH, PCH to also belong to
The hardware resource of computing device.
Fractional hardware resource in the hardware resource of resource allocation information record is computing device.The resource allocation information
The hardware resource of record is the hardware resource necessary to computing device start-up operation system OS;That is, the resource allocation information is remembered
The hardware resource of record is in the minimal hardware resource needed for computing device start-up operation system OS.
The embodiment of the present invention, which provides, illustratively provides three kinds of modes to set fast attack mode and record resource distribution
Information.
First way sets computing device with fast attack mode activation system and believes in resource distribution by BMC
The hardware resource for needing to initialize under fast attack mode is recorded in breath.
For example, log in the webpage of BMC, i.e. web interface.In the web interface, setting enters fast attack mode
Web interface, setting computing device is with fast attack mode activation system;By the web interface, BIOS can be set quickly to open
The hardware resource initialized is needed under dynamic model formula.
For example, by the command line interface of BMC, setting enters the command line interface of fast attack mode, Yi Jishe
Computing device is put with fast attack mode activation system.By the command line interface of BMC, BIOS can also be set quickly to start
The hardware resource initialized is needed under pattern.
The second way when computing device runs operating system (operating system, OS), passes through the OS and sets meter
Calculating equipment and being recorded in fast attack mode activation system and in resource allocation information under fast attack mode needs initially
The hardware resource of change.
For example, OS provides interface, calculated by interface setting into the interface of fast attack mode and setting
Equipment is with fast attack mode activation system.The interface provided by OS, can also set BIOS under fast attack mode
Need the hardware resource initialized.
The third mode when computing device runs BIOS, sets computing device to be opened with fast attack mode by the BIOS
Dynamic system and the hardware resource for needing to initialize under fast attack mode is recorded in resource allocation information.
For example, when computing device runs BIOS, in the startup menu of BIOS, setting enters fast attack mode
Operate interface sets computing device with fast attack mode activation system by the operate interface.By the operate interface, may be used also
The hardware resource initialized so that BIOS is set to be needed under fast attack mode.
Resource allocation information provided in an embodiment of the present invention is illustrated below.
A kind of citing of resource allocation information, referring to Fig. 2, which records a processor in CPU0
Core records a memory bar in the memory 203 of CPU0 connections, records PCH208 and the record of CPU0 connections for starting
The miscellaneous equipment of OS.In this way, under fast attack mode during activation system, BIOS only needs the initial configuration according to PCH208
Information initializes CPU0 and initializes a memory bar in the memories 203 of the CPU0 connections;And then using initialization after
CPU0 and this memory bar, start OS on the computing device.
A kind of citing of resource allocation information, it is each in resource allocation information record CPU0 to CPUn referring to Fig. 2
A processor core of CPU201 records a memory bar in the memory 203 of each CPU201 connections, record CPU0 connections
PCH208 and record are for starting the miscellaneous equipment of OS.In this way, under fast attack mode during activation system, BIOS is only needed
Will according to the initial configuration information of PCH208, initialize in CPU0 to CPUn a processor core of each CPU201 and
Initialize a memory bar in the memory 203 of each CPU201 connections;And then use all CPU201 after initialization and institute
There is memory bar, start OS on the computing device.
A kind of citing of resource allocation information, referring to (b) in Fig. 3, resource allocation information record CPU0, CPU1 and
A processor core of each CPU in CPU6 records a memory bar in the memory of each CPU connections, records CPU0 connections
PCH and record for starting the miscellaneous equipment of OS.In this way, under fast attack mode during activation system, BIOS only needs
According to the initial configuration information of PCH, a processor core of each CPU and initial in initialization CPU0, CPU1 and CPU6
Change a memory bar in the memory of each CPU connections;And then use all CPU0, CPU1 and CPU6 after initialization and institute
There is memory bar, start OS on the computing device.
Optionally, for starting the miscellaneous equipment of OS, if local boot, then the equipment can be hard disk, the hard disk
It is used for CPU, hard-disc storage OS;If long-range start, then the equipment can support Pre-boot Execution Environment
The network interface card that (preboot execution environment, PXE) starts, CPU can get OS by the network interface card.
Initialize the embodiment of hardware resource
The method of activation system provided in an embodiment of the present invention, referring to Fig. 4, the method comprising the steps of S401, S402 and
S403.It below should for description for executive agent by computing device (computing device 100 or computing device 200 as escribed above)
Each step that method includes.
Step S401, computing device obtain resource allocation information.
Computing device runs BIOS, which obtains resource allocation information.The resource allocation information is referring to above to the money
The description of source configuration information.
It is configured if resource allocation information is the BIOS that had previously been run by computing device or OS, computing device starts
When the BIOS resource allocation information can directly be accessed.For example, the BIOS or OS that had previously been run by computing device match
The resource allocation information put can store in memory, and the BIOS subsequently started can directly read the money from memory
Source configuration information.
It, should when computing device starts if resource allocation information is configured by the BMC that computing device had previously been run
BIOS can obtain the resource allocation information from BMC.For example, BMC has permanent storage media, the resource distribution of BMC configurations
Information is stored in the permanent storage media, and the BIOS subsequently started can obtain the resource allocation information by BMC.
Step S402, the hardware resource that computing device initialization resource allocation information is specified.
Computing device runs BIOS, which determines to need the hardware resource initialized according to the resource allocation information, and
Determining hardware resource is initialized.
BIOS initialization hardware resource is that the hardware resource is configured so that multiple processors in computing device
Between can be in communication with each other and processor can identify the hardware resources such as memory, memory.For example, in the computing device of Fig. 2
Framework in, initial configuration information that BIOS is recorded according to PCH208 initializes the hardware resources such as CPU201.
Optionally, the realization method of BIOS initialization hardware resource may refer to the prior art to BIOS initialization hardware
The realization description of resource.
In embodiments of the present invention, the hardware resource that BIOS initialization resource allocation information is specified, including at least following several
Any one of kind initialization mode.
The mode of processor in a kind of initialization computing device, it is assumed that computing device has M processor, each to handle
Device includes multiple processor cores.Resource allocation information specifies the segment processor core in N number of processor, and M is greater than or equal to N, M
It is positive integer with N;It illustrates, it is assumed that some processor in N number of processor has P processor core in total, and resource is matched
Confidence breath specifies Q processor core in this processor, and P is positive integer more than Q, P and Q, i.e., the Q processor core is
The segment processor core of this processor.BIOS carries out the Q processor core in N number of processor in the computing device
Initialization.
The method only initializes the part processing in the processor when initializing the processor that resource allocation information is specified
Device core reduces the time of initialization processor.In addition, the processor that initialization resource allocation information is specified can calculate to set
Segment processor in standby, it might even be possible to the only minority processor or a processor in initialization computing device, due to
All processors of initialization computing device are not needed to, reduce the time of the processor of initialization computing device.
A kind of mode of memory in initialization computing device, the resource allocation information specify the interior of target memory capacity
It deposits, the target memory capacity is less than the total capacity of memory that the computing device includes;For example, the resource distribution letter
It ceases the processor that can first specify, then mesh is specified in all memory bars for being connected of the processor specified in the resource allocation information
Mark the memory of memory size.The target memory capacity that resource allocation information described in computing device described in BIOS initialization is specified
Memory, the memory of the target memory capacity after initialization are used for the processor after initialization.Subsequently, the place after initialization
Reason device can access the memory after initialization, such as the processor uses internal storage starting OS.
The method only initializes resource allocation information and specifies target memory capacity in the memory for initializing computing device
Memory due to not needing to all memories of initialization computing device, reduces the time of the memory of initialization computing device.
A kind of mode of memory in initialization computing device, the memory for the destination number that the resource allocation information is specified
Item, the destination number are less than the total quantity of memory bar that the computing device includes;For example, the resource allocation information
Refer in the processor that can first specify, then all memory bars for being connected of the processor specified in the resource allocation information and set the goal
The memory bar of quantity.The memory bar for the destination number that resource allocation information described in computing device described in BIOS initialization is specified,
The memory bar of the destination number after initialization is used for the processor after initialization.Subsequently, the processor after initialization can
To access the memory after initializing, such as the processor uses internal storage starting OS.
The method only initializes the interior of the destination number that resource allocation information is specified in the memory for initializing computing device
It deposits, due to not needing to all memories of initialization computing device, reduces the time of the memory of initialization computing device.
A kind of mode of memory in initialization computing device, the resource allocation information specify the memory of destination channel,
Passage portion in all channels that the destination channel includes for the computing device.Specifically, the destination channel be with
Passage portion in all channels that the processor that resource allocation information is specified is connected.For example, the resource distribution letter
It ceases the processor that can first specify, then refers in all channels for being connected of the processor specified in the resource allocation information and set the goal
The memory of channel.The memory for the destination channel that resource allocation information described in computing device described in BIOS initialization is specified, initially
The memory of the destination channel after change is used for the processor after initialization.Subsequently, the processor after initialization can access
Memory after initialization, such as the processor use internal storage starting OS.
The method only initializes the interior of the destination channel that resource allocation information is specified in the memory for initializing computing device
It deposits, due to not needing to all memories of initialization computing device, reduces the time of the memory of initialization computing device.
A kind of mode of PCIE device in initialization computing device, the target PCIE that the resource allocation information is specified are set
It is standby, the part PCIE device in all PCIE devices that the target PCIE device includes for the computing device, such as the mesh
A few PCIE device or a PCIE in all PCIE devices that mark PCIE device includes for the computing device are set
It is standby.The target PCIE device that resource allocation information described in computing device described in the BIOS initialization is specified, after initialization
The target PCIE device is used for the processor after initialization.
The method only initializes the target PCIE that resource allocation information is specified in the PCIE device for initializing computing device
Equipment due to not needing to all PCIE devices of initialization computing device, reduces the PCIE device of initialization computing device
Time.
Step S403, start-up operation system on the hardware resource of computing device after initialization (operating system,
OS)。
After the hardware resource that BIOS initialization resource allocation information is specified, start on hardware resource that can be after initialization
OS。
The present invention does not limit OS.For example, the OS can beSeries operating system orThe operating system of series.
Optionally, start the realization method of OS on the hardware resource of initialization, may refer to the prior art in hardware
Start the realization description of OS in resource.
Device and apparatus embodiments
The embodiment of the present invention provides a kind of device of activation system, and referring to Fig. 5, which is included for implementation
The functional unit of each step that the method for the activation system that embodiment provides includes;The embodiment of the present invention is in the device 500
How partition functionality unit does not limit, and provides to Examples below a kind of division of functional unit, as shown in Figure 5.
The device 500 of activation system as shown in Figure 5, the device 500 include:
Acquiring unit 501, for obtaining resource allocation information, the resource allocation information is specified to start in computing device and be grasped
Make the minimal hardware resource needed for system OS;
Initialization unit 502, for initializing the hardware resource that resource allocation information is specified described in the computing device;
Start unit 503, on hardware resource after initialization start-up operation system (operating system,
OS)。
Optionally, the computing device has M processor, and each processor includes multiple processor cores;
The initialization unit 502, for initializing the segment processor core in the computing device in N number of processor, M
It is positive integer more than or equal to N, M and N.
Optionally, the initialization unit 502, is used for:
Initialize the memory of target memory capacity that resource allocation information described in the computing device is specified, the target
Memory size is less than the total capacity of memory that the computing device includes, and the memory of the target memory capacity after initialization supplies
Processor after initialization uses;Alternatively,
Initialize the memory bar of the destination number that resource allocation information is specified described in the computing device, the number of targets
Amount is less than the total quantity of memory bar that the computing device includes, and the memory bar of the destination number after initialization is for initialization
Processor afterwards uses;Alternatively,
Initialize the memory of the destination channel that resource allocation information is specified described in the computing device, the destination channel
Passage portion in all channels included for the computing device, the memory of the destination channel after initialization is for initialization
Processor afterwards uses.
Optionally, the initialization unit 502, is used for
The target PCIE device that resource allocation information described in the computing device is specified is initialized, the target PCIE is set
Part PCIE device in the standby all PCIE devices included for the computing device, the target PCIE device after initialization
It is used for the processor after initialization.
Optionally, the acquiring unit 501, is used for:
The resource allocation information is read by BIOS;Alternatively,
The resource allocation information is obtained from BMC.
In embodiments of the present invention, the function description for each functional unit that device 500 includes, referring to above method embodiment
The associated description of each step included to the method for activation system.
Optionally, the acquiring unit 501 in device 500 and initialization unit 502 can be realized in BIOS.
Referring to Fig. 1, the embodiment of the present invention provides a kind of computing device 100, and computing device includes processor 101 and memory
102;
Processor 101 performs the instruction stored in memory 102 so that computing device 100 performs embodiment of the method and provides
Activation system method.
The embodiment of the present invention provides a kind of readable storage medium storing program for executing (such as memory 102 in Fig. 1), the readable storage medium
Instruction is stored in matter, computing device performs described instruction and the computing device is caused to perform the startup that embodiment of the method offer is stated
The method of system.
The embodiment of the present invention provides a kind of computer program product, which includes instruction, which deposits
Storage is in a computer-readable storage medium.Computing device performs the instruction in the computer program product so that the calculating is set
The standby method for performing the activation system that embodiment of the method provides.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
To modify to the technical solution recorded in foregoing embodiments or carry out equivalent replacement to which part technical characteristic;
And these modifications or replacement, the protection model for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution
It encloses.
Claims (12)
- A kind of 1. method of activation system, which is characterized in that the method includes:Resource allocation information is obtained, the resource allocation information is specified minimum hard needed for computing device start-up operation system OS Part resource;Initialize the hardware resource that resource allocation information is specified described in the computing device;Start the OS on hardware resource after initialization.
- 2. according to the method described in claim 1, it is characterized in that, the computing device has M processor, each processor Including multiple processor cores;The hardware resource that resource allocation information is specified described in the computing device is initialized, including:The segment processor core in N number of processor in the computing device is initialized, M is just whole more than or equal to N, M and N Number.
- 3. method according to claim 1 or 2, which is characterized in that resource described in the initialization computing device The hardware resource that configuration information is specified, including:Initialize the memory of target memory capacity that resource allocation information described in the computing device is specified, the target memory Capacity is less than the total capacity of memory that the computing device includes, and the memory of the target memory capacity after initialization is for initial Processor after change uses;Alternatively,The memory bar of the destination number that resource allocation information is specified described in the computing device is initialized, the destination number is small In the total quantity for the memory bar that the computing device includes, the memory bar of the destination number after initialization is supplied after initializing Processor uses;Alternatively,The memory of the destination channel that resource allocation information is specified described in the computing device is initialized, the destination channel is institute The passage portion in all channels that computing device includes is stated, the memory of the destination channel after initialization is supplied after initializing Processor uses.
- 4. method according to any one of claims 1 to 3, which is characterized in that institute in the initialization computing device The hardware resource that resource allocation information is specified is stated, including:The target PCIE device that resource allocation information described in the computing device is specified is initialized, the target PCIE device is Part PCIE device in all PCIE devices that the computing device includes, the target PCIE device after initialization is for just Processor after beginningization uses.
- 5. method according to any one of claims 1 to 4, which is characterized in that the acquisition resource allocation information, including:The resource allocation information is read by basic input-output system BIOS;Alternatively,The resource allocation information is obtained from baseboard management controller BMC.
- 6. a kind of device of activation system, which is characterized in that described device includes:Acquiring unit, for obtaining resource allocation information, the resource allocation information is specified in computing device start-up operation system Minimal hardware resource needed for OS;Initialization unit, for initializing the hardware resource that resource allocation information is specified described in the computing device;Start unit starts the OS on hardware resource after initialization.
- 7. device according to claim 6, which is characterized in that the computing device has M processor, each processor Including multiple processor cores;The initialization unit, for initializing the segment processor core in the computing device in N number of processor, M be more than or It is positive integer equal to N, M and N.
- 8. the device described according to claim 6 or 7, which is characterized in that the initialization unit is used for:Initialize the memory of target memory capacity that resource allocation information described in the computing device is specified, the target memory Capacity is less than the total capacity of memory that the computing device includes, and the memory of the target memory capacity after initialization is for initial Processor after change uses;Alternatively,The memory bar of the destination number that resource allocation information is specified described in the computing device is initialized, the destination number is small In the total quantity for the memory bar that the computing device includes, the memory bar of the destination number after initialization is supplied after initializing Processor uses;Alternatively,The memory of the destination channel that resource allocation information is specified described in the computing device is initialized, the destination channel is institute The passage portion in all channels that computing device includes is stated, the memory of the destination channel after initialization is supplied after initializing Processor uses.
- 9. according to claim 6 to 8 any one of them device, which is characterized in that the initialization unit is used forThe target PCIE device that resource allocation information described in the computing device is specified is initialized, the target PCIE device is Part PCIE device in all PCIE devices that the computing device includes, the target PCIE device after initialization is for just Processor after beginningization uses.
- 10. according to claim 6 to 9 any one of them device, which is characterized in that the acquiring unit is used for:The resource allocation information is read by basic input-output system BIOS;Alternatively,The resource allocation information is obtained from baseboard management controller BMC.
- 11. a kind of computing device, which is characterized in that the computing device includes processor and memory;The processor performs the instruction stored in the memory so that the computing device perform claim requirement 1 to 5 is any The method of activation system described in.
- 12. a kind of readable storage medium storing program for executing, which is characterized in that instruction is stored in the readable storage medium storing program for executing, computing device performs Described instruction causes the method that the computing device perform claim requires 1 to 5 any one of them activation system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711268630.7A CN108255527A (en) | 2017-12-05 | 2017-12-05 | The method and apparatus of activation system, computing device, readable storage medium storing program for executing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711268630.7A CN108255527A (en) | 2017-12-05 | 2017-12-05 | The method and apparatus of activation system, computing device, readable storage medium storing program for executing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108255527A true CN108255527A (en) | 2018-07-06 |
Family
ID=62722317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711268630.7A Pending CN108255527A (en) | 2017-12-05 | 2017-12-05 | The method and apparatus of activation system, computing device, readable storage medium storing program for executing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108255527A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114020344A (en) * | 2022-01-06 | 2022-02-08 | 苏州浪潮智能科技有限公司 | Bus resource reservation method, device, equipment and storage medium |
CN115686872A (en) * | 2022-12-30 | 2023-02-03 | 浪潮电子信息产业股份有限公司 | Memory resource processing equipment, method, device and medium based on BMC (baseboard management controller) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002251318A (en) * | 2001-02-23 | 2002-09-06 | Ricoh Co Ltd | System controller |
CN101149728A (en) * | 2007-10-29 | 2008-03-26 | 中国科学院计算技术研究所 | Multiple core processing system and its management method |
CN101526901A (en) * | 2008-03-04 | 2009-09-09 | 联想(北京)有限公司 | Method and device for viewing files in computer |
CN106547583A (en) * | 2015-09-22 | 2017-03-29 | 杭州华为数字技术有限公司 | A kind of installation method of operating system and device |
CN106681751A (en) * | 2015-11-05 | 2017-05-17 | 广达电脑股份有限公司 | Unified firmware management system, management method, and computer readable medium |
-
2017
- 2017-12-05 CN CN201711268630.7A patent/CN108255527A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002251318A (en) * | 2001-02-23 | 2002-09-06 | Ricoh Co Ltd | System controller |
CN101149728A (en) * | 2007-10-29 | 2008-03-26 | 中国科学院计算技术研究所 | Multiple core processing system and its management method |
CN101526901A (en) * | 2008-03-04 | 2009-09-09 | 联想(北京)有限公司 | Method and device for viewing files in computer |
CN106547583A (en) * | 2015-09-22 | 2017-03-29 | 杭州华为数字技术有限公司 | A kind of installation method of operating system and device |
CN106681751A (en) * | 2015-11-05 | 2017-05-17 | 广达电脑股份有限公司 | Unified firmware management system, management method, and computer readable medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114020344A (en) * | 2022-01-06 | 2022-02-08 | 苏州浪潮智能科技有限公司 | Bus resource reservation method, device, equipment and storage medium |
CN115686872A (en) * | 2022-12-30 | 2023-02-03 | 浪潮电子信息产业股份有限公司 | Memory resource processing equipment, method, device and medium based on BMC (baseboard management controller) |
CN115686872B (en) * | 2022-12-30 | 2023-03-21 | 浪潮电子信息产业股份有限公司 | Memory resource processing equipment, method, device and medium based on BMC (baseboard management controller) |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Ostermann et al. | A performance analysis of EC2 cloud computing services for scientific computing | |
US11023258B2 (en) | Self-morphing server platforms | |
CN106445576B (en) | Motherboard and its computer implemented method and the readable storage device of non-transient computer | |
WO2017054573A1 (en) | Configuration method and device | |
US20200218527A1 (en) | Component firmware update from baseboard management controller | |
US10606677B2 (en) | Method of retrieving debugging data in UEFI and computer system thereof | |
US11055106B1 (en) | Bootstrapping a programmable integrated circuit based network interface card | |
US20180054359A1 (en) | Network attached reconfigurable computing device | |
US9122816B2 (en) | High performance system that includes reconfigurable protocol tables within an ASIC wherein a first protocol block implements an inter-ASIC communications protocol and a second block implements an intra-ASIC function | |
US10303487B2 (en) | System and method for booting an information handling system | |
US10935960B2 (en) | Pre-runtime fan control | |
CN102930903B (en) | A kind of internal storage testing method and equipment | |
US10282190B2 (en) | System and method for updating a UEFI image in an information handling system | |
US11321077B1 (en) | Live updating of firmware behavior | |
CN109213301A (en) | Support the UEFI shell program technic and its computer system of battery saving mode | |
CN108737499A (en) | server configuration method and device | |
CN108255527A (en) | The method and apparatus of activation system, computing device, readable storage medium storing program for executing | |
CN108459906B (en) | Method and device for scheduling VCPU (virtual host processor unit) thread | |
US11010249B2 (en) | Kernel reset to recover from operating system errors | |
US20200264893A1 (en) | System and method of initiating multiple adaptors in parallel | |
US11106457B1 (en) | Updating firmware runtime components | |
JP2018181305A (en) | Local disks erasing mechanism for pooled physical resources | |
US11500661B2 (en) | Performing an application snapshot using process virtual machine resources | |
US10936389B2 (en) | Dual physical-channel systems firmware initialization and recovery | |
JP2014170271A (en) | Information processing device, initialization method, preprocessing method, and program |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20211227 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Applicant after: Super fusion Digital Technology Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd. |