簡易檢索 / 詳目顯示

研究生: 涂哲源
Tu, Che-Yuan
論文名稱: 建構在ARM平台上的效能評估器
Perfromance Evaluator Based on ARM Platform
指導教授: 鄭芳田
Cheng, Fan-Tien
洪敏雄
Hung, Min-Hsiung
楊浩青
Yang, Hao-Ching
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 製造工程研究所
Institute of Manufacturing Engineering
論文出版年: 2006
畢業學年度: 94
語文別: 中文
論文頁數: 113
中文關鍵詞: 簡易網路管理協定嵌入式系統效能指標
外文關鍵詞: Performance Index, Embedded System, Simple Network Management Protocol (SNMP)
相關次數: 點閱:140下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著資訊科技的進步,越來越多不同的產業開始審慎考慮導入資訊系統的效益,適時的導入符合實際需求的資訊系統的確能為企業帶來組織面、管理面及科技面正面的綜效。實用的資訊系統不論對企業或是個人都佔有舉足輕重的地位,因此資訊系統的可靠度對使用者來說相當重要,一旦資訊系統的可靠度不佳,則其為企業或是個人所帶來的損失將無可估計。近年來軟體老化的現象被提出:資訊應用系統因關鍵資源耗盡造成效能衰減及失效。
    針對此現象本研究延續了原本的具預測應用伺服器失效能力之效能評估器(Performance Evaluator, PEV)的架構,採用Platform-Based Design的方法論,並以ARM平台與Embedded Linux為核心技術來開發一個基於ARM平台的效能評估器,該平台並採用簡易網路管理協定(SNMP)與一套遠端網路監控系統-Cacti為基礎開發技術。效能評估器有兩個主要的核心模組:效能偵測模組與失效預測模組。在效能偵測模組上我們提出了一個效能指標(PI)來判斷應用伺服器的效能狀態,該模組並使用系統反應時間(Response Time)與快速傅利葉轉換(FFT)來驗證模組的準確性。另外,失效預測模組則是以Lagrange Polynomial來建構的,當效能偵測模組發現應用伺服器效能發生異常時,將會通知失效預測模組根據剩餘的可用資源來預測該應用伺服器之失效時間(Time to Failure),最後效能評估器可提供失效時間等訊息給應用程式叢集服務APCS (Application Cluster Service),使其可提前轉換即將失效的服務,俾達成服務不中斷的境界。

    In recent years, the issue of “Software Aging” has been proposed and studied. The exhaustion of key resources causes the performance decline and failure of an application server and even worse the entire information application system.
    Aiming at this issue, this research extends the original framework of Performance Evaluator (PEV), adopts the Platform-Based Design methodology, employs ARM Platform and Embedded Linux as the central techniques to develop an ARM-based performance evaluator. The developed PEV platform incorporates both the Simple Network Management Protocol (SNMP) and a remote network monitoring system, called Cacti.
    Detection Module and Prediction Module are two kernel modules of the PEV. We propose a performance index to determine the performance status of application servers. The response time and fast Fourier transform are used to verify the accuracy of the Detection Module. In addition, the Prediction Module is constructed by using Lagrange polynomial. When Detection Module detects performance anomalies of application server, it will inform Prediction Module to predict the “Time to Failure” of the application server according to the residual available resources. Lastly, PEV provides the “Time to Failure” and relative messages to the application cluster service (APCS) to perform the failover of failed services before the upcoming system breakdown to achieve near-zero downtime services.

    第一章、緒論 1 1.1研究背景 1 1.2研究動機與目的 2 1.3論文架構 5 第二章、研究方法與目的 7 2.1 處理器行程管理 ( CPU Processes Management )[24] 7 2.1.1 延遲程序呼叫時間 (DPC Time) 7 2.1.2 中斷時間 (Interrupt Time) 7 2.1.3 特權時間 (Privileged Time) 8 2.1.4 處理器時間 (Processor Time) 8 2.1.5 使用者時間 (User Time) 8 2.2 記憶體管理 ( Memory Management )[24] 9 2.2.1 可用位元組 (Available Bytes) 9 2.2.2 待發位元組 (Committed Bytes) 9 2.2.3 緩衝位元組 (Cache Bytes) 9 2.2.3.1 系統緩衝常駐位元組 (System Cache Resident Bytes) 9 2.2.3.2 系統驅動程式常駐位元組 (System Driver Resident Bytes) 10 2.2.3.3 系統程式常駐位元組 (System Code Resident Bytes) 10 2.2.3.4 分頁池常駐位元組 (Pool Paged Resident Bytes) 10 2.2.4 分頁速率 (Pages/sec) 10 2.2.4.1 分頁置入速率 (Pages Input/sec) 11 2.2.4.2 分頁輸出速率 (Pages Output/sec) 11 2.2.5 分頁錯誤速率 (Page Faults/sec) 11 2.2.6 未分頁的記憶池位元組 (Pool Nonpaged Bytes) 12 2.2.7 分頁的記憶池位元組 (Pool Paged Bytes) 12 2.3 簡易網路管理協定 ( Simple Network Management Protocol ) 12 2.3.1 網路的管理與控制 12 2.3.2 管理者以及代理者 13 2.3.3 管理資訊的結構以及MIB 14 2.3.4 SNMP與UDP 14 2.3.5 SNMP 社群 16 2.3.6 管理資訊的結構 17 2.4 嵌入式系統 ( Embedded Systems ) 18 2.4.1 嵌入式系統 ( Embedded Systems ) 18 2.4.2 嵌入式系統設計 ( Embedded System Design ) 18 2.4.3 以平臺為基礎的設計方法論 (Platform-Based Design Methodology) 18 2.4.4 ARM Platform 19 2.4.5 Embedded Linux System 19 2.4 拉格朗日多項式 ( Lagrange Polynomial ) 20 2.5 主成份分析 ( Principal Component Analysis ) 22 2.6 統一塑模語言 (Unified Modeling Language) 24 第三章、系統規格 29 3.1 系統功能規格 29 3.1.1 問題描述與解決 31 3.1.2 應用伺服器效能狀態之定義 31 3.2 資料收集模組 (Data Collector) 33 3.3 效能偵測模組 (Detection Module) 34 3.3.1 效能指標-以記憶體為例 35 3.3.2 效能偵測模組之網路監控系統 36 3.4 失效預測模組 (Prediction Module) 37 3.4.1 拉格朗日多項式的建立 37 3.4.2 即時預測 (Real-time Prediction) 37 3.5 以平臺為基礎的設計方法論 (Platform-Based Design) 38 3.6 Linux Specifications 41 3.6.1 Linux Standard Base 42 3.6.2 Filesystem Hierarchy Standard 45 第四章、系統功能分析 46 4.1 效能評估器的應用軟體使用者案例圖(PEV Application Software Use Case Diagram) 47 4.2 效能評估器的應用軟體循序圖PEV Application Software Sequence Diagram 48 4.2.1 使用者案例1 (Use Case 1):Graph Data 48 4.2.2 使用者案例2 (Use Case 2):Process Data 50 4.2.3 使用者案例3 (Use Case 3):Predict TTF 52 4.3效能評估器的應用軟體類別圖 (PEV Application Software Class Diagram) 54 第五章、系統架構設計 57 5.1 使用統一模組化語言與平台的嵌入式系統設計(Embedded System Design Using UML and Platforms): 57 5.2 嵌入式系統平台 (Embedded System Platform): 58 5.2.1 架構 (Architecture, ARC): 59 5.2.2 應用程式介面 (application programming interface, API): 61 5.2.3 特定應用程式平台 (application specific programmable platforms, ASP Platforms): 63 第六章、PEV ARM 平台實作 65 6.1 ARM平台: 65 6.1.1 開發板QT-2410簡介 65 6.1.2 QT-2410規格與硬體架構 66 6.1.3 ARM微處理器的指令分類與格式 68 6.1.4 Thumb指令與應用 70 6.2 建構資料收集模組(Data Collector): 71 6.2.1 建構環境 — SNMP Service 71 6.2.2 建構環境 — SNMP Informant 79 6.3 建構效能偵測模組(Detection Module): 83 6.3.1 記憶體消耗實驗 — 資料蒐集 84 6.3.2 記憶體消耗實驗 — 資料分析 87 6.4 建構失效預測模組(Prediction Module): 99 6.4.1 插值法與拉格朗日插值法(Lagrange Interpolation) 100 6.4.2 基於拉格朗日多項式之失效預測模組 101 第七章、結論 105 7.1 研究成果與論文總結 105 7.2 未來研究方向 106 參考文獻 108 附錄A 111

    [1] IMS Vision, Center for Intelligent Maintenance Systems. [Online].
    Available: http://wumrc.engin.umich.edu/ims/?page=home
    [2] 半導體及平面顯示器( IC& FPD)生產線智慧型維修系統國際研討會, May 2005.
    [Online]. Available: http://en.fpd.edu.tw:8088/news_data/
    [3] Taiwan.CNET.com 新聞專區,應用缺乏限制Windows x64市場. [Online].
    Available: http://taiwan.cnet.com/news/hardware/0,2000064553,20101096,00.htm
    [4] 宏碁新聞稿. [Online].
    Available: http://global.acer.com/t_chinese/about/news.asp?id=6284
    [5] R. Gamache, R. Short and M. Massa,“Windows NT Clustering Service,” Computer, vol. 31, no. 10, pp.55-62, Oct. 1998.
    [6] W. Vogels, D. Dumitriu, K. Birman, R. Gamache, M. Massa, R. Short, J. Vert, J. Barrera, and J. Gray, “The Design and Architecture of the Microsoft Cluster Service—A Practical Approach to High-Availability and Scalability,” Proc. of 28th Symp. Fault-Tolerant Computing, CS Press, pp. 422-431, June 1998.
    [7] Red Hat Cluster Suite, redhat.com. [Online].
    Available: http://www.redhat.com/software/rha/cluster/
    [8] G.. J. Gray, “Why Do Computers Stop and What Can Be Done about It,” Proc. of 5th Symp on Reliability in Distributed Software and Database Systems, pp. 3-12, January 1986.
    [9] J. Gray and D. P. Siewiorek, “High-availability Computer Systems,” IEEE Computer, 24(9), pp. 39–48, Sep. 1991.
    [10] M. Sullivan and R. Chillarege, “Software Defects and their Impact on System Availability — A Study of Field Failures in Operating Systems,” Proc. of 21th Annual International Symposium on Fault-Tolerant Computing (FTCS-21), pp. 2-9, June 1991.
    [11] 鍾昀達,「具預測應用伺服器失效能力之效能評估器」,國立成功大學製造工程研究所碩士論文,2004。
    [12] S. Garg, A.Van Moorsel, K.Vaidyanathan, and K. S. Trivedi,“A Methodology for Detection and Estimation of Software Aging,” Proc. of 1998 International Symposium on Software Reliability Engineering (ISSRE 1998), pp 283-292, Nov. 1998.
    [13] Y. Huang, C. Kintala, N. Kolettis and N.D. Fulton, “Software Rejuvenation: Analysis, Module and Applications,” Proc. of 25th Annual International Symposium on Fault-Tolerant Computing (FTCS-25), pp 381-390, June 1995.
    [14] K. Vaidyanathan and K. S. Trivedi, “A Measurement-based Model for Estimation of Resource Exhaustion in Operational Software Systems,” Proc. of 1998 International Symposium on Software Reliability Engineering (ISSRE 1999), pp 84-93, Nov. 1999.
    [15] P. K. Sen, “Estimates of the Regression Coefficient Based on Kendall’s Tau,” Journal of the American Statistical Association, 63:1379–1389, 1968.
    [16] V. Castelli, R. E. Harper, P. Heidelberger, S. W. Hunter, K. S. Trivedi, K. Vaidyanathan and W. P. Zeggert, “Proactive Management of Software Aging,” IBM Journal of Research and Development (JRD), Vol 45, no. 2, pp.311–332, Mar. 2001.
    [17] F.-T. Cheng, H.-C. Yang, and C.-Y. Tsai, “Developing a Service Management Scheme for Semiconductor Factory Management Systems,” IEEE Robotics and Automation Management, vol. 11, no. 1, pp. 26-40, March 2004.
    [18] 吳尚倫,「具錯誤後轉移能力之應用程式叢集服務」,國立成功大學製造工程研究所碩士論文,2004。
    [19] Microsoft ® Management Console 2.0 on Windows XP Professional SP 2
    [20] 中國大百科全書智慧藏. [Online] http://134.208.10.81/cpedia/
    [21] 陳順宇 「多變量分析」,三版,華泰書局,2004.
    [22] A. L. Sangiovanni-Vincentelli, L. Carloni, F. De Bernardinis, and M. Sgroi, “Benefits and Challenges for Platform-Based Design,” Proc. of the Annual ICM IEEE Design Automation Conference (DAC’04), pp 409-414, June 2004.
    [23] 陳俊宏,「適用於智慧型維護應用之資料收集的分散性嵌入式系統平臺」,國立成功大學製造工程研究所碩士論文,2005。
    [24] 陳俊宏「Embedded Linux嵌入式系統 原理與實務」,二版,學貫行銷股份有限公司,2004.
    [25] R. Chen, M. Sgroi, L. Lavagno, G. Martin, Alberto Sangiovanni-Vincentelli, and J. Rabaey, “Embedded System Design Using UML and Platforms,” Proc. of Forum on Specification and Design Languages 2002(FDL’02), Volume 2, Sep. 2002.
    [26] 凱思嵌入式系統開發網. [Online]. Available:http://www.kaise.com.tw/
    [27] Microsoft TechNet Monitoring and Troubleshooting Performance. [Online]. Available:http://technet.microsoft.com/en-us/default.aspx
    [28] SNMP Informant tm﹒[Online]. Available:http://www.wtcs.org/informant/index.htm/
    [29] MIT Web系統管理導論Document. [Online].
    Available: http://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-isa-zh_tw-4/
    [30] Microsoft TechNet Chapter 10 - Performance Tuning and Monitoring [Online]. Available:http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/iis/maintain/optimize/c10iis.mspx
    [31] 林嶸銓,「通用型虛擬量測機制與系統」,國立成功大學製造工程研究所碩士論文,2005。

    下載圖示 校內:2009-09-06公開
    校外:2009-09-06公開
    QR CODE