Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電信工程學研究所
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/32423
完整後設資料紀錄
DC 欄位值語言
dc.contributor.advisor蔡志宏(Zsehong Tsai)
dc.contributor.authorTse-Hsun Linen
dc.contributor.author林則勳zh_TW
dc.date.accessioned2021-06-13T03:48:28Z-
dc.date.available2006-07-31
dc.date.copyright2006-07-31
dc.date.issued2006
dc.date.submitted2006-07-25
dc.identifier.citation[1] D. P. Bovet and M. Cesati, Understanding the Linux Kernel, Second Edition, Second Edition December, 2002.
[2] C.A. Waldspurger and W.E. Weihl, “Lottery Scheduling: Flexible Proportional-Share Resource Management,” in Proceedings of the First Symposium on Operating Systems Design and Implementation (OSDI ’94), Monterey, CA, pp. 1-11, Nov. 1994.
[3] C. A. Waldspurger, “Lottery and Stride Scheduling: Flexible Proportional-Share Resource Management,” PhD thesis, MIT, Sep. 1995.
[4] M. Kim, H. Lee, and J. Lee, “A proportional-share scheduler for multimedia applications,” in Proceedings of IEEE International Conference on Multimedia Computing and Systems, 1997.
[5] P. Goyal, X. Guo, and H.M. Vin, “A Hierarchical CPU Scheduler for Multimedia Operating Systems,” in Proceedings of the Second Symposium on Operating Systems Design and Implementation (OSDI ’96), Seattle, Washington, United States, pp. 107-122, Oct. 1996.
[6] H. H. Chu, and K. Nahrstedt, “CPU Service Classes for Multimedia Application,” in Proceedings of IEEE International Conference on Multimedia Computing and Systems, Vol. 1, pp. 296-301, Florence, Italy, 1999.
[7] I. Stoica, H. Abdel-Wahab, and K. Jeffay, “A Proportional Share Resource Allocation Algorithm for Real Time, Time-Shared Systems,” in Proceedings of Real Real Time Systems Symposium, Dec. 1996.
[8] I. Stoica, H. Abdel-Wahab, and K. Jeffay, “On the Duality between Resource
Reservation and Proportional Share Resource Allocation,” in Multimedia Computing and Networking 1997, SPIE Proceedings Series, Vol. 3020, pp. 207-214, San Jose, CA., Feb. 1997.
[9] J. Nieh and M. S. Lab, “A SMART Scheduler for Multimedia Applications,” ACM Transactions on Computer Systems (TOCS), Vol. 21, No. 2, pp. 117-163, May, 2003.
[10] C. Poellabauer, K. Schwan and R. West, “Coordinated CPU and Event Scheduling for Distributed Multimedia Application,” in Proceedings of the 9th ACM international conference on Multimedia, 2001.
[11] K. Schwan, “Flexible Cross-Domain Event Delivery for Quality-Managed Multimedia Application,” in ACM Transactions on Multimedia Computing, Communications and Applications, Vol. 1, No. 3, pp. 248-268, August, 2005.
[12] H. Jin, Q. Hu, X. Liao, H. Chen and D. Deng, “IMAC: An Importance-Level based Adaptive CPU Scheduling Scheme for Multimedia and Non-Real time Applications,” in Proceedings of the 3rd ACS/IEEE International Conference on Computer Systems and Applications, 2005.
[13] D. B. Golub, “Operating System Support for Coexistence of Real-Time and Conventional Scheduling,” November 3, 1994 CMU-CS-94-212 School of Computer Science Carnegie Mellon University Pittsburgh, Pennsylvania 15213-3890.
[14] Y. Etsion, D. Tsafrir, and D. G. Feitelson, “Effects of Clock Resolution on the Scheduling of Interactive and soft Real-Time Process,” in Proceedings of the 2003 ACM SIGMETRICS international conference on Measurement and modeling of computer systems SIGMETRICS '03, Vol. 31, No. 1, 2003.
[15] “National Laboratory for Applied Network Research,” http://www.nlanr.net/.
[16] Y. Zlotnikov, “A computer network for automatic control of electrical power consumption,” in Proceedings of Electrotechnical Conference, 1996. MELECON '96, 8th Mediterranean, Vol. 3, pp. 1725-1728, Bari, May, 1996.
[17] H. Meixner, “Sensorsystems for industrial and automotive applications,” in Sensors, 2004. Proceedings of IEEE, Vol. 1, pp. 2-4, Oct. 2004.
[18] A. Augusiak, and W. Kamrat, “Automated network control and supervision,” in Computer Applications in Power, IEEE, Vol. 15, No. 1, pp. 20-23, Jan. 2002.
dc.identifier.urihttp://tdr.lib.ntu.edu.tw/jspui/handle/123456789/32423-
dc.description.abstract隨著人們對於即時多媒體服務如影音串流及網路電話等的需求與日俱增,如何提供品質良好的即時多媒體應用,早已成為一項重要的議題。目前影響即時多媒體品質的很多原因中,影響最大的不外乎為網路連線品質或是處理器排程的效能表現。在過去的處理器排程方法中,大多把焦點放在如何公平地分配或是預留資源給不同類型的工作,或是就工作的重要性來排定程序處理的優先順序;這些排程方法中,大多沒有考慮記憶體搬移或儲存程序資訊所必須耗費的時間,也就是「內文切換」對處理器效能的影響,而事實上,過度頻繁的內文切換會讓處理器花費額外不需要的時間在記憶體的搬移上,使真正用在運算程式碼上的資源被壓縮、運算時間被拉長。對於即時多媒體的應用,還會影響它的表現,例如延遲時間與jitter變大,導致聲音或影像的品質變差。
在本篇論文中,將考慮內文切換對處理器資源的影響,提出「減耗型」及「預知型」兩種排程演算法;其中「減耗型」排程法之設計原理為減少不必要之內文切換的次數,使系統資源的使用上更為經濟,進而保障即時多媒體應用的品質;「預知型」排程法之設計原理為在接受新的即時多媒體連線時,根據其應用類型而將此連線所需之資源分配給它,確保每一即時連線皆能擁有充足的運算資源,進而保障多媒體應用的表現。此二項設計經由模擬驗證其效能並與Earliest Deadline First(EDF)、First Come First Serve(FIFO)和Start-time Fair Queueing(SFQ)之演算法比較,經驗證,其中減耗型排程法在系統可能滿載的情形下,可以有效地提升處理器之效能,提升即時多媒體應用的品質;預知型排程在犧牲非即時部分程序品質的情形下,則有最好的即時多媒體品質表現。
zh_TW
dc.description.abstractWith the growth of the demand for real time multimedia services (such as video streaming, and VoIP, etc), providing high quality real time services becomes an issue. Among the many factors affecting the performance, the connection speed and the efficiency of the CPU scheduling algorithm are the main factors. In the past CPU scheduling algorithms, they usually focus on how to fairly allocate or reserve resources for different processes, or arrange the processing sequence based on these processes priority. Among these scheduling algorithms, they usually do not consider the effect of the Context-Switch on the CPU efficiency, that is, the expending time on memory movement and the process information storage. In fact, frequent Context-Switching may lead to high overhead, and lengthen the computing time of processes. Further more, it may affect the quality of real time processes, for example, leading to larger delay, jitter, dropping ratio, etc.
In this thesis, we consider the effect of Context-Switch on CPU efficiency and propose two CPU scheduling algorithms, called “Context-Switch Overhead aware” and “Pre-Informed” scheduling algorithm. The design philosophy of Context-Switch Overhead aware scheduling algorithm is to reduce the number of Context-Switch operations, to make the resource usage more efficient, and then increase the quality of real time multimedia applications. When new real time requests arrive, the Pre-Informed scheduling algorithm will allocate required resources to these tasks based on their application types. It will then ensure every real time request has enough computing resource to protect and improve the performance of the multimedia application. The efficiency of these two designs is validated by simulation experiments, and then are compared with Earliest Deadline First (EDF), First Come First Serve (FIFO), and Start-time Fair Queueing (SFQ) scheduling algorithms. In CPU overloaded situation, the Context-Switch Overhead aware scheduling algorithm can raise the effective efficiency of the system, and then promote the quality of the real time application. If the demand of the performance of non real time processes is not high, the quality of the real time multimedia applications of Pre-Informed scheduling algorithm is the best.
en
dc.description.provenanceMade available in DSpace on 2021-06-13T03:48:28Z (GMT). No. of bitstreams: 1
ntu-95-R93942082-1.pdf: 1981831 bytes, checksum: e27a6cae2039c2d4538e752fc87fdd8b (MD5)
Previous issue date: 2006
en
dc.description.tableofcontents第一章 緒論 1
1.1 前言 1
1.2 研究目的與方法 2
1.3 論文章節 3
第二章 處理器排程的發展與研究 5
2.1 處理器之排程概述 5
2.2 處理器排程的演進與相關研究 8
2.2.1 硬性即時系統(Hard Real Time System) 8
2.2.2 軟性即時系統(Soft Real Time System) 9
2.2.2.1 比例分配型 10
2.2.2.2 資源保留型 16
2.2.2.3 混合與其他型 17
第三章 系統模型與演算法設計 21
3.1 系統佇列模型 21
3.2 減耗型排程演算法 23
3.3 預知型排程演算法 27
第四章 模擬結果與數據分析 31
4.1 負載實驗 31
4.1.1: VoIP代理與防火牆伺服器 31
4.1.2: 影音儲存伺服器 41
4.1.3: 工業控制電腦 46
4.2允入控制實驗 49
4.2.1: VoIP代理與防火牆伺服器 51
4.2.2: MP3下載伺服器 52
4.3 實驗結果總結 54
第五章 結論與未來工作 57
4.1 結論 57
4.2 未來工作 58
參考文獻 59
dc.language.isozh-TW
dc.subject中央處理器zh_TW
dc.subject內文切換zh_TW
dc.subject排程zh_TW
dc.subjectSchedulingen
dc.subjectCPUen
dc.subjectContext Switchen
dc.title內文切換即時排程演算法之研究zh_TW
dc.titleA Study on the Scheduling Algorithm for Real Time Context Switchingen
dc.typeThesis
dc.date.schoolyear94-2
dc.description.degree碩士
dc.contributor.oralexamcommittee馮輝文(Huei-Wen Ferng),林風(Phone Lin),林宗男(Tsung-Nan Lin)
dc.subject.keyword內文切換,中央處理器,排程,zh_TW
dc.subject.keywordContext Switch,CPU,Scheduling,en
dc.relation.page61
dc.rights.note有償授權
dc.date.accepted2006-07-26
dc.contributor.author-college電機資訊學院zh_TW
dc.contributor.author-dept電信工程學研究所zh_TW
顯示於系所單位:電信工程學研究所

文件中的檔案:
檔案 大小格式 
ntu-95-1.pdf
  未授權公開取用
1.94 MBAdobe PDF
顯示文件簡單紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved