Keywords

1 Introduction

Wide coverage oriented cellular base stations and WiFi hot-spots coverage go hand in hand with arming mobile phones by different transmission interfaces such as cellular and WiFi, enhance the users’ ubiquitous connectivity. Due to the error-prone nature of wireless channels, poor wireless signal quality is frequently experienced spatially and temporally by end users. It has been shown that the signal quality in WiFi or cellular-based networks dips in most cases. For instance, 43 % and 21 % of mobile phone data traffic is transmitted during low cellular and WiFi signal strength, respectively [2]. In addition, low signal strength could drain the mobile device battery. Due to the limited nature of mobile phone batteries, meeting high quality of service (QoS), while maintaining reasonable level of energy consumption, is of great importance for end-users. It is noteworthy that reaching high QoS and energy efficiency is not possible, in many cases, due to their conflicting requirements. Thus, designing a proper scheme to obtain reasonable levels of QoS and energy efficiency is critical.

Recently, MPTCP is introduced to enhance TCP performance by exploiting the path diversity [3, 12]. However, base MPTCP suffers from energy inefficiency in mobile phones. For instance, when a mobile phone experiences poor signal quality, not only is an adverse effect on energy consumption inevitable, but also QoS degradation is unavoidable. In [11] we show that the available bandwidth could be estimated by getting the signal quality as an observation and applying hidden Markov model; however, throughput is a more trustworthy metric to understand the different platforms energy consumption. In order to estimate the throughput accurately it is also important to consider the transferred file size. We explore how file size affects the throughput and how to estimate the file size by queue dynamics. The objective of this paper is to investigate whether MPTCP is more energy efficient than WiFi and LTE in real scenarios by leveraging simultaneous uploads and downloads in symmetric and asymmetric traffic pattern. Therefore, we proposed Signal Aware MPTCP (SA-MPTCP) to enhance MPTCP energy efficiency. The contribution of this paper is threefold as follows:

  • We make a tight relation between signal quality, file size and energy consumption; besides the optimization problem is formulated as a Markovian decision making problem by employing buffer size dynamics to better understand transferring file sizes.

  • We endeavor to minimize energy consumption by exploiting diverse characteristics of interfaces, and for the first time we have found that MPTCP is not energy efficient in real scenarios, particularly in simultaneous uploading and downloading.

  • We investigate the effect of energy consumption on asymmetric and symmetric data traffic for a mobile user facing variety of signal strength on different interfaces.

The paper is organized as follows. Section 2 introduces the energy model, and shed light on the effect of file size on MPTCP throughput. Section 3 describes the problem formulation. Section 4 outlines the simulation results, and Sect. 5 reviews the related works. Finally, we conclude in Sect. 6.

2 Proposed Model

The proposed model aims to optimize the transmission energy consumption as a utility function based on signal strength and transferring file size. In the following, we describe the underlying network model and assumptions for the problem at hand.

2.1 Energy Model

The energy model used here addresses energy consumption for uploading and downloading by taking throughput into account. Where throughput would be estimated in our optimization problem by the interface’s signal-to-noise ratio (SNR) and the transferring file size. To the best of our knowledge, the energy model introduced in [4] is the only proposed model that analyses energy consumption for WiFi, cellular networks and MPTCP. Considering this, we use the same concept in describing network model. We assume that the mobile device is equipped with two interfaces to transmit data. Let i denote the interface, where \(i=w\) and \(i=l\) represent the WiFi and LTE interface, respectively. Available uplink and downlink throughput for interface i is denoted by \(Th_{u,i}\) and \(Th_{d,i}\), respectively. The energy consumption in uploading data for interface i which is based on Joule (J) per byte (B), and is defined by \(E_{i}^u\)

$$\begin{aligned} E_{i}^u=(\alpha _{i}^u\times Th_{u,i}^{\beta _{i}^u})\,\,\,\, (\upmu {\text {J/B}}), \end{aligned}$$
(1)

where \(\alpha _{i}^u \) and \( \beta _{i}^u \) are upload packet transfer coefficients of interface i, which are obtained through regression model in [4]. Similarly, for downloading, we have

$$\begin{aligned} {E}_{i}^d=(\alpha _{i}^d\times Th_{d,i}^{\beta _{i}^d}) \,\,\,\,(\upmu {\text {J/B}}), \end{aligned}$$
(2)

