Font Size: a A A

Research And Implementation Of Multithreading In The Kylin Operating System

Posted on:2006-05-26Degree:MasterType:Thesis
Country:ChinaCandidate:Y X ZhangFull Text:PDF
GTID:2178360185463673Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Multithreading provides the operating system with a useful abstraction of concurrent execution,and draws out the processing capacity of the multiprocessor environment,specially of the SMP environment.A high efficenet implementation of multithreading will push up the performance of the operating system,which is the most important ability to make Kylin survive in the market.the multithreading mechanism.The purpose of this paper is to describe the design and implementation of multithreading in Kylin operating system.Furthermore,this paper compared and analysed three existed threading models in designation of threading environment, then discuss the main direction of the multithreading development.First,this paper introduced the implement technology of thread existed threading models in esignation of threading environment: M:l model,l:l modle,M:N modle.We analysed the M:N modle which is used in Kylin operating system in detail,for pointing out the advantage and shortcoming of this threading modle.Then,this paper discussed the architectural and implementation details of the multithreading in Kylin which base on the M:N threading modle,specially about the couple degree scheduler modle. Furthermore, we introduced the optimizable technology of the multithreading in Kylin, which contains three parts:Communication Mechanism between kernel scheduler and userland scheduler,kernel scheduler optimization,userland scheduler optimization.After that, this paper elaborated the techniques of binary compatibility between Kyth thread library and LinuxThreads thread library,which also contains three parts:compatibility of library version,compatibility of system calls and compatibility of signal mechanism.At last,this paper presented the results of performance testing and binary compatibility testing to demonstrate effectivity and usefulness of this work.
Keywords/Search Tags:Multithreading, Threading Modles, Thread Library, Kylin
PDF Full Text Request
Related items