11
2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information. This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEE Transactions on Cloud Computing IEEE TRANSACTIONS ON CLOUD COMPUTING, MANUSCRIPT ID 1 Energy Efficient Dynamic Offloading in Mobile Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE , Yongchao Zhang, Xin Chen, Wen Wu, Student Member, IEEE and Xuemin (Sherman) Shen, Fellow, IEEE Abstract—With proliferation of computation-intensive Internet of Things (IoT) applications, the limited capacity of end devices can deteriorate service performance. To address this issue, computation tasks can be offloaded to the Mobile Edge Computing (MEC) for processing. However, it consumes considerable energy to transmit and process these tasks. In this paper, we study the energy efficient task offloading in MEC. Specifically, we formulate it as a stochastic optimization problem, with the objective of minimizing the energy consumption of task offloading while guaranteeing the average queue length. Solving this offloading optimization problem faces many technical challenges due to the uncertainty and dynamics of wireless channel state and task arrival process, and the large scale of solution space. To tackle these challenges, we apply stochastic optimization techniques to transform the original stochastic problem into a deterministic optimization problem, and propose an energy efficient dynamic offloading algorithm called EEDOA. EEDOA can be implemented in an online way to make the task offloading decisions with polynomial time complexity. Theoretical analysis is given to demonstrate that EEDOA can approximate the minimal transmission energy consumption while still bounding the queue length. Experiments results are presented which shows the EEDOA’s effectiveness. Index Terms—Internet of Things; Mobile Edge Computing; Energy Efficient Offloading; Dynamic Offloading 1 I NTRODUCTION With the prosperous development of Internet of Things (IoT), the number of computation-intensive applications running on the IoT devices becomes ever- increasing [1], [2]. These computation-intensive appli- cations typically require powerful computing ability and incurs high energy consumption to process them locally on the devices, whereas the computing and battery capacities of the IoT devices are limited. To tackle the challenge, the computation tasks can be offloaded from IoT devices to the cloud with powerful computing capacity for processing. As a promising technology, mobile edge computing (MEC) is intro- duced to provide computing service at the network edge. Unlike the conventional cloud computing which is remote from the IoT devices, MEC can be deployed at the radio access point such as a base station. MEC can help reduce the traffic of core network and the service latency [3]. The IoT devices can get better computing service and prolong the battery life by of- floading the computation tasks [4]. Therefore, the task offloading in MEC for IoT has attracted significant attention from both industry and academia [5], [6]. Ying Chen, Yongchao Zhang and Xin Chen are with the Computer School, Beijing Information Science and Technology University (BIS- TU), Beijing 100101, China. (E-mail: [email protected], zhangy- [email protected], [email protected]) Ning Zhang is with Texas A&M University-Corpus Christi, USA. (E-mail: [email protected]) Wen Wu and Xuemin (Sherman) Shen are with University of Waterloo, Canada. (E-mail: [email protected], [email protected]) Computation offloading from the IoT devices to MEC incurs high energy consumption which accounts for a significant portion of the device’s total energy consumption [7], [8]. In IoTs, the energy consumption for transmission of each device is greatly affected by the wireless channel state. When the channel condition is better, the transmission rate would be higher, and it needs less time to transmit data, thus reducing the transmission energy consumption. On the contrary, when the channel condition is worse, more energy would be consumed to transmit the same amount of data. Thus, the IoT devices’ transmission energy consumption could be reduced by postponing task offloading until the wireless channel becomes better. However, the IoT devices’ queue lengths would become large and even unstable [9]. Therefore, it is critical to design an effective task offloading strategy which could optimize the energy efficiency while providing performance guarantees for the IoT devices. It faces several challenges to design such an ef- fective offloading strategy. Firstly, the quality of the wireless channel is dynamic and changeable over time. It can be affected by not only the locations of IoT devices, but also other factors like network conges- tion, fading, etc [10]. Moreover, the time-varying chan- nel state is hard to be predicted exactly in practice. Besides, the task arrival process of each IoT device is also hard to obtain. Therefore, it is of great challenge to design an offloading strategy which could adapt to the dynamics of channel condition and task arrival. Secondly, as the IoT devices’ number rises rapidly, the scale of the energy efficient dynamic offloading

Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

IEEE TRANSACTIONS ON CLOUD COMPUTING, MANUSCRIPT ID 1

Energy Efficient Dynamic Offloading in MobileEdge Computing for Internet of Things

Ying Chen, Ning Zhang, Member, IEEE , Yongchao Zhang, Xin Chen, Wen Wu, StudentMember, IEEE and Xuemin (Sherman) Shen, Fellow, IEEE

Abstract—With proliferation of computation-intensive Internet of Things (IoT) applications, the limited capacity of end devicescan deteriorate service performance. To address this issue, computation tasks can be offloaded to the Mobile Edge Computing(MEC) for processing. However, it consumes considerable energy to transmit and process these tasks. In this paper, we studythe energy efficient task offloading in MEC. Specifically, we formulate it as a stochastic optimization problem, with the objectiveof minimizing the energy consumption of task offloading while guaranteeing the average queue length. Solving this offloadingoptimization problem faces many technical challenges due to the uncertainty and dynamics of wireless channel state and taskarrival process, and the large scale of solution space. To tackle these challenges, we apply stochastic optimization techniquesto transform the original stochastic problem into a deterministic optimization problem, and propose an energy efficient dynamicoffloading algorithm called EEDOA. EEDOA can be implemented in an online way to make the task offloading decisions withpolynomial time complexity. Theoretical analysis is given to demonstrate that EEDOA can approximate the minimal transmissionenergy consumption while still bounding the queue length. Experiments results are presented which shows the EEDOA’seffectiveness.

Index Terms—Internet of Things; Mobile Edge Computing; Energy Efficient Offloading; Dynamic Offloading

F

1 INTRODUCTION

With the prosperous development of Internet ofThings (IoT), the number of computation-intensiveapplications running on the IoT devices becomes ever-increasing [1], [2]. These computation-intensive appli-cations typically require powerful computing abilityand incurs high energy consumption to process themlocally on the devices, whereas the computing andbattery capacities of the IoT devices are limited. Totackle the challenge, the computation tasks can beoffloaded from IoT devices to the cloud with powerfulcomputing capacity for processing. As a promisingtechnology, mobile edge computing (MEC) is intro-duced to provide computing service at the networkedge. Unlike the conventional cloud computing whichis remote from the IoT devices, MEC can be deployedat the radio access point such as a base station. MECcan help reduce the traffic of core network and theservice latency [3]. The IoT devices can get bettercomputing service and prolong the battery life by of-floading the computation tasks [4]. Therefore, the taskoffloading in MEC for IoT has attracted significantattention from both industry and academia [5], [6].

