Documente Academic
Documente Profesional
Documente Cultură
AbstractMobile cloud computing (MCC) has drawn significant research attention as the popularity and capability of
mobile devices have been improved in recent years. In this paper,
we propose a prototype MCC ofoading system that considers
multiple cloud resources such as mobile ad-hoc network, cloudlet
and public clouds to provide a adaptive MCC service. We
propose a context-aware ofoading decision algorithm aiming
to provide code ofoading decisions at runtime on selecting
wireless medium and which potential cloud resources as the
ofoading location based on the device context. We also conduct
real experiments on the implemented system to evaluate the
performance of the algorithm. Results indicate the system and
embedded decision algorithm can select suitable wireless medium
and cloud resources based on different context of the mobile
devices, and achieve signicant performance improvement.
I. I NTRODUCTION
In recent years, mobile devices such as smart phones and
tablets have been upgraded into more powerful terminals
with faster CPU, substantial memory, and multiple sensors.
However, the battery lifetime is still a major concern of the
modern mobile devices. From the users perspective, they need
better performance of their mobile devices, which reects on
longer battery life and shorter processing time of any kind of
services. To overcome this obstacle, mobile cloud computing
[1] is introduced.
Mobile cloud computing (MCC) provides services by bringing the abundant resources in cloud computing [2] to the
proximity of mobile devices so as to empower the mobile
applications performance and conserve the battery life. One
of the techniques adopted in mobile cloud computing is code
ofoading [3]. It identies the computing intensive code of a
mobile program and ofoads the task to a cloud service via
wireless networks. In the concept of code ofoading, cloud
resources used for ofoading have many different types. First
and the most common resource is public cloud computing services like Amazon, Google and Microsoft Azure that provide
pay-as-you-go services over the Internet. Secondly, a nearby
server named cloudlet [4] is considered as cloud resource
with fast network connection as well as powerful processors.
Cloudlet serves as a middle layer between mobile devices
and public cloud services to reduce the network delay and
accelerates the computing. Third, a local mobile device ad2159-6190/15 $31.00 2015 IEEE
DOI 10.1109/CLOUD.2015.119
869
870
Table I
N OTATION
Symbol
Description
ti
si
wi
vh
V
cpu
ri
i
M
mk
Pn
n
T
1 , 2 , 3
d
Bchannel
P (ti )
D(ti )
E(ti )
Echannel
channel
tail
Ttail
871
Then the task that has the smallest MCT is selected and
assigned to that machine, and it is removed from T, and the
iterations repeat until all tasks are mapped (i.e., T is empty).
Let Bchannel denote the channel data rate, ti = si , wi
denote the task where si is the data need to be transferred
and wi is the workload. The channel energy consumption for
transferring data is given as:
si
Echannel (si , Bchannel ) = channel (
+
Bchannel
(4)
sresult
) + tail Ttail
Bchannel
where channel is the power consumption rate related to the
transferring time and tail is the wireless channel tail time
power consumption rate. Let Mk = k , rk denote the device
property information where i is the CPU speed and rk is the
time for transferring data. Tk = (ti |1 i n) denotes tasks
scheduled to device k. Then the overall execution cost on the
MANET is as follows:
n
wi
CM AN ET = 1 max(
+ rk )+
kM
k
i=1 k
(5)
h
Echannel (sj , Bchannel )
2 d
i=1
j=1
where the rst half represents EFT and the second half
represents the overall data transfer energy consumption.
2) Cloud VM cost model: Similar as the MANET cost
model, let T = {ti | 1 i n } denote a set of n independent
tasks, V = {vj | 1 j m } be a set of remote servers,
where vi = cpu , util , ri , vi V . cpu is the CPU speed
of remote servers, util is the CPU usage, and ri is the RTT
between client and each remote server. Since we assume all
the VMs are homogeneous in this model, the tasks are mapped
to the servers evenly. The cloud VM cost model is as follows:
n
n
n
j=1 wj
j=1 sj
j=1 sj result
+
+
)
Ccloud = 1 max(
iV m i i
Bchannel
Bchannel
h
Echannel (sj , Bchannel )
+2 d
(3)
(2)
j=1
(6)
872
Table II
IMPORTANCE SCALE AND DEFINITION
Denition
Intensity of importance
Equally important
Moderately more important
Strongly more important
Very strongly more important
Extremely more important
Intermediate
1
3
5
7
9
2,4,6,8
where the last part of the model represent the monetary cost of
using wireless channel and public cloud services. This depends
on the type of services used in practice.
For local cost estimation, we use a history data strategy to
reduce the overhead. The local execution time of a method
and energy consumption incurred by the device is stored in
the database and applied later to the general cost model for
comparison. The estimation costs are then used as the input
of the decision making algorithm.
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
873
(9)
Table III
WORKLOAD FOR THE EXPERIMENTS
Workload
Average
data size(byte)
Average
VM instructions (MI)
Number of tasks
S L
S H
B H
725
650
3000
5.8
24
29.5
500
500
500
Criteria
Weight
Power Consumption
Bandwidth
Cloud Resource Availability
Conjunction Level
Signal Strength
Cost
0.180
0.130
0.514
0.081
0.062
0.033
CR
0.052
A. Experiments Settings
To the best we know, there are no available workload
benchmarks that are suitable for our system. Thus, to get
874
Table V
P ROPORTION OF TASKS MAPPED IN EACH LOCATION UNDER DIFFERENT
POLICIES
Workload
Policy
Local
Manet
Cloudlet
Cloud
S L
T
E
TE
1
15.8
9.6
0
84.2
0
75.4
0
70.4
23.6
0
20
S H
T
E
TE
0
0
0
0
82.1
0
31.6
17.9
79.3
68.4
0
20.7
B H
T
E
TE
41.2
60.8
33.5
0
39.2
12.6
58.8
0
53.9
0
0
0
Figure 2. Total execution time for each workload under different policies
Table VI
C OMPARISON BETWEEN PROPOSED SYSTEM AND T HINK A IR
System
Execution Time(s)
Proposed
ThinkAir
841
1152
552
902
Figure 3. Total energy consumption for each workload under different policies
V. R ELATED W ORK
Many related works in code ofoading for MCC only considered architecture and ofoading decision between mobile
devices and public cloud services. Kosta et al.[7] proposed a
smartphone virtualization framework ThinkAir that provides
method-level computation ofoading to the cloud. ThinkAir
focuses on the ofoading between the mobile devices and
VM located in public cloud and the scalability of the cloud.
875
R EFERENCES
[1] Z. Sanaei, S. Abolfazli, A. Gani, and R. Buyya, Heterogeneity in mobile
cloud computing: taxonomy and open challenges, Communications
Surveys & Tutorials, IEEE, vol. 16, no. 1, pp. 369392, 2014.
[2] R. Buyya, C. S. Yeo, S. Venugopal, J. Broberg, and I. Brandic, Cloud
computing and emerging it platforms: Vision, hype, and reality for
delivering computing as the 5th utility, Future Generation computer
systems, vol. 25, no. 6, pp. 599616, 2009.
[3] E. Cuervo, A. Balasubramanian, D.-k. Cho, A. Wolman, S. Saroiu,
R. Chandra, and P. Bahl, Maui: Making smartphones last longer with
code ofoad, in Proceedings of the 8th International Conference on
Mobile Systems, Applications, and Services. New York, NY, USA:
ACM, 2010.
[4] M. Satyanarayanan, P. Bahl, R. Caceres, and N. Davies, The case for
vm-based cloudlets in mobile computing, Pervasive Computing, IEEE,
vol. 8, no. 4, pp. 1423, Oct 2009.
[5] M. Kristensen, Scavenger: Transparent development of efcient cyber
foraging applications, in Proceedings of 2010 IEEE International
Conference on Pervasive Computing and Communications, March 2010.
[6] B.-G. Chun, S. Ihm, P. Maniatis, M. Naik, and A. Patti, CloneCloud:
Elastic execution between mobile device and cloud, in Proceedings of
the Sixth Conference on Computer Systems. New York, NY, USA:
ACM, 2011.
[7] S. Kosta, A. Aucinas, P. Hui, R. Mortier, and X. Zhang, Thinkair:
Dynamic resource allocation and parallel execution in the cloud for
mobile code ofoading, in Proceedings of 31st IEEE International
Conference on Computer Communications, March 2012.
[8] M. S. Gordon, D. A. Jamshidi, S. Mahlke, Z. M. Mao, and X. Chen,
COMET: Code ofoad by migrating execution transparently, in Proceedings of the 10th USENIX conference on Operating Systems Design
and Implementation. Hollywood, CA: USENIX, 2012.
[9] G. Aggelou, Wireless Mesh Networking. McGraw-Hill Professional,
2008.
[10] D. Fesehaye, Y. Gao, K. Nahrstedt, and G. Wang, Impact of cloudlets
on interactive mobile cloud applications, in Proceedings of the 2012
IEEE 16th International Enterprise Distributed Object Computing Conference. IEEE, 2012, pp. 123132.
[11] S. Chen, Y. Wang, and M. Pedram, A semi-markovian decision process
based control method for ofoading tasks from mobile devices to
the cloud, in Proceedings of 2013 IEEE Global Communications
Conference, Dec 2013.
[12] T. D. Braun, H. J. Siegel et al., A comparison of eleven static heuristics
for mapping a class of independent tasks onto heterogeneous distributed
computing systems, Journal of Parallel and Distributed computing,
vol. 61, no. 6, pp. 810837, 2001.
[13] H. Wu, Q. Wang, and K. Wolter, Methods of cloud-path selection for
ofoading in mobile cloud computing systems, in Proceedings of 2012
IEEE 4th International Conference on Cloud Computing Technology and
Science, Dec 2012.
[14] L. Zhang, B. Tiwana, R. Dick, Z. Qian, Z. Mao, Z. Wang, and
L. Yang, Accurate online power estimation and automatic battery
behavior based power model generation for smartphones, in Proc.
of Hardware/Software Codesign and System Synthesis (CODES+ISSS),
2010 IEEE/ACM/IFIP International Conference on, Oct 2010, pp. 105
114.
[15] H. Flores, S. N. Srirama, and R. Buyya, Computational ofoading or
data binding? bridging the cloud infrastructure to the proximity of the
mobile user, in Proceedings of 2014 2nd IEEE International Conference
on Mobile Cloud Computing, Services, and Engineering. IEEE, 2014.
[16] A. Ravi and S. K. Peddoju, Handoff strategy for improving energy
efciency and cloud service availability for mobile devices, Wireless
Personal Communications, pp. 132, 2014.
[17] T.-Y. Lin, T.-A. Lin, C.-H. Hsu, and C.-T. King, Context-aware
decision engine for mobile cloud ofoading, in Proceedings of 2013
IEEE Wireless Communications and Networking Conference Workshops.
IEEE, 2013.
876