(54.236.58.220) 您好!臺灣時間:2021/03/01 00:05
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果

詳目顯示:::

我願授權國圖
: 
twitterline
研究生:蔡佩伶
研究生(外文):Pei-Ling Tsai
論文名稱:在Firefox OS模擬器上之近似時間模型
論文名稱(外文):Cycle-Approximate Timing Model on Firefox OS Emulator
指導教授:洪士灝洪士灝引用關係
指導教授(外文):Shih-Hao Hung
口試委員:徐慰中郭大維梁文耀涂嘉恆
口試委員(外文):Wei-Chung HsuTei-Wei KuoWilliam LiangChia-Heng Tu
口試日期:2014-07-22
學位類別:碩士
校院名稱:國立臺灣大學
系所名稱:資訊工程學研究所
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2014
畢業學年度:102
語文別:英文
論文頁數:36
中文關鍵詞:虛擬平台評估系統精確度
外文關鍵詞:virtual platformprofileraccuracy
相關次數:
  • 被引用被引用:0
  • 點閱點閱:110
  • 評分評分:系統版面圖檔系統版面圖檔系統版面圖檔系統版面圖檔系統版面圖檔
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
全系統的模擬器是一個可以提供開發者分析程式的平台。目前的全系統
模擬器幾乎都專注於提供一個相對精確的環境在所模擬的系統上,而關於
時序的精確上卻不是這麼地要求。這個關於全系統模擬器的缺點極有可能
影響開發者做出正確的決定,因此,在本篇論文中,我們嘗試以火狐的作
業系統為虛擬平台,並且在上面提供一個接近於真實時序的時間模型。
火狐作業系統本身是一個全新的手機作業系統,其運作的目的是盡其所
能的將網頁語言所寫成的應用程式和手機的功能作結合,如此一來可以提
供使用者一個不一樣的體驗。此外,近來有許多由火狐作業系統所作成的
裝置試圖要與蘋果的IOS以及Android作業系統作競爭。由於火狐作業系統
的影響日趨重大,因此提供一個逼近於真實狀況的時間模型在火狐的作業
系統上是當務之急,此一時間模型可以幫助開發者去適當的使用火狐作業
系統的優勢,而對於硬體供應商,使用此一相對精確的時間模型可以幫助
針對火狐作業系統的硬體開發。
在此論文中,我們提供一個在ARM系統之間可移植的機制,且因為此機
制並非採用侵入式的方式去加入我們的時間模型,因此模擬過程中並不會
產生太多的外部效應。最後,我們的實驗結果顯示,我們的時間模型可以
產生和真實平台相去不遠的結果,此外,因為加上此接近於真實狀況的時
間模型所產生的外部效應皆還在可接受的範圍。

Full system simulator is a virtual platform that helps developers analyze pro-grams. However, most of the full system simulators concentrate on the functional accuracy and are not cycle-accurate. This weakness of full system simulators may result in wrong results while running timing sensitive programs. In the thesis, we choose Firefox OS as a case study to investigate on the design of a virtual platform for reports. Firefox OS is an open source mobile OS recently developed by Mozilla to offer alternative choices for smartphones and tablets, as opposed to Android and iOS. Moreover, several Firefox OS devices released recently seems to show their intention to compete with Apple’s IOS and Android. Cycle-approximate timing model on our Firefox OS virtual platform lets developers observe programs’ behavior and assists them in optimizing programs that take advantage of features on Firefox OS. For manufacturers, precisely understand how a program behaves is useful to the optimization of hardware designs. In this thesis, we describe a portable framework which models ARM-based system architecture tracing and only causes little overhead on emulation with non-intrusive method on the platform. Our experiments show that our approach results in small error rate on each performance-related events in most of the benchmarks and only slightly degrades emulation performance.