• Ying Chen, Yongchao Zhang and Xin Chen are with the ComputerSchool, Beijing Information Science and Technology University (BIS-TU), Beijing 100101, China. (E-mail: [email protected], [email protected], [email protected])

• Ning Zhang is with Texas A&M University-Corpus Christi, USA.(E-mail: [email protected])

• Wen Wu and Xuemin (Sherman) Shen are with University of Waterloo,Canada. (E-mail: [email protected], [email protected])

Computation offloading from the IoT devices toMEC incurs high energy consumption which accountsfor a significant portion of the device’s total energyconsumption [7], [8]. In IoTs, the energy consumptionfor transmission of each device is greatly affectedby the wireless channel state. When the channelcondition is better, the transmission rate would behigher, and it needs less time to transmit data, thusreducing the transmission energy consumption. Onthe contrary, when the channel condition is worse,more energy would be consumed to transmit the sameamount of data. Thus, the IoT devices’ transmissionenergy consumption could be reduced by postponingtask offloading until the wireless channel becomesbetter. However, the IoT devices’ queue lengths wouldbecome large and even unstable [9]. Therefore, it iscritical to design an effective task offloading strategywhich could optimize the energy efficiency whileproviding performance guarantees for the IoT devices.

It faces several challenges to design such an ef-fective offloading strategy. Firstly, the quality of thewireless channel is dynamic and changeable overtime. It can be affected by not only the locations of IoTdevices, but also other factors like network conges-tion, fading, etc [10]. Moreover, the time-varying chan-nel state is hard to be predicted exactly in practice.Besides, the task arrival process of each IoT device isalso hard to obtain. Therefore, it is of great challengeto design an offloading strategy which could adapt tothe dynamics of channel condition and task arrival.Secondly, as the IoT devices’ number rises rapidly,the scale of the energy efficient dynamic offloading

Page 2: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

2 IEEE TRANSACTIONS ON CLOUD COMPUTING, MANUSCRIPT ID

problem would be huge [11]. Thus, it is vital to designa low-complexity and efficient offloading algorithm toaddress this issue.

This article focuses on the energy efficient dynam-ic offloading problem in MEC for IoT. A stochasticoptimization problem is formulated aiming at mini-mizing the average transmission energy consumptionand guaranteeing the devices’ performance. By tak-ing advantage of stochastic optimization techniques,we design an energy efficient dynamic offloadingalgorithm (EEDOA) to solve this problem. EEDOAdynamically makes offloading decisions without anystatistics of channel condition or task arrival process,and it balances the energy efficiency and queue lengthby setting a parameter V . Mathematical analysis isgiven which demonstrates that the time complexityof EEDOA is polynomial. In addition, EEDOA canapproximate the optimal transmission energy con-sumption while still guaranteeing the upper bound ofqueue length. Experiment results show the EEDOA’seffectiveness.

For the rest of this article, we present related workin Sec. 2. System model and energy efficient offloadingoptimization problem are presented in Sec. 3. In Sec. 4,EEDOA is proposed to solve this optimization prob-lem effectively. Sec. 5 gives the performance analysisfor EEDOA. In Sec. 6, experiments are conducted toevaluate EEDOA. This article is concluded in Sec. 7.

2 RELATED WORK

There had been some works about the computationoffloading in MEC. Munoz et al. [11] focused on afemto-cloud system and presented an optimal com-putation and radio resources allocation strategy tooptimize the energy consumption and latency concur-rently. Wang et al. [12] focused on the energy savingproblem in cloud radio access network, and formu-lated a non-convex energy minimization optimizationproblem. Then, an iterative algorithm was designedto solve this problem. Chen et al. [13] proposed adistributed algorithm by taking advantage of gametheory for the computation offloading problem.

Yu et al. [14] studied the computing and radioresources allocation strategy for the MEC system,where multiple devices accessed the MEC by Orthog-onal Frequency-Division Multiplexing Access. Theyproposed an allocation algorithm which could saveenergy and offload more computing tasks at the sametime. Lyu et al. [15] focused on the task offloadingin proximate cloud, and formulated a frameworkto optimize the system utility. The NP-hard of theproposed utility optimization problem was proven,and a heuristic algorithm was given. You et al. [16]considered the case that the wireless energy transferpowered the mobile cloud computing, and formulatedan energy efficient framework to maximize the com-puting probability with the constraints of energy and

delay. Most of these researches were based on theprediction or assumption of task arrival or channelstate. However, the offloading traffic of IoT devicesand the wireless channels’ quality are highly dynamicand hard to predict exactly.

To deal with this challenge, some stochastic op-timization techniques have been applied in recentworks. Mao et al. [17] investigated the computing of-floading in the energy harvesting devices, and devisedan algorithm to reach the minimal execution cost. Lyuet al. [18] studied the cooperation offloading of severalselfish devices, and proposed a distributed algorithmwith the low time complexity to optimize the energyconsumption. Kwak et al. [19] focused on computingoffloading for various applications in single-user MECsystem, and designed a dynamic algorithm whichcould satisfy the delay constraints and minimize theenergy consumption. Jiang et al. [20] investigated thescheduling scheme for one multi-core mobile device,and designed an algorithm to optimizae the ener-gy consumption while stabilizing the queue. Theseworks mainly focused on single-user system. It ismore challengeable to design offloading strategy formulti-user system. Furthermore, as the IoT devices’number increases rapidly, a low-complexity algorithmis critical for the task offloading in multi-user system.

Lyu et al. [21] focused on the task scheduling prob-lem to maximize the system utility, and designed anoptimal scheme which could decrease the feedbacksfrom IoT devices. Mao et al. [22] focused on theresource management in multi-user MEC system, andbuilt one optimization model to optimize the powerwhile stabilizing the queue. However, these worksgave few insights on the impact of channel conditionon the devices’ energy consumption. To tackle theabove issues, we focus on the task offloading inmultiple users MEC system, and propose a stochasticenergy efficient optimization framework. And an ef-fective algorithm which requires no prior knowledgeabout the task arrival or channel state’s statisticalinformation is designed to solve this optimizationproblem.

3 SYSTEM MODEL AND PROBLEM FORMU-LATION

3.1 System ModelOne MEC system with a base station (BS) is consid-ered. The BS has a MEC server providing servicesto n IoT devices in proximity. IoT devices can accessthe MEC server through the wireless channels, andoffload the computation tasks for processing. By com-putation task offloading, the IoT devices can obtainbetter service and prolong the battery life. The set ofthe IoT devices is collected by I = {1, 2, · · · , n}, anda time-slotted system is considered, which is indexedby t ∈ {0, 1, · · · , T − 1} with slot length τ . Table 1gives the main notations.

Page 3: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

