OCRA: Offloading of Code of Recursive Algorithm from Smartphone to Cloud to Enhance Performance

Jump To References Section

Authors

  • Department of Computer Science and Engineering, RCCIIT, Kolkata – 700015, West Bengal ,IN
  • Department of Computer Science and Engineering, RCCIIT, Kolkata – 700015, West Bengal ,IN
  • Department of Computer Science and Engineering, RCCIIT, Kolkata – 700015, West Bengal ,IN
  • Department of Computer Science and Engineering, RCCIIT, Kolkata – 700015, West Bengal ,IN

Keywords:

Cloud Computing, JVM, Network Monitoring, Smart Phone.

Abstract

Developments in mobile computing have changed user preference for computing in modern era. However, Smartphones have limited resources - smaller memory and cache, less powerful processors, limited screen size, etc. Therefore, it take too much time for computational intensive jobs. One way of improving performance of Smartphones is to offload its computation intensive tasks to more powerful servers, keeping the GUI to the phones9,10. As the Smartphone and the backend server have different Software and Hardware Architectures and different Memory address Space, to migrate an executing process we need to clone the Stack, Heap and Process Control Block. In case of Recursive algorithms, additionally, we need to migrate the Data and the Control Stacks. A network monitor should check the network condition and take a decision dynamically for offloading. This paper introduces a system prototype named OCRA that shows such an offloading scheme using the Tower of Hanoi (TOH)8 as an example. The Smartphone is connected to the server through Wi-Fi. The system can perform multiple back and forth offloading between the server and the Smartphone. The system uses URLClass Loader3 to load the TOH class once into the JVM from Network at the beginning of the offload and uses Java Reflection API4.5 to instantiate and dynamically invoke the Tower of Hanoi methods by examining Stack Object. The system was tested and achieved more than 50% improvement in performance for higher values of N (no. of disks) as compared to execution on Smartphone alone.

Downloads

Published

2024-10-18

How to Cite

Mandal, D., Dey, K., Ghosh, D., & Saha, D. (2024). OCRA: Offloading of Code of Recursive Algorithm from Smartphone to Cloud to Enhance Performance. Conference Proceedings, 112–118. Retrieved from https://informaticsjournals.co.in/index.php/conference/article/view/46532