簡易檢索 / 詳目顯示

研究生: 劉怡修
Liu, Yi-Hsiu
論文名稱: 可支援即時作業系統中多樣時間限制之適應性工作排程架構
An Adaptive Scheduling Framework for Real-Time Operating System to Support Tasks with Diverse Time Constraints
指導教授: 郭耀煌
Kuo, Yau-Hwang
郭淑美
Guo, Shu-Mei
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2003
畢業學年度: 91
語文別: 英文
論文頁數: 100
中文關鍵詞: 排程模組動態調整頻寬模組排程架構非即時性工作軟即時性工作即時性工作硬即時性工作
外文關鍵詞: soft real-time task, non-real-time task, adaptive bandwidth manager module, scheduler module, scheduling framework, hard real-time task, real-time task
相關次數: 點閱:88下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  •   本論文提出一套整合機制來支援具有不同即時性需求的工作。對於大部分的即時應用程式而言,其會由數種具有不同性質的工作所組成,像是硬即時性工作(hard real-time task),軟即時性工作(soft real-time task) 與非即時性工作。且每一種工作,它們都有各自不同的需求,為了能夠有效地支援各種不同性質的工作,我們已經成功地設計出一個具有動態調整CPU頻寬功能的排程架構。
      我們所提出的動態調整排程架構主要由兩大模組所組成,分別是排程模組與動態調整頻寬模組。排程模組主要負責安排工作的執行與回傳排程結果給動態調整頻寬模組,使得動態調整排程架構可以有效的調整 CPU 頻寬來讓所有的工作需求都能夠被滿足。簡而言之,我們可以藉由動態調整排程架構來達成以下的目標:
    -保證每個週期硬即時性工作的可排程性(schedulability),
    -達到使用者可接受的非週期硬即時性工作接受率(ApHRT acceptance ratio),
    -提供足夠程度的服務品質(QoS) 給所有的軟即時性工作,
    -保證非即時性工作的權重公平性 (weighted fairness)。
    同時藉由理論分析與實驗結果,我們可得知此動態調整排程架構不僅有能力支援各種相異性質的工作且能有效地滿足各個工作的需求。

      In this thesis, we propose a framework for scheduling heterogeneous tasks in a real-time system. A real-time application is composed of various kinds of tasks, such as hard real-time tasks, soft real-time tasks, and non-real-time tasks. Each kind of tasks has different requests on timing constraint. In order to support heterogeneous tasks effectively, we have designed an adaptive scheduling framework to support these diverse tasks.
      The scheduler module and the adaptive bandwidth manager module are two main parts of our scheduling framework. The scheduler module plays the role of scheduling ready tasks and feedbacks scheduling results to the adaptive bandwidth manager, then it uses the scheduling results to tune corresponding CPU bandwidth of CBS, such that diverse requests of tasks can be satisfied. In summary, the proposed framework will achieve the following aims by our adaptive scheduling framework:
    -Guaranteeing each periodic hard real-time task to be schedulable,
    -Achieving desired acceptance ratio for the aperiodic hard real-time task set,
    -Providing sufficient QoS level for soft real-time tasks, and
    -Supporting the property of weighted fairness for non-real-time tasks.
    With the analyses and simulation results, we can demonstrate our adaptive scheduling framework has the ability to support diverse real-time systems effectively.

    中文摘要.........................................IV ABSTRACT.........................................VI FIGURE LIST....................................VIII TABLE LIST.......................................XI ABBREVIATION LIST...............................XII 誌 謝..........................................XIII CHAPTER 1 INTRODUCTION...........................1 1.1 Background...................................1 1.2 Motivation...................................2 1.3 Related Works................................3 1.4 Thesis Organization..........................4 CHAPTER 2 BASIC CONCEPTS OF REAL-TIME SYSTEMS....6 2.1 Real-Time Terminologies......................7 2.1.1 Real-Time System...........................7 2.1.2 Real-Time Tasks............................8 2.2 Earliest-Deadline-First Scheduling Algorithm.9 2.3 Constant Bandwidth Server...................10 CHAPTER 3 ADAPTIVE TASK SCHEDULING FRAMEWORK....13 3.1 Task Model..................................13 3.2 Scheduling Framework........................17 3.3 Adaptive Bandwidth Manager Designed for Diverse Tasks....................................24 3.3.1 PHRT Adaptive Scheme (PHRTAS).............25 3.3.2 ApHRT Adaptive Scheme (ApHRTAS)...........28 3.3.3 SRT Adaptive Scheme (SRTAS)...............31 3.3.4 NRT Adaptive Scheme (NRTAS)...............39 CHAPTER 4 ANALYSES OF ADAPTIVE TASK SCHEDULING FRAMEWORK........................................44 4.1 Properties of Adaptive Task Scheduling Framework........................................44 4.1.1 Isolation Property........................44 4.1.2 Schedulable Condition.....................45 4.2 Analyses of Adaptive Bandwidth Manager......46 4.2.1 Analysis of PHRT Adaptive Scheme..........46 4.2.2 Analysis of ApHRT Adaptive Scheme.........48 4.2.3 Analysis of SRT Adaptive Scheme...........49 4.2.4 Analysis of NRT Adaptive Scheme...........55 CHAPTER 5 SIMULATION RESULTS....................60 5.1 Simulation Model............................60 5.2 Verifications and Analyses of Simulation Results..........................................65 5.2.1 Simulation Results of ATSF................65 5.2.2 Simulation Results of Adaptive Bandwidth Manager..........................................67 5.2.2.1 Simulation Results of PHRTAS............67 5.2.2.2 Simulation Results of ApHRTAS...........72 5.2.2.3 Simulation Results of SRTAS.............77 5.2.2.4 Simulation Results of NRTAS.............90 CHAPTER 6 CONCLUSIONS AND FUTURE WORKS..........97 6.1 Conclusions.................................97 6.2 Future works................................98 REFERENCES......................................100

    [1] L. Deng and J. W.-S. Liu, and J. Sun. A scheme for scheduling hard
    real-time appli- cations in open system environment. In Proceedings of
    the 9th Euromicro Workshop on Real-Time Systems, June 1997.

    [2] L. Abeni and G. Buttazzo. Adaptive bandwidth reservation for multimedia
    computing. In proceedings of IEEE Conference Real-Time Computing Systems
    and Applications, December 1999.

    [3] Jin Soo Jang, Woo Hyun Ahn and Daeyeon Park. A server framework for
    scheduling multimedia applications in open system environment . In
    Proceedings of IEEE Con- ference Parallel and Distributed Systems, 2001

    [4] C. L. Liu and J. Layland. Scheduling Algorithms for Multiprogramming in a
    Hard Real-Time Environment. Journal of the ACM, 20(1):46-61, 1973.

    [5] M. Spuri and G. Buttazzo. Scheduling aperiodic tasks in dynamic priority
    systems. Real-Time Systems, 10(2), 1996.

    [6] L. Abeni and G. Buttazzo. Integrating multimedia applications in hard
    real-time systems. In Proceedings of the IEEE Real Time Systems
    Symposium, Madrid, Spain, December 1998.

    [7] R. E. Kalman, A New Approach to Linear Filtering and Prediction Problems,
    Tran- saction of the ASME—Journal of Basic Engineering, pp.35-45, March
    1960.

    [8] L. Abeni. Server mechanisms for multimedia applications. Technical Report
    RETIS TR98-01, Scuola Superiore S. Anna, 1998.

    [9] Greg Welch and Gary Bishop. An Introduction to the Kalman Filter,
    UNC-Chapel Hill, TR 95-041, March 2002.

    下載圖示 校內:立即公開
    校外:2003-07-25公開
    QR CODE