CHEN et al.: ENERGY EFFICIENT DYNAMIC OFFLOADING IN MOBILE EDGE COMPUTING FOR INTERNET OF THINGS 3

TABLE 1NOTATIONS AND DEFINITIONS

Notion DefinitionI IoT devices setτ Time slot lengthPi Transmit power of the IoT device iS(t) Number of available sub-channels in slot thi(t) Channel power gain for IoT device i on the

sub-channel in time slot tB Bandwidth of each sub-channelN0 Noise power spectral density

Ri(t) Task offloading rate of IoT device i in slot tκi(t) Offloading duration of IoT device i during slot te(t) Transmission energy consumption of all IoT devices

in slot tAi(t) Amount of computation tasks arrived at IoT device

i in slot tQi(t) Queue backlog of the IoT device i in slot tDi(t) Amount of computation tasks at IoT device i which

will be offloaded in slot t

3.2 Task Model and Offloading Model

For each IoT device i, let Ai(t) (in bits) represent theamount of arrived computation tasks. For generali-ty, these IoT devices are considered heterogeneous.Therefore, Ai(t) can be different among different IoTdevices. Note that we do not need any prior statisticinformation about Ai(t), which is also hard to beobtained in real-life systems. This makes our modelmore extensive and applicable.

Let S(t) denote the number of available uplinksub-channels. For generality, we consider S(t) can bedynamic over different time slots. For each IoT devicei, define Pi as its transmit power, and hi(t) as thechannel power gain in slot t [23]. Then, the achievabletask offloading rate (in bit/s) is denoted by Ri(t) asfollows,

Ri(t) = B log2(1 +Pihi(t)

BN0), (1)

where B is the sub-channel’s bandwidth, and N0 isthe noise power spectral density.

This article studies the task offloading for the IoTdevices in the MEC system. Define the task offloadingdecisions as κ(t) = {κ1(t), · · · , κn(t)}, where κi(t)denotes the offloading duration for IoT device i. Then,the available amount of computation tasks offloadedby device i is Di(t) = Riκi(t).

Each IoT device maintains a task buffer to store thearrived but not yet offloaded tasks. Let Qi(t) denotethe task buffer’s queue backlog at IoT device i. Sinceeach IoT device can not offload more than what it has,it should be satisfied that

κi(t) ≤Qi(t)

Ri(t), ∀i ∈ I. (2)

Consider each IoT device operates in narrow-band,thus it can only access a sub-channel at the same time[24]. Hence, it holds that

0 ≤ κi(t) ≤ τ, ∀i ∈ I. (3)

Together with (2) and (3), we can obtain that

0 ≤ κi(t) ≤ Ti(t), ∀i ∈ I, (4)

where Ti(t) = min{Qi(t)/Ri(t), τ}.Similar to [21], we consider that each sub-channel

can be accessed by the time division multiple access(TDMA), where a sub-channel can be accessed by dif-ferent devices at different times during one slot. More-over, a IoT device can access different sub-channelsat different times to offload computation tasks duringone slot [24]. Therefore, the total offloading durationof all the IoT devices must not exceed the time slotlength of all the available sub-channels, as describedin (5).

n∑i=1

κi(t) ≤ S(t)τ. (5)

3.3 Task Queuing Model

Recall that Qi(t) denotes the queue backlog of IoTdevice i, and Di(t) represents the amount of offloadedcomputation tasks in device i. Then, the queue back-log in the next slot, Qi(t+ 1), is,

Qi(t+ 1) = max{Qi(t)−Di(t), 0}+Ai(t). (6)

To reduce the queueing delay and maintain thequeue stability of these IoT devices, for each IoTdevice i, we bound its average queue backlog qi acrossthe time slots, which is,

qi = limT→∞

1

T

T−1∑t=0

E{Qi(t)} < ε,∃ ε ∈ R+. (7)

3.4 Energy Model

For each IoT device i ∈ I , the energy consumptionfor transmission hinges on the transmit power andoffloading duration, i.e., ei(t) = Piκi(t). Thus, the en-ergy consumed by all the IoT devices for transmissionis,

e(t) =

n∑i=1

Piκi(t). (8)

As the wireless channels’ qualities are dynamic andchange over different time slots, the task offloadingspeed and energy consumption for transmission dur-ing one slot also vary across time. Thus, we target atthe average transmission energy consumption in longtime scale which is expressed in (9).

e = limT→∞

1

T

T−1∑t=0

E{e(t)}. (9)

Page 4: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

4 IEEE TRANSACTIONS ON CLOUD COMPUTING, MANUSCRIPT ID

3.5 Optimization Problem

When the wireless channels are under better condi-tion, the transmission speed could be larger. Thus, itis preferred to transmitting offloadable tasks when thewireless channels are better so as to reduce the overalltransmission duration and the energy consumption.However, if we do not offload the tasks until thewireless channels become good enough, the queuebacklog of the IoT devices might become very largeand the IoT devices might be unstable. Therefore, wecan see that tradeoff exists between the transmissionenergy consumption and queue backlog. In this arti-cle, a unified optimization problem is formulated forthe computation offloading in IoT devices, which aimsat minimizing average transmission energy consump-tion while guranteeing the average queueing lantency.

minκ(t)

e = limT→∞

1

T

T−1∑t=0

E{e(t)} (10)

s.t. (4), (5) and (7).

Remark: Problem (10) is a stochastic optimizationproblem as the computation task arrivals and thewireless channel conditions vary across time random-ly. Since the statistical information is generally hardto be acquired or predicted accurately in real systems,it is of great challenge to solve Problem (10) offline.Moreover, as the IoT devices’ number rises rapidly,the solution space is increasing dramatically. How tosolve the problem efficiently with low complexity isalso very challenging. To attack the above challenges,an online task offloading algorithm is proposed whichhas no requirements on the statistical information ofcomputation task arrivals or channel conditions, inSec 4.

4 ENERGY EFFICIENT DYNAMIC OFFLOAD-ING ALGORITHM DESIGN

In this section, taking advantage of Lyapunov opti-mization techniques [25], an energy efficient dynamicoffloading algorithm called EEDOA is designed tosolve Problem (10). By dynamically making the of-floading decisions, EEDOA can achieve the tradeoffbetween the transmission energy consumption andqueue backlog, and arbitrarily approximate the op-timal transmission energy consumption while stabi-lizing the IoT devices.

4.1 Problem Transformation

We define Θ(t) as the queue backlog matrix of theIoT devices, i.e., Θ(t) = (Qi(t)). Let L(Θ(t)) denotethe Lyapunov function, which is,

L(Θ(t)) =1

2

n∑i=1

Q2i (t). (11)

