Skip to main content

Advertisement

Log in

Increasing the Efficiency of Code Offloading in n-tier Environments with Code Bubbling

  • Published:
Mobile Networks and Applications Aims and scope Submit manuscript

Abstract

Code offloading strives for increasing the energy efficiency and execution speed of mobile applications on resource-constrained mobile devices. First approaches only considered a code offloading between two (or three) tiers, executing code either locally on a mobile device or remotely on a powerful server. However, new execution environments comprise multiple tiers, containing highly distributed heterogeneous resources. To this end, we present our Code Bubbling Offload System (CoBOS) that targets n-tier environments containing highly distributed heterogeneous resources with different performance characteristics and cost implications. In such n-tier environments, it is very costly for a resource-constrained mobile device to gather a global view on available resources, why we propose the novel concept of code bubbling. Code bubbling moves code dynamically and adaptively toward more powerful and more distant tiers, enabling an efficient and scalable code offloading in n-tier environments. Each tier makes autonomous decisions to execute code in the tier or forward it further to the next tier. To support such a recursive escalation of code along autonomous tiers, CoBOS offloads self-contained offload requests that possess all information required for a decision-making and processing. Our real-world evaluation shows that CoBOS decreases execution time by 83% and energy consumption by 77% for code offloading in n-tier environments.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1

Similar content being viewed by others

Notes

  1. https://www.nist.gov/node/555116?pub_id=919061

  2. https://github.com/duerrfk/rpi-powermeter

References

  1. Bonomi F, Milito R, Zhu J, Addepalli S (2012) Fog computing and its role in the internet of things. In: Proceedings of the 1st MCC Workshop on Mobile Cloud Computing, MCC’12

  2. Cheng Z, Li P, Wang J, Guo S (2015) Just-in-time code offloading for wearable computing. IEEE Trans on Emerging Topics in Computing 3(1):74–83

    Article  Google Scholar 

  3. Chun BG, Ihm S, Maniatis P, Naik M, Patti A (2011) CloneCloud: Elastic execution between mobile device and cloud. In: Proceedings of the 6th Conference Computer Systems, EuroSys’11

  4. Cuervo E, Balasubramanian A, Cho D, Wolman A, Saroiu S, Chandra R, Bahl P (2010) MAUI: Making smartphones last longer with code offload. In: Proceedings of the 8th International Conference Mobile Systems, Applications, and Services, MobiSys’10

  5. Flinn J, SoYoung P, Satyanarayanan M (2002) Balancing performance, energy, and quality in pervasive computing. In: Proceedings of the 22nd International Conference Distributed Computing Systems, ICDCS’02

  6. Giurgiu I, Riva O, Alonso G (2012) Dynamic software deployment from clouds to mobile devices. In: Proceedings of the 13th International Middleware Conference

    Google Scholar 

  7. Kosta S, Aucinas A, Hui P, Mortier R, Zhang X (2012) ThinkAir: Dynamic resource allocation and parallel execution in the cloud for mobile code offloading. In: Proceedings of the IEEE INFOCOM

  8. Kristensen MD (2010) Scavenger: Transparent development of efficient cyber foraging applications. In: Proceedings of the International Conference Pervasive Computing and Communications, PerCom’10

  9. Matsunaga A, Fortes J (2010) On the use of machine learning to predict the time and resources consumed by applications. In: Proceedings of the 10th International Conference Cluster, Cloud and Grid Computing

  10. Satyanarayanan M, Bahl P, Cáceres R, Davies N (2009) The case for VM-based cloudlets in mobile computing. Pervasive Comput, IEEE 8(4):14–23

    Article  Google Scholar 

  11. Sekar K (2013) Power and thermal challenges in mobile devices. In: Proceedings of the 19th International Conference Mobile Computing and Networking, MobiCom’13

  12. Shi C, Habak K, Pandurangan P, Ammar M, Naik M, Zegura E (2014) COSMOS: Computation Offloading As a Service for Mobile Devices. In: Proceedings of the 15th ACM International Symposium on Mobile Ad Hoc Networking and Computing, MobiHoc’14

  13. Verbelen T, Simoens P, Turck FD, Dhoedt B (2012) Cloudlets: Bringing the Cloud to the Mobile User. In: Proceedings of the 3rd ACM Workshop on Mobile Cloud Computing and Services, MCS’12

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Florian Berg.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Berg, F., Dürr, F. & Rothermel, K. Increasing the Efficiency of Code Offloading in n-tier Environments with Code Bubbling. Mobile Netw Appl 23, 1364–1375 (2018). https://doi.org/10.1007/s11036-018-1010-6

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11036-018-1010-6

Keywords

Navigation