where \(\alpha _{i}^d \) and \(\beta _{i}^d \) are download packet transfer coefficient in interface i. Hence, total energy consumption of interface i in downlink and uplink can be formulated as \(\mathcal {E}_{i}\) which is equal to

$$\begin{aligned} \mathcal {E}_{i}= {E}_{i}^u \times L_{i}^u + {E}_{i}^d \times L_{i}^d\,\,\,\,({\text {J}}), \end{aligned}$$
(3)

where \( L_{i}^u\) and \( L_{i}^d \) are the size of uploading and downloading files in bytes for interface i, respectively. In [4], it has been shown that due to the concurrent use of interfaces (WiFi and LTE) in MPTCP, the energy consumption is less than total energy consumption of WiFi and LTE, if they are not used jointly. MPTCP energy consumption, denoted as \( \mathcal {E}_{m} \), can be written as

$$\begin{aligned} \mathcal {E}_{m}= (\mathcal {E}_{w}+ \mathcal {E}_{l})-\theta , \end{aligned}$$
(4)

where \( \theta \) represents the shared component energy. In MPTCP about 13 %–16 % energy would be consumed simultaneously [4]. Thus, in this paper we consider \( \theta \) as a fixed number 14.5 %. Packet transfer coefficients for different platforms based on uplink and downlink are shown on Table 1.

Table 1. Packet transfer coefficients [4]
Fig. 1.
figure 1

Average throughput based on signal strength

2.2 Effect of File Size on Throughput

Estimating the available bandwidth by knowing the signal quality is possible. For instance, Fig. 1 shows the uplink and downlink throughput as a function of received signal strength indicator (RSSI), where data is extracted from [2, 5, 9]. However, the amount of transfer size has a significant effect on MPTCP throughput. In Figs. 2 and 3 throughputs for MPTCP, WiFi and LTE have been plotted based on the transferred file size if the WiFi and LTE RSSI are (−76,−90) and (−106,−135), respectively. As it can be seen as the file size increases, the throughput reaches to the maximum capacity, which is the available bandwidth. Based on the available signal quality state and file size, the uplink and downlink throughputs could be estimated by a regression model. We have calculated the uplink and downlink coefficient for the noted RSSI states in Tables 2 and 3. The uplink throughput for interface i is defined as

$$\begin{aligned} \begin{aligned} Th_{u,i}=\kappa ^{u}_{i}*(L^u)^{\eta ^u_i}+ \iota _i^u, \end{aligned} \end{aligned}$$
(5)

where \( \kappa ^{u}_{i} \) and \(\eta ^u_i \) are uplink coefficients for interface i. Downlink throughput is equal to

$$\begin{aligned} \begin{aligned} Th_{d,i}=\kappa ^{d}_{i}*(L^d)^{\eta ^d_i}+ \iota _i^d, \end{aligned} \end{aligned}$$
(6)

where \( \kappa ^{d}_{i} \) and \(\eta ^d_i \) are defined as downlink coefficients for interface i . It is noteworthy that the number of selected states uplink and downlink tables should be calculated prior to the simulation.

Fig. 2.
figure 2

Platforms throughput for different file sizes

Fig. 3.
figure 3

MPTCP throughput for different file sizes

Table 2. Upload coefficients
Table 3. Download coefficients

3 Problem Formulation

3.1 Definitions

A mobile device decision making is based on the assumption that the system dynamics are determined by an MDP. MDP consists of the following elements: decision epochs, states, states transition probabilities, actions and costs. The mobile device can make a decision about tuning one or both interfaces from idle to active mode in each time epoch, where \(\mathcal T =\{1, 2, ..,y\} \) represent a set of decision epoch. The signal quality states are introduced by the following: firstly, a set of signal quality states for interface i, \( \mathcal {R}_i=\{r^{1}_i, r^{2}_i,...,r^{n}_i \}\), where \( r^{1}_i \) is minimum and \( r^{n}_i \) is maximum signal quality state. It is worth adding here that each signal quality corresponds to specific uplink and downlink bandwidth. Secondly, signal quality states transition probability matrix for interface i, \( P^{r_{i}}=[p^{r_{i}}(r^{k}_{i}|r^{j}_{i}), r^{1}_{i}\le r^{j}_{i}, r_{i}^k\le r_{i}^n] \). In [11] we have shown that how to find the most probable signal quality states by getting RSSI as an observation and in this paper we assume the signal quality state is known. Let \(\mathcal S = \mathcal R^{1} \times \mathcal R^{2}=\{(r_1^1, r_2^1), (r_1^1, r_2^2), ..., (r_1^n, r_2^n) \}=\{s_1, s_2,..., s_N\}\) represent the total state space, where \( \mathcal N=|\mathcal R_{1}|\times |\mathcal R_{2}|\). The action space \(\mathcal A=\{(on, on),(on, off), (off, on)\} \) denotes a set of all possible actions for both interfaces. Without loss of generality, let LTE be the first interface and WiFi be the second; consequently, (onoff) means LTE interface is active and the WiFi interface is idle.