In (11), L(Θ(t)) indicates the IoT devices’ queue back-log state. A large L(Θ(t)) implies that at least a IoTdevice’s queue backlog is large. If and only if thequeue backlog of each IoT device is small, L(Θ(t))would be small. Thus, we seek to reduce the value ofL(Θ(t)) to maintain a low congestion state of the IoTdevices. Define conditional Lyapunov drift as ∆(Θ(t)) in(12).

∆(Θ(t)) = E{L(Θ(t+ 1))− L(Θ(t))|Θ(t)}. (12)

Recall that this article minimizes the transmissionenergy consumption and guarantees the IoT devices’queue backlog. Following Lyapunov optimizationtheory, combining transmission energy consumptionwith queue backlog, the drift plus energy is,

∆(Θ(t)) + VE{e(t)|Θ(t)}. (13)

In (13), V ≥ 0 is a tradeoff parameter between thetransmission energy consumption and queue backlog.Particularly, a large V indicates that more weight isput on transmission energy consumption.

Next, the drift plus energy’s upper bound is givenby Theorem 1.

THEOREM 1: In slot t, if Ai(t) and Ri(t) are upperbounded by Amax

i and Rmaxi over the time slots, the

drift plus energy with any task offloading algorithmsatisfies,

∆(Θ(t))+VE{e(t)|Θ(t)} ≤ C

+∑i∈I

Qi(t)E{Ai(t)−Ri(t)κi(t)|Θ(t)}

+ V∑i∈I

E{Piκi(t)|Θ(t)},(14)

where C = 12 [∑

i∈I(Amaxi )2 +

∑i∈I(R

maxi τ)2] is a

constant.Proof: Taking square on (6) and exploiting

(max[a − b, 0])2 ≤ a2 + b2 − 2ab for any a, b ≥ 0, wecan obtain (15).

Q2i (t+ 1) ≤ Q2

i (t) +D2i (t) +Ai(t)

2 − 2Qi(t)Di(t)

+ 2Ai(t)max[Qi(t)−Di(t), 0].(15)

Let Di(t) represent the actual amount of compu-tation tasks offloaded from IoT device i. Thus, (16)holds.

Di(t) =