Acknowledgments . . . i
中文摘要 . . . . . . . . . . . . ii
Abstract. . . . . . . . . . . . iii
1 Introduction . . . . . . . . 1
1.1 Thesis Organization . . . 3
2 Background and Related Works. . . 4
2.1 Firefox OS . . . 4
2.2 Quick Emulator. . . 6
2.3 Virtual Platform Monitor Unit . . . 8
2.4 Smart Event Tracing Engine . . . 9
2.5 Cycle Accurate Simulators . . . . 10
3 Design of a Cycle-approximate Timing Model on Firefox OS Emulator . . . 11
3.1 Attach VPMU to Firefox OS Emulator . . . 12
3.2 Timing Model Calibration . . . 12
3.3 Integration with B2G Profiler . . . 15
3.4 Corporation with SET Engine . . . 16
4 Evaluation . . . 19
4.1 The Profiling Results of Micro Benchmarks . . . 20
4.1.1 Micro Benchmark: Dual-issue. . . 21
4.1.2 Micro Benchmark: Dependency . . . 22
4.1.3 Micro Benchmark: Special Instructions . . . 23
4.2 MiBench . . . 25
4.2.1 Case Study: Patricia. . . 26
4.2.2 Case Study: CRC32 . . . 29
4.3 VPMU Overhead . . . 30
4.4 Profiling by B2G profiler . . . 31
5 Conclusion and Future Work . . . 33
Bibliography . . . 35

[1] S.-H. Hung, T.-W. Kuo, C.-S. Shih, and C.-H. Tu, “System-wide profiling and optimization with virtual machines,” in Design Automation Conference (ASP-DAC), 2012 17th Asia and South Pacific. IEEE, 2012, pp. 395–400.
[2] “Firefox OS Architecture,” http://developer.mozilla.org/en-US/Firefox_OS/Platform/Architecture.
[3] “Boot to gecko,” 2014, https://wiki.mozilla.org/B2G.
[4] “Profiling with the built-in profiler,” 2014, https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built_in_Profiler.
[5] F. Bellard, “Qemu, a fast and portable dynamic translator.” in USENIX Annual Technical Conference, FREENIX Track, 2005, pp. 41–46.
[6] C.-H. Tu, H.-H. Hsu, J.-H. Chen, C.-H. Chen, and S.-H. Hung, “Performance and power profiling for emulated android systems,” ACM Transactions on Design Automation of Electronic Systems (TODAES), vol. 19, no. 2, p. 10, 2014.
[7] J. Edler and M. D. Hill, “Dinero iv trace-driven niprocessor cache simulator,” 1998.
[8] N. Binkert, B. Beckmann, G. Black, S. K. Reinhardt, A. Saidi, A. Basu, J. Hestness, D. R. Hower, T. Krishna, S. Sardashti et al., “The gem5 simulator,” ACM SIGARCH Computer Architecture News, vol. 39, no. 2, pp. 1–7, 2011.
[9] J. Lee, J. Kim, C. Jang, S. Kim, B. Egger, K. Kim, and S. Han, “Facsim: a fast and cycle-accurate architecture simulator for embedded systems,” in ACM Sigplan Notices, vol. 43, no. 7. ACM, 2008, pp. 89–100.
[10] M. R. Guthaus, J. S. Ringenberg, D. Ernst, T. M. Austin, T. Mudge, and R. B. Brown, “Mibench: A free, commercially representative embedded benchmark suite,” in Workload Characterization, 2001. WWC-4. 2001 IEEE International Workshop on. IEEE, 2001, pp. 3–14.
[11] P. Greenhalgh, “Big. little processing with arm cortex-a15 &; cortex-a7,” ARM White Paper, 2011.
[12] “Cortex-a7 mpcore technical reference manual,” 2013, http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0464f/index.html.
[13] “Profiling with the built-in profiler,” 2014, https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Builtin_Profiler.
[14] “Perf,” 2014, https://perf.wiki.kernel.org/index.php/Main_Page.
[15] “Cleopatra ui,” 2014, https://people.mozilla.org/~bgirard/cleopatra/.

QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top
系統版面圖檔 系統版面圖檔