The transition probability for the next state is \(p (s_{t+1}|s_t,a_t) \). Since the state transition probability is the product of all state transition probabilities, we can rewrite it as

$$\begin{aligned} \begin{aligned} p (s_{t+1}|s_t,a_t)&= p^{r_i}(\zeta (s_{t+1})|\zeta (s_{t}))p^{r_j}(\zeta (s_{t+1)}|\zeta (s_{t})), \end{aligned} \end{aligned}$$
(7)

where \( \zeta (s_t) \) gives the signals quality state of the compound state \( s_t \). At time-slot t , when the action \( a_t \) is taken, the system shifts to the state \( s_{t+1} \); therefore, the system incurs costs expressed as \( c(s_t,a_t, s_{t+1}) \).

Before discussing decision rules and policies, we have to shed light on cost calculation. In order to get the benefit of high accuracy of throughput estimation we need to have information about file size. Therefore, we use the backlog queue to have a better understanding of transferring file size.

Consider the proposed scheme operates n slotted times with time slots \( t \in \{0,1,2,...\} \). The uplink and downlink queues as defined as \(\mathcal {Q}^u\) and \(\mathcal {Q}^d \), respectively. At the beginning of each time slot, new packets arrive randomly. Let \(\lambda _t=\big (\lambda _t^1, \lambda _t^2, \lambda _t^N \big )\) be the arrival rate vector. The service rate vector at each time slot t is defined as \( \mu _t=\big ( \mu _t^1, \mu _t^2,..., \mu _t^N\big )\). The service rate is calculated based on the selected action at time t . Let’s define the queue backlog as \( \mathcal {Q}_t \), then the next backlog state are driven by stochastic arrival and service rates. Thus, the backlogs dynamics are given by

$$\begin{aligned} \begin{aligned} \mathcal {Q}_{t+1}=\max [\mathcal {Q}_{t}- \mu _t,0] + \lambda _t. \end{aligned} \end{aligned}$$
(8)

In the proposed scheme at each time slot we only observe the arrival rate and the quality of signal strength. Then we employ \( \mathcal {Q}_{t+1} \) to estimate the transfer file size in uploading and downloading. Let’s define the expected immediate cost as