{Qi(t), Qi(t) ≤ Di(t)

Di(t), otherwise.(16)

So it holds that max[Qi(t) −Di(t), 0] = Qi(t) − Di(t).And we can rewrite (15) as,

Q2i (t+ 1) ≤ Q2

i (t) +D2i (t) +A2

i (t)

+ 2Qi(t)[Ai(t)−Di(t)]− 2Di(t)Ai(t).(17)

Since Di(t) and Ai(t) are non-negative, it holds (18).

1

2[Q2

i (t+ 1)−Q2i (t)] ≤

1

2[A2

i (t) +D2i (t)]

+Qi(t)[Ai(t)−Di(t)].(18)

Page 5: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

CHEN et al.: ENERGY EFFICIENT DYNAMIC OFFLOADING IN MOBILE EDGE COMPUTING FOR INTERNET OF THINGS 5

Summing over all the devices on (18) and takingconditional expectations, (19) holds.

∆(Θ(t)) ≤1

2

∑i∈I

E{A2i (t) +D2

i (t)|Θ(t)}

+∑i∈I

Qi(t)E{Ai(t)−Di(t)|Θ(t)}.(19)

Since for any i ∈ I , there holds that Ri(t) ≤ Rmaxi

and κi(t) ≤ τ , we obtain

Di(t) = Riκi(t) ≤ Rmaxi τ. (20)

According to (20) and Ai(t) ≤ Amaxi , (21) can be

obtained.∑i∈I

E{A2i (t)+D2

i (t)|Θ(t)} ≤∑i∈I

[(Amaxi )2 +(Rmax

i τ)2].

(21)Let C equal to 1

2

∑i∈I [(A

maxi )2+(Rmax

i τ)2], and addVE{e(t)|Θ(t)} to (19). Thus,

∆(Θ(t)) + VE{e(t)|Θ(t)} ≤ C + VE{e(t)|Θ(t)}

+∑i∈I

Qi(t)E{Ai(t)−Di(t)|Θ(t)}. (22)

Substituting (8) into (22), it yields (14).

4.2 Energy Efficient Dynamic Offloading Algorith-mIn this subsection, we minimize the drift plus energy’supper bound, and devise an optimal algorithm, EE-DOA. By minimizing the upper bound in each timeslot, EEDOA can effectively reduce the average energyconsumption for transmission and maintain the queuebacklog of each IoT device at a low level.

In each time slot, EEDOA makes the offloadingdecisions κ(t) to minimize the the drift plus energy’supper bound, expressed by,

minκ(t)

{C +∑i∈I

Qi(t)[Ai(t)−Ri(t)κi(t)] + V∑i∈I

Piκi(t)}.

(23)s.t. (4), (5).

Since C and Ai(t) are constant in each slot t, (23)can be reduced to (24).

minκ(t)

∑i∈I

[V Pi −Qi(t)Ri(t)]κi(t). (24)

Transforming the above minimization problem tothe maximization problem, we have (25).

maxκ(t)

∑i∈I

ωi(t)κi(t) (25)

s.t. (4), (5),

where ωi(t) = Qi(t)Ri(t)− V Pi.Problem (25) can be regarded as the linear relax-

ation of a knapsack problem. S(t)τ is the capacityof the knapsack, and ωi(t) can be considered as theitem’s unit value. Hence, for this linear relaxation

Algorithm 1 Energy Efficient Dynamic OffloadingAlgorithm (EEDOA)

1: for all i ∈ I do2: Calculate the Ri(t), Ti(t) and ωi(t).3: end for4: Sort all the devices i in the descending order of

ωi(t).5: Set the index χ according to (26).6: for all i ∈ I do7: Set the offloading decision κi(t) according to

(29).8: end for

knapsack problem, the optimal solution is to selectthe item with highest non-negative ωi(t) to fulfill theknapsack [26]. Therefore, we sort the IoT devices inthe descending order of ωi(t), where ωi(t) ≥ ωi+1(t).The devices with larger values of ωi(t) have higheroffloading priorities, and are filled into the knapsackprior to other devices. Then, the interruption condi-tion of the knapsack filling process is that the residualcapacity of the knapsack is empty or the unit valueof the selected item is negative. Therefore, the indexof interruption item χ can be derived as follows,

χ = min{χ1, χ2}, (26)

where

χ1 = arg mini

i∑j=1

Ti(t) > S(t)τ, (27)

χ2 = arg maxi

ωi(t) ≥ 0. (28)

Thus, we can obtain the optimal offloading deci-sions κ∗(t),

κ∗i (t) =

Ti(t), i < χ

min{S(t)τ −∑χ−1

i=1 Ti(t), Tχ(t)}, i = χ

0, i > χ.(29)

Remark: Recall that there exists tradeoff betweentransmission energy efficiency and queue backlog. Foreach IoT device i, combining its transmission energyconsumption and queue length, EEDOA defines ωi(t)as its unit offloading profit. ωi(t) hinges on the currentqueue backlog and channel condition, as well asvaries with time. In each time slot t, by selecting theIoT devices with higher non-negative ωi(t) to offloadtasks, EEDOA maximizes the overall offloading profitfor all the IoT devices. As a result, EEDOA can reduceboth transmission energy consumption and queuelength effectively. In addition, according to the defini-tion of ωi(t), EEDOA can achieve the tradeoff betweenqueue backlog and transmission energy consumptionarbitrarily by adjusting V .

Algorithm 1 presents the details of the EEDOAalgorithm.

Page 6: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

6 IEEE TRANSACTIONS ON CLOUD COMPUTING, MANUSCRIPT ID

5 ALGORITHM ANALYSIS FOR EEDOA

We first analyze the EEDOA’s performance throughmathematical analysis, then give the time complexityof EEDOA.

Define Q as the time-average queue backlog of theIoT devices, expressed in (30).

Q = limT→∞

1

T

T−1∑t=0

n∑i=1

E{Qi(t)}. (30)

To derive the upper bounds of e and Q, we presentthat there exists an optimal strategy which is indepen-dent of the queue length, and makes the offloadingdecisions κ(t) following some fixed probability dis-tribution, and can optimize the transmission energyefficiency. The details are given in Lemma 1.

LEMMA 1: For any task arrival rate λ satisfyingλ ∈ Λ, a task offloading strategy π∗ exists, which doesnot depend on the current queue length and satisfies,

E{eπ∗(t)} = e∗(λ);

E{Ai(t)} ≤ E{Ri(t)κπ∗

i (t)},

where Λ represents the system capacity, and e∗(λ)represents the optimal transmission energy consump-tion with λ.

Proof: Caratheodory’s theorem can be used toprove Lemma 1 [25]. For the sake of readability, thedetailed proofs are omitted here.

Recall that the task arrival rate Ai(t) of each IoTdevice is upper bounded by Amax

i . Thus, the energyconsumption for transmission would be upper bound-ed by a finite value e and lower bounded by a finitevalue e. Then, by applying Lemma 1, Theorem 2 givesthe average transmission energy consumption’s upperbound and queue length’s upper bound.

THEOREM 2: Suppose there exists a positive ϵ sat-isfying λ + ϵ ∈ Λ. For the given V , the transmissionenergy consumption of EEDOA satisfies,

eEEDOA ≤ e∗ +C

V. (31)

In addition, the average queue length of EEDOA isalso upper bounded in (32).

Q ≤ C + V (e− e)

ϵ, (32)

where C is a constant given by Theorem 1, and e∗ rep-resents the optimal transmission energy consumptionwith λ.

Proof: According to Lemma 1, for the task arrivalrate λ + ϵ, a randomized policy π′ exists, whichsatisfies,

E{eπ′(t)} = e∗(λ+ ϵ); (33)

E{Ai(t)}+ ϵ ≤ E{Ri(t)κπ′

i (t)}. (34)

Since EEDOA minimizes (22)’s R.H.S., for the of-floading strategy π′, we can obtain that

∆(Θ(t)) + VE{e(t)|Θ(t)} ≤ C + VE{eπ′(t)|Θ(t)}

+∑i∈I

Qi(t)E{Ai(t)−Ri(t)κπ′

i (t)|Θ(t)}.

(35)

Plugging (33) and (34) into (35), it can be obtainedthat

∆(Θ(t))+VE{e(t)|Θ(t)} ≤ C+V e∗(λ+ϵ)−ϵ∑i∈I

Qi(t).

(36)Taking expectations on (36), and using iterated ex-

pectations, we can obtain

E{L(Θ(t+ 1))− L(Θ(t))}+ VE{e(t)}

≤ C + V e∗(λ+ ϵ)− ϵ∑i∈I

E{Qi(t)}. (37)

Summing (37) over the slots, it holds,

E{L(Θ(T ))} −E{L(Θ(0))}+ VT−1∑t=0

E{e(t)}

≤ CT + V Te∗(λ+ ϵ)− ϵ

T−1∑t=0

∑i∈I

E{Qi(t)}.(38)

For generality, consider that the queue lengths ofthe IoT devices are empty when t = 0. Thus, wecan obtain L(Θ(0)) = 0. Moreover, since it holds thatL(Θ(T )) ≥ 0, it holds,

V

T−1∑t=0

E{e(t)} ≤ CT+V Te∗(λ+ϵ)−ϵ

T−1∑t=0

∑i∈I

E{Qi(t)}.

(39)Since Qi(t) and ϵ are non-negative, we obtain (40).

VT−1∑t=0

E{e(t)} ≤ CT + V Te∗(λ+ ϵ). (40)

By dividing (40) by V T , it yields

1

T

T−1∑t=0

E{e(t)} ≤ C

V+ e∗(λ+ ϵ). (41)

Let ϵ → 0, T → ∞ and apply the Lebesgues dominat-ed convergence theorem, we obtain (31).

According to (39), we also obtain

ϵT−1∑t=0

∑i∈I

E{Qi(t)}

≤ CT + V Te∗(λ+ ϵ)− VT−1∑t=0

E{e(t)}

≤ CT + V T (e− e)

(42)

By dividing (42) by ϵT , and letting T → ∞, we obtain(32).

Page 7: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

CHEN et al.: ENERGY EFFICIENT DYNAMIC OFFLOADING IN MOBILE EDGE COMPUTING FOR INTERNET OF THINGS 7

Remark: (31) shows that transmission energy con-sumption’s upper bound decreases as V rises. How-ever, (32) shows that the queue length’s upper boundrises as V increases. Nevertheless, (7) is satisfied if ε isset as C+V (e−e)

ϵ . We use O(1/V ) to represent the upperbound of gap of energy consumption, and O(V ) torepresent the gap of queue length [21]. Combing(31) and (32), we can see that EEDOA achieves an[O(1/V ), O(V )] tradeoff between transmission energyefficiency and experience. By changing V , EEDOAcan realize different balances between energy con-sumption and queue backlog. Besides, Theorem 2also indicates that the minimal transmission energyconsumption can be approximated by EEDOA whileguaranteeing that all the devices are stable.

Next, we provide the time complexity analysis forEEDOA. According to Algorithm 1, for the two loops(line 1-3 and line 6-8), EEDOA traverses all the IoTdevices once. Thus, each loop terminates in O(n)operations, where n is the IoT devices’ number. Forline 4, the process of sorting devices takes O(n log n)operations with the quicksort algorithm. For line 7,it takes O(n) operations in the worst case. Thus, theEEDOA’s time complexity is O(n logn).

6 EVALUATION

This section demonstrates that EEDOA can adaptto various parameter changes. We also provide thecomparison experiments to show the EEDOA’s effec-tiveness.

In the experiments, we consider 100 IoT devicesoffloading computation tasks. The slot length τ = 1s. The offloadable task arriving rate and the channelstate are set to follow certain fixed statistical distri-butions. The amount of data arriving at IoT device iper second is set to be uniformed distributed within[0, 2200] bits, i.e., Ai(t) ∼ U [0, 2200] bits. For thewireless channel, a small-scale Rayleigh fading modelis adopted, and hi(t) is an exponential distributionwith the unit mean, i.e., hi(t) ∼ E(1) [22]. We set thenumber of available sub-channels as S(t) ∼ U [10, 30],and the transmit power of each IoT device as Pi ∼U [10, 200] mW [21]. Beside, B is set as 1 MHz andN0 is set as 10−6 W/Hz. To improve the reliabilityof the experiments, we run 3000 times for everysetting, and average the results. Note that althoughin the experiments, the offloadable task arrivals andchannel states are set according to fixed statisticaldistributions, EEDOA actually requires no statisticsfor the information in advance.

6.1 Parameter Analysis6.1.1 Effect of tradeoff parameterIn Fig. 1, we plot the transmission energy consump-tion and queue length with different V . Fig. 1(a)shows the relationship between the transmission ener-gy consumption and tradeoff parameter V . We can see

0 1 2 3 4 5 6 7 8 9 10

x 1011

0

0.1

0.2

0.3

0.4

0.5

V

Tra

nsm

issi

on e

nerg

y co

nsum

ptio

n

(a) Transmission energy consumption

0 1 2 3 4 5 6 7 8 9 10

x 1011

0.6

0.8

1

1.2

1.4

1.6

1.8x 10

8

V

Que

ue le

ngth

(b) Queue length

Fig. 1. Transmission energy consumption and queuelength with different values of V

that as V rises, the transmission energy consumptiondecreases, which conforms (31) in Theorem 2. Thereason is that a larger V means putting more weighton transmission energy consumption, and EEDOAwould dynamically adjust the offloading decision-s to reduce the transmission energy consumption.However, Fig. 1(b) shows that when V increases, thequeue length also rises. This phenomena conforms(32) in Theorem 2. Nevertheless, the queue lengthwould converge gradually with more increase of V ,demonstrating that EEDOA’s queue length would bebounded. From Fig. 1, it can be observed that byadjusting V , EEDOA can balance the transmissionenergy consumption and queue length. Besides, byincreasing the value of V sufficiently large, EEDOAcan approach the optimal energy consumption andstabilize all the IoT devices.

6.1.2 Effect of arrival rateIn Fig. 2, we plot the transmission energy consump-tion and queue length with different task arrival rates.The arrival rate for each IoT device is set as α ·Ai(t),where α = 0.8, 1 and 1.2, respectively. Fig. 2(a) illus-trates that the transmission energy consumption risesas the arrival rate rises. It is because as the arrival rate

Page 8: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

8 IEEE TRANSACTIONS ON CLOUD COMPUTING, MANUSCRIPT ID

0 500 1000 1500 2000 2500 30000.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

t

Tra

nsm

issi

on e

nerg

y co

nsum

ptio

n

α = 0.8α = 1α = 1.2

(a) Transmission energy consumption

0 500 1000 1500 2000 2500 30000

1

2

3

4

5

6

7x 10

5

t

Que

ue le

ngth

α = 0.8α = 1α = 1.2

(b) Queue length

Fig. 2. Transmission energy consumption and queuelength with different arrival rates

rises, the amount of computation tasks also increases.As a result, it would consume more energy to offloadthe computation tasks. Similarly, Fig. 2(b) shows thatthe queue length rises as arrival rate rises. In addition,we can see that with different arrival rates, both thetransmission energy consumption and queue lengthof EEDOA would converge quickly. This shows thatEEDOA can dynamically tune the offloading decisionsto adjust to the change of arrival rate, and make theIoT devices stable quickly.

6.1.3 Effect of transmit powerIn Fig. 3, we plot the transmission energy consump-tion and queue length with different Pi. For each IoTdevice, we set the transmit power as β · Pi, whereβ = 0.8, 1 and 1.2, respectively. Fig. 3(a) shows thatas the transmit power rises, the energy consumptionrises. It is because that with the rise of transmit power,the energy consumption of each IoT device for trans-mitting data would also increase. Consequently, theoverall transmission energy consumption of EEDOAwould rise. Fig. 3(b) shows that the queue length riseswith the increase of transmit power. The reason is thatwhen the transmit power increases, EEDOA wouldreduce the amount of computation tasks offloaded to

0 500 1000 1500 2000 2500 30000.7

0.8

0.9

1

1.1

1.2

1.3

1.4

1.5

t

Tra

nsm

issi

on e

nerg

y co

nsum

ptio

n

β = 0.8β = 1β = 1.2

(a) Transmission energy consumption

0 500 1000 1500 2000 2500 30003

3.1

3.2

3.3

3.4

3.5

3.6

3.7

3.8x 10

5

t

Que

ue le

ngth

β = 0.8β = 1β = 1.2

(b) Queue length

Fig. 3. Transmission energy consumption and queuelength with different transmit powers

decrease the transmission energy consumption, whichresults in the increase of queue length.

6.1.4 Effect of channel power gainFig. 4 plots the transmission energy consumption andqueue length with different channel power gains. Foreach IoT device, we set the channel power gain to bethe exponential distribution with the mean of γ · µ,where γ = 0.8, 1 and 1.2, respectively. Fig. 4(a) showsthat as channel power gain rises, the transmissionenergy consumption reduces. With the rise of channelpower gain, the offloading rate would increase, andthus, the transmission duration for offloading tasksdecreases. Consequently, the transmission energy con-sumption of EEDOA would also decrease. We can seethe similar phenomena in Fig. 4(b) that the queuelength decreases as channel power gain rises. The rea-son is that as the channel power gain and offloadingrate rise, the tasks offloaded would rise; therefore, thequeue length of EEDOA would decrease.

6.1.5 Effect of number of IoT devicesFig. 5 plots the transmission energy consumption andqueue length with different numbers of IoT devices.

Page 9: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

CHEN et al.: ENERGY EFFICIENT DYNAMIC OFFLOADING IN MOBILE EDGE COMPUTING FOR INTERNET OF THINGS 9

0 500 1000 1500 2000 2500 30001

1.05

1.1

1.15

1.2

1.25

1.3

1.35

1.4

t

Tra

nsm

issi

on e

nerg

y co

nsum

ptio

n

γ = 0.8γ = 1γ = 1.2

(a) Transmission energy consumption

0 500 1000 1500 2000 2500 30002.5

3

3.5

4x 10

5

t

Que

ue le

ngth

γ = 0.8γ = 1γ = 1.2

(b) Queue length

Fig. 4. Transmission energy consumption and queuelength with different channel power gains

The IoT devices’ number ranges from 70 to 110 withan increment of 10. From Fig. 5(a), we can see thatas IoT devices’ number rises, the transmission en-ergy consumption rises. It is because that when theIoT devices’ number rises, the amount of offloadedcomputation tasks also rises, which causes the rise ofthe transmission energy consumption. Fig. 5(b) showsthat as the IoT devices’ number rises, the total queuelength increases. The reason is that the amount ofoffloaded computation tasks would rise as the IoTdevices’ number rises. Only part of the increased com-putation tasks are offloaded, and the rest are stored inthe task buffer waiting for transmitting, which leadsto the increase of queue length.

6.2 Comparison Experiments

To further evaluate the EEDOA’s performance, wecompare EEDOA with two baseline algorithms:

• Equal allocation strategy: In slot t, the offloadingduration is allocated among all the IoT devicesequally.

• Queue-weighted strategy: In slot t, the offload-ing duration is allocated among the IoT devices

70 80 90 100 1100.8

1

1.2

1.4

1.6

1.8

2

The number of IoT devices

Tra

nsm

issi

on e

nerg

y co

nsum

ptio

n

(a) Transmission energy consumption

70 80 90 100 1100

0.5

1

1.5

2

2.5

3

3.5x 10

5

The number of IoT devices

Que

ue le

ngth

(b) Queue length

Fig. 5. Transmission energy consumption and queuelength with different numbers of IoT devices

according to their weighted queue length. Partic-ularly, IoT devices with larger queue length havehigher priorities, and the offloading durationsallocated to them are longer.

In Fig. 6, we plot the transmission energy con-sumption and queue length with different algorithms.Both the transmission energy consumption and queuelength of our EEDOA are the lowest. It is demon-strated that EEDOA can decrease the transmissionenergy consumption as well as the queue length ef-fectively. It is because EEDOA can dynamically makethe offloading decisions among the IoT devices toadapt to the channel dynamics and queue length.In addition, we can see that the transmission energyconsumption of Equal allocation strategy and Queue-weighted strategy is close; however, the queue lengthof Queue-weighted strategy is less than the Equalallocation strategy. The reason is that Queue-weightedstrategy allocates longer offloading durations to theIoT devices with larger queue length, reducing theoverall queue length of the IoT devices. Nevertheless,the Queue-weight strategy does not take into accountthe channel dynamics. Our EEDOA considers boththe dynamic channel states and the queue length

Page 10: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

10 IEEE TRANSACTIONS ON CLOUD COMPUTING, MANUSCRIPT ID

0 500 1000 1500 2000 2500 30000

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

t

Tra

nsm

issi

on e

nerg

y co

nsum

ptio

n

EEDOAEqual allocationQueue−weighted

(a) Transmission energy consumption

0 500 1000 1500 2000 2500 30000

1

2

3

4

5

6

7

8

9

10x 10

6

t

Que

ue le

ngth

EEDOAEqual allocationQueue−weighted

(b) Queue length

Fig. 6. Transmission energy consumption and queuelength with three different algorithms

information. Fig. 6 shows the superiority of EEDOAin reducing the transmission energy consumption aswell as the queue length effectively.

7 CONCLUSION

In this article, an online and polynomial-time-complexity algorithm EEDOA has been proposed foroffloading in MEC to approximate the minimal energyconsumption and guarantee the IoT devices’ delayperformance. It needs no prior statistic knowledgerelated with task arrival or channel condition. EEDOAcan also make arbitrary tradeoff between transmis-sion energy efficiency and queue backlog. A close-to-optimal transmission energy consumption can beacquired by EEDOA while guaranteeing the queuebacklog’s upper bound. Experiment results show theEEDOA’s effectiveness in reducing the transmissionenergy consumption and keeping the queue backlogof IoT devices at a low level.

REFERENCES[1] D. Chen, N. Zhang, Z. Qin, X. Mao, Z. Qin, X. Shen, and

X. y. Li, “S2m: A lightweight acoustic fingerprints-based wire-less device authentication protocol,” IEEE Internet of ThingsJournal, vol. 4, no. 1, pp. 88–100, Feb 2017.

[2] H. Duan, Y. Zheng, C. Wang, and X. Yuan, “Treasure collectionon foggy islands: Building secure network archives for internetof things,” IEEE Internet of Things Journal, pp. 1–1, 2018.

[3] L. F. Bittencourt, J. Diaz-Montes, R. Buyya, O. F. Rana, andM. Parashar, “Mobility-aware application scheduling in fogcomputing,” IEEE Cloud Computing, vol. 4, no. 2, pp. 26–35,March 2017.

[4] W. Shi, J. Cao, Q. Zhang, Y. Li, and L. Xu, “Edge computing:Vision and challenges,” IEEE Internet of Things Journal, vol. 3,no. 5, pp. 637–646, Oct 2016.

[5] X. Chen, Q. Shi, L. Yang, and J. Xu, “Thriftyedge: Resource-efficient edge computing for intelligent iot applications,” IEEENetwork, vol. 32, no. 1, pp. 61–65, Jan 2018.

[6] A. Kapsalis, P. Kasnesis, I. S. Venieris, D. I. Kaklamani, andC. Z. Patrikakis, “A cooperative fog approach for effectiveworkload balancing,” IEEE Cloud Computing, vol. 4, no. 2, pp.36–45, March 2017.

[7] H. Wu, Y. Sun, and K. Wolter, “Energy-efficient decision mak-ing for mobile cloud offloading,” IEEE Transactions on CloudComputing, pp. 1–1, 2018.

[8] Y. Wu, J. Chen, L. P. Qian, J. Huang, and X. S. Shen, “Energy-aware cooperative traffic offloading via device-to-device coop-erations: An analytical approach,” IEEE Transactions on MobileComputing, vol. 16, no. 1, pp. 97–114, Jan 2017.

[9] F. Liu, P. Shu, and J. C. S. Lui, “Appatp: An energy conservingadaptive mobile-cloud transmission protocol,” IEEE Transac-tions on Computers, vol. 64, no. 11, pp. 3051–3063, Nov 2015.

[10] Z. Sheng, C. Mahapatra, V. C. M. Leung, M. Chen, and P. K.Sahu, “Energy efficient cooperative computing in mobile wire-less sensor networks,” IEEE Transactions on Cloud Computing,vol. 6, no. 1, pp. 114–126, Jan 2018.

[11] O. Munoz, A. Pascual-Iserte, and J. Vidal, “Optimization ofradio and computational resources for energy efficiency inlatency-constrained application offloading,” IEEE Transactionson Vehicular Technology, vol. 64, no. 10, pp. 4738–4755, Oct 2015.

[12] K. Wang, K. Yang, and C. Magurawalage, “Joint energy mini-mization and resource allocation in c-ran with mobile cloud,”IEEE Transactions on Cloud Computing, pp. 1–1, 2017.

[13] X. Chen, L. Jiao, W. Li, and X. Fu, “Efficient multi-usercomputation offloading for mobile-edge cloud computing,”IEEE/ACM Transactions on Networking, vol. 24, no. 5, pp. 2795–2808, October 2016.

[14] Y. Yu, J. Zhang, and K. B. Letaief, “Joint subcarrier and cputime allocation for mobile edge computing,” in 2016 IEEEGlobal Communications Conference (GLOBECOM), Dec 2016, pp.1–6.

[15] X. Lyu, H. Tian, C. Sengul, and P. Zhang, “Multiuser joint taskoffloading and resource optimization in proximate clouds,”IEEE Transactions on Vehicular Technology, vol. 66, no. 4, pp.3435–3447, April 2017.

[16] C. You, K. Huang, and H. Chae, “Energy efficient mobile cloudcomputing powered by wireless energy transfer,” IEEE Journalon Selected Areas in Communications, vol. 34, no. 5, pp. 1757–1771, May 2016.

[17] Y. Mao, J. Zhang, and K. B. Letaief, “Dynamic computationoffloading for mobile-edge computing with energy harvestingdevices,” IEEE Journal on Selected Areas in Communications,vol. 34, no. 12, pp. 3590–3605, Dec 2016.

[18] X. Lyu, W. Ni, H. Tian, R. P. Liu, X. Wang, G. B. Giannakis, andA. Paulraj, “Distributed online optimization of fog computingfor selfish devices with out-of-date information,” IEEE Transac-tions on Wireless Communications, vol. 17, no. 11, pp. 7704–7717,Nov 2018.

[19] J. Kwak, Y. Kim, J. Lee, and S. Chong, “Dream: Dynamicresource and task allocation for energy minimization in mobilecloud systems,” IEEE Journal on Selected Areas in Communica-tions, vol. 33, no. 12, pp. 2510–2523, Dec 2015.

[20] Z. Jiang and S. Mao, “Energy delay trade-off in cloud of-floading for mutli-core mobile devices,” in 2015 IEEE GlobalCommunications Conference (GLOBECOM), Dec 2015, pp. 1–6.

[21] X. Lyu, W. Ni, H. Tian, R. P. Liu, X. Wang, G. B. Giannakis, andA. Paulraj, “Optimal schedule of mobile edge computing forinternet of things using partial information,” IEEE Journal onSelected Areas in Communications, vol. 35, no. 11, pp. 2606–2615,Nov 2017.

[22] Y. Mao, J. Zhang, S. H. Song, and K. B. Letaief, “Stochastic jointradio and computational resource management for multi-user

Page 11: Energy Efficient Dynamic Offloading in Mobile Edge Computing …€¦ · Edge Computing for Internet of Things Ying Chen, Ning Zhang, Member, IEEE, Yongchao Zhang, Xin Chen, Wen Wu,

2168-7161 (c) 2018 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission. See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.

This article has been accepted for publication in a future issue of this journal, but has not been fully edited. Content may change prior to final publication. Citation information: DOI 10.1109/TCC.2019.2898657, IEEETransactions on Cloud Computing

CHEN et al.: ENERGY EFFICIENT DYNAMIC OFFLOADING IN MOBILE EDGE COMPUTING FOR INTERNET OF THINGS 11

mobile-edge computing systems,” IEEE Transactions on WirelessCommunications, vol. 16, no. 9, pp. 5994–6009, Sept 2017.

[23] Q. Liu, T. Han, N. Ansari, and G. Wu, “On designing energy-efficient heterogeneous cloud radio access networks,” IEEETransactions on Green Communications and Networking, vol. 2,no. 3, pp. 721–734, Sept 2018.

[24] M. R. Palattella, M. Dohler, A. Grieco, G. Rizzo, J. Torsner,T. Engel, and L. Ladid, “Internet of things in the 5g era:Enablers, architecture, and business models,” IEEE Journal onSelected Areas in Communications, vol. 34, no. 3, pp. 510–527,March 2016.

[25] M. J. Neely, Stochastic Network Optimization With Application toCommunication and Queueing Systems. Morgan & Claypool,2010.

[26] D. Pisinger, “Algorithms for knapsack problems,” North-Holland Mathematics Studies, vol. 132, pp. 213–257, 1995.

Ying Chen received the BEng degree fromBeijing University of Posts and Telecommu-nications in 2012, and the PhD degree fromTsinghua University in 2017. She is an as-sistant professor in the Computer School atBeijing Information Science and TechnologyUniversity.

Ning Zhang is an Assistant Professor atTexas A&M University-Corpus Christi, USA.He received the Ph.D degree from Universityof Waterloo, Canada, in 2015. After that, hewas a postdoc research fellow at Universityof Waterloo and University of Toronto, Cana-da, respectively.

Yongchao Zhang received the BEng degreefrom Beijing Information Science and Tech-nology University in 2017. He is currently agraduate student in Beijing Information Sci-ence and Technology University.

Xin Chen received the Ph.D. degree fromthe Beijing Institute of Technology, Beijing,China. He is currently a Professor in BeijingInformation Science and Technology Univer-sity.

Wen Wu received the B.E. degree fromSouth China University of Technology,Guangzhou, China, in 2012 and the M.A.Sc.degree from University of Science andTechnology of China, Hefei, China, in 2015.He is current a Ph.D. candidate in Universityof Waterloo.

Xuemin (Sherman) Shen received Ph.D. de-grees (1990) from Rutgers University, NewJersey (USA). Dr. Shen is a University Pro-fessor, in Department of Electrical and Com-puter Engineering, University of Waterloo,Canada. He serves as the Editor-in-Chieffor IEEE Internet of Things Journal, Peer-to-Peer Networking and Application, and IETCommunications; a Founding Area Editor forIEEE Transactions on Wireless Communica-tions. Dr. Shen is a registered Professional

Engineer of Ontario, Canada, an IEEE Fellow, an Engineering Insti-tute of Canada Fellow, a Canadian Academy of Engineering Fellow,a Royal Society of Canada Fellow, and a Distinguished Lecturer ofIEEE Vehicular Technology Society and Communications Society.