Font Size: a A A

Research On The Communication Mechanism Of Microkernel Operating System Based On Heterogeneous Multicore Environment

Posted on:2021-02-12Degree:MasterType:Thesis
Country:ChinaCandidate:L FengFull Text:PDF
GTID:2428330611994590Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the gradual introduction of intelligent hardware into the public's field of vision,the development of embedded devices becomes more and more complicated.The processing performance of widely used single-core processors and homogeneous multi-core processors has been difficult to meet the application requirements.In order to weaken the difficulty of development to enhance the processing power of the computer,the processor manufacturers will heterogeneous multi-core processors into the smart device's main research directions.Among them,heterogeneous multi-core architecture,inter-core communication technology become a hot topic of interest in computer architecture,including inter process communication and inter-core communication.Based on heterogeneous multi-core processor,high-efficiency communication between a plurality of different core structure and function,the processor in order to achieve optimized performance.The main work is as follows:(1)Aiming at the problem that the difference in the byte size of messages transmitted between processes within the core reduces the communication efficiency,an inter-process communication mechanism based on the message type definition strategy is designed.This mechanism proposes a strategy for defining message types by complementing the advantages and disadvantages of the message passing method of general register(GR)and shared memory address mapping(SMAM),the strategy sets a maximum transmission unit(MTU)value,If the message passed between processes exceeds the MTU value,the communication method is address mapping of shared memory.On the contrary,the general register is used for communication.Effectively shorten the message delivery time,improve the message transmission rate between processes.(2)For tasks between cores of different structures,it is not possible to efficiently crosscore communication and take advantage of the cooperation of various cores.In order to enhance the efficiency of communication problems between the multi-core.Improve the existing multicore communication architecture to meet the communication between heterogeneous multicores,and design a heterogeneous multi-core task mapping algorithm based on LS-SVM.The design and implementation concept of heterogeneous multi-core communication mechanism in this paper adopts a master-slave structure scheme.The communication management master core is mainly responsible for handling control-intensive tasks and auxiliary slave cores in the application For communication,an agent thread is added to each slave core,which is responsible for passing messages located in different cores to the communication management master core and shared memory between the cores to achieve mutual cooperation to complete efficient communication between heterogeneous cores.The controlling master kernel is mainly responsible for moving computationally intensive tasks in a large number of applications from the system memory to the local storage of each slave kernel to complete the data handling communication.In order to provide system communication performance and throughput,this paper uses the minimum support vector machine to obtain the predicted computing communication ratio PCC by dividing the task type after training,and comparing it with the task's actual calculated communication rate CC.If PCC> CC,it means that the task is I/Ointensive tasks,and conversely,compute-intensive tasks.Considering that different task types have different communication and computing requirements,the two task types are reasonably mapped to the kernel in different ways.(3)MPICH2 is used to build a heterogeneous multi-core simulation platform,and the ?C/OS-II related files are transplanted to Visual Studio 2017 on the PC and correspondingly deleted.C language is used to write and implement the communication mechanism.The communication time and transmission rate obtained by using the test program are compared with the time and rate of the message mailbox and message queue communication mechanism under the same operating environment.Experimental test results show that the heterogeneous multi-core communication mechanism designed in this article is superior to the two types of communication media in terms of communication time and transmission rate,verifying the effectiveness of the communication mechanism designed in this paper.
Keywords/Search Tags:Heterogeneous multi-core processor, Micro-kernel operating, System communication mechanism, Task mapping algorithm
PDF Full Text Request
Related items