簡易檢索 / 詳目顯示

研究生: 林孝融
Lin, Hsiao-Jung
論文名稱: 基於成對取樣之方法用以估計OSGi服務能源消耗與卸載決策
Paired Sampling-Based Power Model to Estimate OSGi Service Energy Consumption for Offloading Decision Making
指導教授: 李信杰
Lee, Shin-Jie
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Department of Computer Science and Information Engineering
論文出版年: 2016
畢業學年度: 104
語文別: 英文
論文頁數: 47
中文關鍵詞: power modelmobile-to-mobile OSGi service offloadingenergy-aware decision making
外文關鍵詞: power model, mobile-to-mobile OSGi service offloading, energy-aware decision making
相關次數: 點閱:74下載:3
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 目前已有許多研究能夠估計一個程式於本地端執行時所消耗的能源,然而這些方法大都必須倚賴特定硬體元件的資訊,並且無法在多執行緒的環境下準確地估計執行某一支程式所需的能源消耗。本研究提出了一個基於Paired Sampling之方法的能源模型(Power Model),此方法並不倚賴特定的硬體資訊,且能夠於多執行緒的環境下估計執行一支非同步的OSGi Service所需消耗的能源。基於此能源模型,我們同時提出了一個決策模型(Decision Model),能夠動態地做出決策是否要將一支OSGi Service從某一支手機藉由藍芽卸載(Offload)到另一支手機上執行以節省能源。於實驗之中,我們評估了決策的正確性、藉由卸載OSGi Service至遠端手機執行所能節省的能源、以及估計能源的誤差值。

    Power models are a critical element in current research regarding the effect of program-offloading decision making on the energy consumption of mobile devices. Several utilization-based power models have been proposed for measuring the energy consumption of locally running programs. However, the main challenge of utilization-based methods is that the models must be retrained for program units that use hardware components that are not addressed in the training phase. This paper proposes a paired sampling-based power model to address this critical challenge. The proposed power model estimates the energy consumption of an OSGi service asynchronously invoked in a multithreading environment on the basis of the overall remaining battery energy information at runtime without pretraining for each specific hardware component. On the basis of the power model, an offloading decision model is proposed to determine whether a service invocation should be offloaded to a nearby mobile device over Bluetooth to conserve energy. The proposed approach was experimentally assessed according to the correctness of decision making, energy gained by offloading service invocations, and weighted absolute percentage error of the estimated energy consumption.

    Chapter 1 Introduction: 1 Chapter 2 Related Work: 4 Chapter 3 A Running Example: 8 Chapter 4 EA-OSGi Framework: 10 4.1 System Architecture: 10 4.2 Bluetooth Energy Tester: 12 4.3 Invocation Event Handler: 17 4.4 Local OSGi Service Invoker: 19 4.5 Paired Sampling-Based Power Model: 22 4.6 Decision Model: 25 4.7 Remote OSGi Service Invoker and OSGi Bundle Offloader: 27 Chapter 5 Experimental Evaluation: 29 5.1 Experiment Design: 29 5.2 Definitions of Evaluation Metrics: 31 5.3 Experimental Results: 34 5.3.1 Experiment Traces: 35 5.3.2 Correctness of Decision Makings and Energy Gain: 36 5.3.3 Errors of Estimated Energy Consumption: 38 5.4 Discussion: 39 5.4.1 Findings: 39 5.4.2 Limitation: 40 Chapter 6 Conclusion: 42 References: 43

    [1] S. Kosta, A. Aucinas, P. Hui, R. Mortier, and X. Zhang, "ThinkAir: Dynamic Resource Allocation and Parallel Execution in the Cloud for Mobile Code Offloading," INFOCOM, 2012 Proceedings IEEE, pp. 945-953, 2012.
    [2] D. Verloop, "Code Smells in the Mobile Applications Domain," PhD thesis, TU Delft, Delft University of Technology, 2013.
    [3] A. Vetro, L. Ardito, G. Procaccianti, M. Morisio, "Definition, implementation and validation of energy code smells: an exploratory study on an embedded system," The Third International Conference on Smart Grids, Green Communications and IT Energy-aware Technologies, 2013.
    [4] L. Ardito, "Energy-aware Software," Doctoral thesis, 2014.
    [5] M. Gottschalk, M. Josefiok, J. Jelschen, A. Winter, "Removing Energy Code Smells with Reengineering Services," Lecture Notes in Informatics, 2012.
    [6] M. Satyanarayanan, "Pervasive computing: vision and challenges," IEEE Personal Communications, Volume 8, Issue 4, pp. 10-17, 2001.
    [7] R. Balan, J. Flinn, M. Satyanarayanan, S. Sinnamohideen, Hen-I Yang, "The case for cyber foraging," EW 10 Proceedings of the 10th workshop on ACM SIGOPS European workshop, pp. 87-92, 2002.
    [8] E. Cuervo, A. Balasubramanian, Dae-ki Cho, A. Wolman, S. Saroiu, R. Chandra, and P. Bahl, "MAUI: Making Smartphones Last Longer with Code Offload," Proceedings of the 8th international conference on Mobile systems, applications, and services, pp. 49-62, 2010.
    [9] F. Xia, F. Ding, J. Li, X. Kong, L. T. Yang, J. Ma, "Phone2Cloud: Exploiting computation offloading for energy saving on smartphones in mobile cloud computing," Information Systems Frontiers, Volume 16, Issue 1, pp. 95-111, 2014.
    [10] Y. D. Lin, E. T. H. Chu, Y. C. Lai, T. J. Huang, "Time-and-Energy-Aware Computation Offloading in Handheld Devices to Coprocessors and Clouds," IEEE Systems Journal, Volume 9, Issue 2, pp. 393-405, 2015.
    [11] F. A. Ali, P. Simoensa, T. Verbelena, P. Demeestera, B. Dhoedta, "Mobile device power models for energy efficient dynamic offloading at runtime," Journal of Systems and Software, Volume 13, pp. 173-187, 2016.
    [12] C. Shi, V. Lakafosis, M. H. Ammar, E. W. Zegura, "Serendipity: Enabling Remote Computing among Intermittently Connected Mobile Devices," Proceedings of the thirteenth ACM international symposium on Mobile Ad Hoc Networking and Computing, pp. 145-154, 2012.
    [13] A. Mtibaa, K. A. Harras and A. Fahim, "Towards Computational Offloading in Mobile Device Clouds," IEEE 5th International Conference on Cloud Computing Technology and Science, Volume 1, pp. 331-338, 2013.
    [14] K. Kumar, J. Liu, Y. Lu, B. Bhargava, "A Survey of Computation Offloading for Mobile Systems," Mobile Networks and Applications, Volume 18, Issue 1, pp. 129-140, 2013.
    [15] C. Xian, Y. Lu, Z. Li, "Adaptive computation offloading for energy conservation on battery-powered systems," International Conference on Parallel and Distributed Systems, Volume 2, pp. 1-8, 2007.
    [16] G. Chen, B. Kang, M. Kandemir, N. Vijaykrishnan, M. J. Irwin, R. Chandramouli, "Studying Energy Trade Offs in Offloading Computation/Compilation in Java-Enabled Mobile Devices," IEEE Transactions on Parallel and Distributed Systems, Volume 15, Issue 9, pp. 795-809, 2004.
    [17] Z. Li, C. Wang, R. Xu, "Computation offloading to save energy on handheld devices: a partition scheme," Proceedings of the 2001 international conference on Compilers, architecture, and synthesis for embedded systems, pp, 238-246, 2001.
    [18] H. Chu, H. Song, C. Wong, S. Kurakake, M. Katagiri, "Roam, a seamless application framework," Journal of Systems and Software, Volume 69, Issue 3, pp. 209-226, 2004.
    [19] H. Rim, S. Kim, Y. Kim, H. Han, "Transparent method offloading for slim execution," International symposium on wireless pervasive computing, pp 1–6, 2006.
    [20] S. Ou, K. Yang, A. Liotta, "An adaptive multi-constraint partitioning algorithm for offloading in pervasive systems," IEEE international conference on pervasive computing and communications, pp 116–125, 2006.
    [21] M. Altamimi, A. Abdrabou, K. Naik and A. Nayak, "Energy Cost Models of Smartphones for Task Offloading to the Cloud," IEEE Transactions on Emerging Topics in Computing, Volume 3, Issue 3, pp. 384-398, 2015.
    [22] M. Segata, B. Bloessl, C. Sommer and F. Dressler, "Towards energy efficient smart phone applications: Energy models for offloading tasks into the cloud," IEEE International Conference on Communications, pp. 2394-2399, 2014.
    [23] L. Zhang, B. Tiwana, R. P. Dick, Z. Qian, Z. M. Mao, Z. Wang, and L. Yang, "Accurate Online Power Estimation and Automatic Battery Behavior Based Power Model Generation for Smartphones," Proceedings of the eighth IEEE/ACM/IFIP international conference on Hardware/software codesign and system synthesis, pp. 105-114, 2010.
    [24] W. Jung, C. Kang, C. Yoon, D. Kim, H. Cha, "DevScope: a nonintrusive and online power analysis tool for smartphone hardware components," Proceedings of the eighth IEEE/ACM/IFIP international conference on Hardware/software codesign and system synthesis, pp. 353-362, 2012.
    [25] OSGi, https://www.osgi.org/
    [26] J. Lee, S. J. Lee and P. F. Wang, "A Framework for Composing SOAP, Non-SOAP and Non-Web Services," IEEE Transactions on Services Computing, Volume 8, Issue 2, pp. 240-250, 2015.
    [27] J. Lee, S. J. Lee, H. M. Chen and K. H. Hsu, "Itinerary-based Mobile Agent as a Basis for Distributed OSGi Services," IEEE Transactions on Computers, Volume 62, Issue 10, pp. 1988-2000, 2013.
    [28] Monsoon Solutions Inc. http://www.msoon.com
    [29] M. Akram and A. ElNahas, "Energy-Aware Offloading Technique for Mobile Cloud Computing," 3rd International Conference on Future Internet of Things and Cloud, pp. 349-356, 2015.
    [30] F. Ding, F. Xia, W. Zhang, X. Zhao, C. Ma, "Monitoring energy consumption of smartphones," Proceedings of the 2011 International Conference on Internet of Things and 4th International Conference on Cyber, Physical and Social Computing, pp. 610-613, 2011.
    [31] T. Verbelen, P. Simoens, F. D. Turck, B. Dhoedta, "AIOLOS: Middleware for improving mobile application performance through cyber foraging," Journal of Systems and Software, Volume 85, Issue 11, pp. 2629-2639, 2012.
    [32] Android BatteryManager API, http://developer.android.com/reference/android/os/BatteryManager.html
    [33] A. Pathak, Y. C. Hu, M. Zhang, P. Bahl, Y. Wang, "Fine-grained power modeling for smartphones using system call tracing," Proceedings of the sixth conference on Computer systems, pp. 153-168, 2011.
    [34] A. Carroll, G. Heiser, "An analysis of power consumption in a smartphone," Proceedings of the 2010 USENIX conference on USENIX annual technical conference, 2010.
    [35] A. Shye, B. Scholbrock, G. Memik, "Into the wild: Studying real user activity patterns to guide power optimizations for mobile architectures," 42nd Annual IEEE/ACM International Symposium on Microarchitecture, pp. 168-178, 2009.
    [36] M. Dong and L. Zhong, "Self-constructive high-rate system energy modeling for battery-powered mobile systems," Proceedings of the 9th international conference on Mobile systems, applications, and services, pp. 335-348, 2011.
    [37] M. B. Kjærgaard and H. Blunck, "Unsupervised Power Profiling for Mobile Devices," Proceedings of the 8th International ICTS Conference on Mobile and Ubiquitous, pp. 138-149, 2011.
    [38] E-Robot. https://play.google.com/store/apps/details?id=com.bartat.android.robot
    [39] Measuring Device Power. https://source.android.com/devices/tech/power/device.html

    下載圖示 校內:2021-07-01公開
    校外:2021-07-01公開
    QR CODE