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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com