$$\begin{aligned} c_t(s_t,a_t) = {\left\{ \begin{array}{ll} {\mathcal {E}_w} + {\mathcal {E}_l} &{} \quad a= \text {(on,on)}\\ \mathcal {E}_l &{} \quad a= \text {(on,off)} .\\ \mathcal {E}_{w} &{} \quad a= \text {(off,on)}\\ \end{array}\right. } \end{aligned}$$
(9)

In the explained MDP problem, the objective is minimizing the expected long-term cost which is defined as

$$\begin{aligned} v^\pi (s) = \min _\pi \mathbb E^\pi \{\sum _{t=1}^{T}\gamma ^t c_t^\pi (s_t,a_t^\pi (s_t))\}. \end{aligned}$$
(10)

Solving (10) would be computationally expensive; therefore, Let’s define a policy by \( \pi \), which maps states to actions. MDP endeavorers to find a policy \(\pi \) that minimizes some cumulative function of the stochastic costs. Given a cost criterion, a policy has an expected value for every state, specifying the cost of mobile phone receiving from following a policy in that state. Policy \(\pi ^*\) is an best policy if there is no policy \( \pi ^\prime \), and no state s such that value of \(\pi ^\prime \) be lower than the value of \( \pi \). Letting value of being at state \( s_{t+1} \) as \( v_{t+1}(s_{t+1}) \), then in each time step we aim for an action which has the minimum cost. let’s express it as

$$\begin{aligned} a^*_t(s_t) = \arg \min _{a_t \in A_t}(c_t(s_t,a_t)+ \gamma v_{t+1}(s_{t+1}), \end{aligned}$$
(11)

where \( \gamma \) is a discount factor (\( 0\le \gamma <1\)). Because this value shows the cost a mobile device incurs during one time period in the future, we may discount it by a factor \( \gamma \). By using optimal action \( a^*_t(s_t) \), the optimal value is equal to

$$\begin{aligned} \begin{aligned} v_t(s_t)&=\arg \min _{a_t \in A_t}\big (c_t(s_t,a_t) + \gamma v_{t+1} \big (s_{t+1}(s_t, a_t))\big )\\&= c_t\big (s_t,a^*(s_t)\big ) + \gamma v_{t+1} \big (s_{t+1}(s_t, a^*(s_t))\big ). \end{aligned} \end{aligned}$$
(12)

Because the problem is a decision problem with stochastic components and the new information would be available after The decision is made, we need to add uncertainty to (12)

$$\begin{aligned} \begin{aligned}\ v_t(s_t)&= \min \bigg \{c_t(s_t,a_t)\\&+ \gamma \sum _{s_{t+1} \in S} p(s_{t+1}|s_t,a_t)v_{t+1}(s_{t+1}))\bigg \}. \end{aligned} \end{aligned}$$
(13)

(13) is widely known as the standard bellman equation [8]. We seek the best action in each state minimizing over policies. Thus, the expected cost provided by a policy \(\pi \) from time t onward is defined as

$$\begin{aligned} F_{t}^\pi (s_t)= \mathbb {E}\Big [\sum _{t+1}^{T-1}c_{t+1}(s_{t+1},a_{t+1}^\pi (s_{t+1}))+ c_t(s_t)\Big |s_t\Big ], \end{aligned}$$
(14)

where \(F_{t}^\pi (s_t)\) represents the expected total cost in state s followed by a policy \(\pi \) from time t onward. To find (14) solution, we need to recursively calculate \( v^\pi _t \). It has been shown that (14) is equal to \( v^\pi _t(s_t) \) [7]. By letting \( v_t(s_t) \) as a solution for (13), we will have

$$\begin{aligned} F_{t}^*= \min _{\pi \in \Pi } F_{t}^\pi (s_t)=v_t(s_t). \end{aligned}$$
(15)

There are several ways to solve the infinite horizon optimization problems. For example, value iteration, or policy iteration algorithms [7]. The value iteration algorithm estimates the value function iteratively. At each iteration the best decision will be selected by a policy. In fact, value iteration begins at the end, and then goes backward to find out the best policy. The iteration counter starts at 0, and goes up until the algorithm satisfies the left-hand-side of (16). Thus, v is the largest absolute value, and the value iteration algorithm stops if the largest modify in the value of being in any state is less than the right-hand-side of (16).

$$\begin{aligned} \Vert v_n-v_{n-1}\Vert <\epsilon (1-\gamma )/2\gamma , \end{aligned}$$
(16)

where \(\epsilon \) is an error tolerance parameter [7].

figure a
Fig. 4.
figure 4

Simulation topology

4 Simulation and Results

In order to appraise the proposed algorithm, we have performed the simulations by ns-3 (https://www.nsnam.org). The simulation parameters are included in Table 4. We have considered three LTE and three WiFi signal quality states. Based on the selected states, we found nine spots on the simulation field as it noted in Fig. 4. We calculated nine upload and download tables as in Tables 2 and 3. Before the simulation the best policy in each state for different arrival rates have been calculated. After that the traffic has been generated between two nodes, and the mobile node (UE-1) moves from one spot to another by using the most efficient policy in each state.

In order to compare the proposed scheme to other platforms, we have simulated the same scenario using MPTCP, WiFi, and LTE in all spots. Also to have a practical perspective and general view of how the system works, two different file sizes have been selected for uploading and downloading in symmetric and asymmetric traffic scenarios.

Table 4. Simulation parameters
Fig. 5.
figure 5

256 KB upload and 256 KB download energy consumption

Fig. 6.
figure 6

256 KB upload and 32 MB download energy consumption

Fig. 7.
figure 7

32 MB upload and 256 KB download energy consumption

Fig. 8.
figure 8

32 MB upload and 32 MB download energy consumption

Fig. 9.
figure 9

Different platforms throughput and energy efficiency

From Figs. 5, 6, 7 and 8, the optimal policies have been marked by a red arrow. Taking the advantage of the packet capture feature of NS3, we have plotted the energy consumption behavior of other policies in each state. SA-MPTCP optimal decision was completely compatible with real simulation and surprisingly MPTCP has not been chosen in any scenario. In fact, this is the first time that uploading and downloading have been considered together, and the results contrast prior research such as [4, 6]. Most of the time either WiFi or LTE are the best policy and even according to Fig. 6 WiFi is the best option for uploading small file size and downloading large file size. SA-MPTCP energy consumption outperforms other platforms.

Comparing SA-MPTCP to MPTCP, WiFi, and LTE, SA-MPTCP saves \( 56\,\%\), \( 16\,\% \) and \( 65\,\%\) energy, respectively. On the other hand, MPTCP is 23 % more throughput efficient than SA-MPTCP. However, SA-MPTCP achieves a higher throughput compared to WiFi and LTE (Fig. 9).

5 Related Works

MPTCP has been investigated widely from different perspective; nonetheless, energy efficiency attracts the growing interest of researchers. Comparison of TCP over LTE and WiFi with MPTCP in terms of energy efficiency have been discussed in [6] by modeling, measuring and simulating. The authors proposed eMPTCP, which manages subflows expected energy efficiency based on available throughput. In fact eMPTCP is the most similar work to us, but the difference is eMPTCP only considered the downloading case and doesn’t take the uploading energy into account. In addition, to estimate the available throughput eMPTCP sampled downloaded bytes, which introduces the overhead to a network.

GreenBag [1] was proposed as a bandwidth aggregate middleware on wireless links. It estimates the available bandwidth on wireless links and specifies the amount of traffic allocation while taking QoS into account. GreenBag reduces energy consumption between 14 % to 25 %; however, it needs major applications modification which is not feasible. Peng et al. [6] designed a MPTCP algorithm, decreasing energy consumption up to 22 % by intelligently compromising between throughput and energy. However, they only considered bulk data applications such as video streaming and file transfer, and they did not consider the effect of signal strength on throughput.

Markov decision process has been applied by [7] to utilize the optimal interface for different applications. Nevertheless, authors only considered throughput and stationary applications which is infeasible in dynamic environment. For instance, each application has different traffic patterns, and modeling all applications traffic is not practical. Furthermore, the optimal throughput performance is only achieved by one path, and more importantly the system performance would dwindle immensely when the optimal path is the most congested one. Energy aware MPTCP is proposed in [8] to balance the increasing throughput with the energy consumption. Unfortunately, data has been offloaded simply to WiFi whenever possible since they assumed WiFi consumes less energy than LTE. That assumption may not be true in many scenarios. In fact, when a mobile device experiences a weak WiFi signal, not only a huge amount of packet loss and delay would be irrefutable [5], but also as we showed, energy cost would increase sharply.

Lim et al. [5] proposed an inspiring algorithm, MPTCP-MA, which manages the path establishment by taking cross layer information, such as Mac layer behavior. They endeavored to increase the WiFi throughput efficiency up to 70 %; nonetheless, energy efficiency hasn’t been taken into account, and they haven’t addressed cellular networks behavior. In contrast to most studies, Tailless MPTCP (TMPTCP) [10] showed that MPTCP energy efficiency could be enhanced by the tail energy minimization. Since the tail energy has a enormous impression on the energy contribution, TMPTCP optimizes jointly energy and delay. However, TMPTCP deals with static bandwidth and the offline experiment demands more investigation.

6 Conclusion

In this paper, we studied the problem of energy efficiency in the context of multi-path TCP. We proposed a control mechanism based on Markov Decision Process to distribute traffic over diverse paths while optimizing energy. Performance of the proposed control mechanism was evaluated and compared with the different platforms. The results indicate that the proposed control mechanism significantly outperforms other schemes in all considered scenarios and MPTCP is not energy efficient in any selected cases. Even though we have applied our approach to LTE, the model could simply extend to 3G networks. The effect of delay would be investigated in future work.