Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-core operating system realization method, realization device and realization system

A technology of operating system and implementation method, which is applied in the computer field, can solve problems such as memory occupation and waste of computer resources, and achieve the effect of improving system management efficiency and resource utilization efficiency

Active Publication Date: 2014-10-01
HUAWEI TECH CO LTD +1
View PDF8 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, in the multi-core operating system of the prior art, some functions on some cores cannot be used for a long time, but still need to occupy a lot of memory, resulting in a waste of computer resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-core operating system realization method, realization device and realization system
  • Multi-core operating system realization method, realization device and realization system
  • Multi-core operating system realization method, realization device and realization system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] figure 1 It is a flowchart of a method for implementing a multi-core operating system provided in Embodiment 1 of the present invention. The method of this embodiment is applicable to the situation of optimizing system management efficiency and resource utilization efficiency of a multi-kernel operating system, and the method is executed by a device for implementing a multi-kernel operating system, and the device is usually implemented in a hardware and / or software manner, Integrated in the multi-kernel operating system implementation system. Such as figure 1 As shown, the method of the present embodiment includes:

[0042] 101. Allocating memory for the basic function modules of each core of the multi-core operating system;

[0043] 102. Allocate memory for the feature function modules supporting the first application program in the first core selected from the cores;

[0044] 103. Release the memory allocated for the characteristic function module supporting the f...

Embodiment 2

[0053] The implementation method of the multi-kernel operating system provided by Embodiment 2 of the present invention, on the basis of the above-mentioned method embodiment, preferably: after allocating memory for the basic function modules of each kernel of the multi-kernel operating system, the kernel can access the kernel function registration table and registers itself with the kernel capabilities registry.

[0054] Specifically, the system can maintain a kernel function registry commonly used by all cores. The kernel function registry is used to record the kernel identifier of each kernel, the processor chip identifier of the kernel, the application program load information of the kernel, and the characteristic functions of the kernel. The memory allocation information of the module and other information of the kernel, and update the information of each kernel according to the monitoring data of the statistical service program.

[0055] After allocating memory for the b...

Embodiment 3

[0071]The implementation method of the multi-core operating system provided by the third embodiment of the present invention, on the basis of the above-mentioned method embodiment, there are many ways to trigger the allocation or release of memory for the characteristic function module, and another preferred way is to monitor the kernel The trigger condition is that the application load reaches the trigger threshold.

[0072] Specifically, when the statistical service program detects that the load of the kernel K1 where the application a resides exceeds the threshold T1 of the processor utilization rate, that is, reaches the overload trigger threshold, it triggers the operation of allocating memory for the feature function module. Firstly, according to the characteristics of application program a, determine the type of feature function module that can support application program a, and then in the kernel function registry, query the kernel that has not allocated memory for this...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a multi-core operating system realization method, a multi-core operating system realization method and a multi-core operating system realization system, wherein the method comprises the following steps that: basic function modules of each core of a multi-core operating system is subjected to memory allocation; a characteristic function module supporting a first application program in the first core selected from each core is subjected to memory allocation; and the memory allocated for the characteristic function module supporting the first application program in the first core is released. The multi-core operating system realization method, the multi-core operating system realization method and the multi-core operating system realization system provided by the embodiment of the invention have the advantages that the goal of allocating the memory for corresponding functions of the cores according to requirements on the basis of the characteristics of the application programs is achieved, so the system management efficiency and the resource use efficiency of the multi-core operating system are improved.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular, to a multi-kernel operating system implementation method, implementation device, and system. Background technique [0002] With the rapid development of computer technology, there have been multi-processor computer systems (Multi-core processor computing system), heterogeneous computing system (Heterogeneous computing system), etc. -processor Computing System), in order to effectively manage this type of system, make full use of the rich resources provided by the system, and at the same time ensure the efficiency of the system, a multi-kernel operating system (Multi-Kernel) running on a multi-processor computer system is proposed. Operating System) design method. [0003] A multi-core operating system refers to deploying an operating system kernel on the core (Processor core) of each processor of a multi-processor computer system, and deploying system services that ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F15/177
CPCG06F15/177G06F9/5016
Inventor 王磊詹剑锋丁科谭崇康
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products