天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 計(jì)算機(jī)論文 >

嵌入式Linux系統(tǒng)內(nèi)核實(shí)時性研究

發(fā)布時間:2018-09-09 09:23
【摘要】:在眾多的嵌入式操作系統(tǒng)中,嵌入式Linux系統(tǒng)由于其源代碼開放、內(nèi)核易于裁剪、可移植性強(qiáng)等特點(diǎn),被廣泛應(yīng)用在嵌入式系統(tǒng)的開發(fā)中。然而,Linux最初作為分時系統(tǒng)設(shè)計(jì),其目標(biāo)是提高系統(tǒng)的吞吐量和整體性能,在實(shí)時性方面很難滿足一些嵌入式實(shí)時應(yīng)用系統(tǒng)的要求,因此有必要對Linux系統(tǒng)實(shí)時性進(jìn)行研究。 在對Linux系統(tǒng)內(nèi)核研究基礎(chǔ)上,本文對Linux構(gòu)造嵌入式實(shí)時系統(tǒng)的優(yōu)勢和在實(shí)時性方面的缺陷進(jìn)行了分析,重點(diǎn)研究了提高Linux實(shí)時性的方法。進(jìn)程調(diào)度策略是影響嵌入式Linux系統(tǒng)實(shí)時性能最重要的因素。本文根據(jù)Linux中task_struct數(shù)據(jù)結(jié)構(gòu)的定義,對非實(shí)時任務(wù)采用多級反饋輪轉(zhuǎn)調(diào)度,實(shí)時任務(wù)采用FIFO(先來先服務(wù))和RR(時間片輪轉(zhuǎn))調(diào)度。并通過兩方面的工作來提高嵌入式Linux內(nèi)核實(shí)時性。一方面,利用雙內(nèi)核結(jié)構(gòu),將RT-Linux移植到Linux中作為處理實(shí)時任務(wù)的內(nèi)核。系統(tǒng)采用虛擬中斷機(jī)制由實(shí)時核心進(jìn)行中斷響應(yīng),解決中斷屏蔽問題。另一方面,通過添加實(shí)時調(diào)度器從Linux進(jìn)程調(diào)度機(jī)制上改善系統(tǒng)性能。對于靜態(tài)周期任務(wù),采用RM調(diào)度器,周期短的任務(wù)優(yōu)先級高;對于動態(tài)任務(wù),采用EDF調(diào)度器,,根據(jù)任務(wù)的最早截止時間,截止時間早的任務(wù)優(yōu)先級高。經(jīng)過驗(yàn)證,本文方法能有效提高嵌入式Linux內(nèi)核的實(shí)時性。
[Abstract]:Among many embedded operating systems, embedded Linux system is widely used in the development of embedded system because of its open source code, easy to cut the kernel, strong portability and so on. However, Linux was originally designed as a time-sharing system, its goal is to improve the throughput and overall performance of the system, it is difficult to meet the real-time requirements of some embedded real-time application systems, so it is necessary to study the real-time performance of Linux system. On the basis of the research on the kernel of Linux system, this paper analyzes the advantages and disadvantages of Linux in constructing embedded real-time system, and focuses on the methods to improve the real-time performance of Linux. Process scheduling strategy is the most important factor affecting the real-time performance of embedded Linux system. In this paper, according to the definition of task_struct data structure in Linux, multilevel feedback rotation scheduling is adopted for non-real-time tasks, and FIFO (first come, first served) and RR (time slice rotation) scheduling for real-time tasks. And through two aspects of work to improve the real-time embedded Linux kernel. On the one hand, RT-Linux is transplanted to Linux as the kernel to handle real-time tasks by using dual-kernel structure. The system adopts the virtual interrupt mechanism to respond to the interrupt by the real-time core to solve the problem of interrupt shielding. On the other hand, the system performance is improved by adding a real-time scheduler from the Linux process scheduling mechanism. For static periodic tasks, RM scheduler is adopted, and for dynamic tasks, EDF scheduler is used. According to the earliest deadline of tasks, the tasks with early deadline are of high priority. It is proved that this method can effectively improve the real-time performance of embedded Linux kernel.
【學(xué)位授予單位】:沈陽工業(yè)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP316.81;TP368.1

【參考文獻(xiàn)】

相關(guān)期刊論文 前10條

1 何立民;嵌入式系統(tǒng)的定義與發(fā)展歷史[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2004年01期

2 王卓 ,包杰;嵌入式Linux系統(tǒng)及其應(yīng)用前景[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2004年05期

3 方安平,肖強(qiáng);μC/OS-II的實(shí)時性能分析[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2005年08期

4 謝敏;李橋梁;;嵌入式實(shí)時操作系統(tǒng)任務(wù)調(diào)度算法優(yōu)化[J];電子科技;2005年12期

5 周德新,張向利;Linux與嵌入式操作系統(tǒng)[J];桂林電子工業(yè)學(xué)院學(xué)報(bào);2000年04期

6 邢建生;劉軍祥;王永吉;;RM及其擴(kuò)展可調(diào)度性判定算法性能分析[J];計(jì)算機(jī)研究與發(fā)展;2005年11期

7 張同光;李秀芹;朱家義;楊延玉;;Linux 2.6內(nèi)核分析——對進(jìn)程調(diào)度機(jī)制的分析[J];長春工業(yè)大學(xué)學(xué)報(bào)(自然科學(xué)版);2006年04期

8 毛佳,張振花,戴紅,苑森淼;實(shí)時系統(tǒng)調(diào)度算法的優(yōu)化設(shè)計(jì)[J];計(jì)算機(jī)工程與應(yīng)用;2003年15期

9 高鑫,陸陽;Linux實(shí)時化方法研究與一種實(shí)現(xiàn)[J];計(jì)算機(jī)工程與應(yīng)用;2005年20期

10 屠征,謝康林;嵌入式實(shí)時操作系統(tǒng)中對時鐘中斷服務(wù)程序的改進(jìn)[J];計(jì)算機(jī)工程;2003年06期

相關(guān)博士學(xué)位論文 前1條

1 毛佳;嵌入式實(shí)時系統(tǒng)中關(guān)鍵技術(shù)的研究[D];吉林大學(xué);2004年

相關(guān)碩士學(xué)位論文 前1條

1 陳克力;嵌入式組件及其實(shí)時調(diào)度策略研究[D];電子科技大學(xué);2006年



本文編號:2231978

資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/2231978.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶ac844***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com