Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
Integrating Geophysical and Multispectral Data to Delineate Homogeneous Management Zones within a Vineyard in Northern Italy
Previous Article in Journal
Towards Sustainable Energy-Efficient Communities Based on a Scheduling Algorithm
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Framework for the Joint Placement of Edge Service Infrastructure and User Plane Functions for 5G

by
Irian Leyva-Pupo
*,
Alejandro Santoyo-González
* and
Cristina Cervelló-Pastor
*
Department of Network Engineering, Universitat Politècnica de Catalunya (UPC), 08860 Castelldefels, Spain
*
Authors to whom correspondence should be addressed.
Sensors 2019, 19(18), 3975; https://doi.org/10.3390/s19183975
Submission received: 25 July 2019 / Revised: 10 September 2019 / Accepted: 11 September 2019 / Published: 14 September 2019
(This article belongs to the Section Sensor Networks)

Abstract

:
Achieving less than 1 ms end-to-end communication latency, required for certain 5G services and use cases, is imposing severe technical challenges for the deployment of next-generation networks. To achieve such an ambitious goal, the service infrastructure and User Plane Function (UPF) placement at the network edge, is mandatory. However, this solution implies a substantial increase in deployment and operational costs. To cost-effectively solve this joint placement problem, this paper introduces a framework to jointly address the placement of edge nodes (ENs) and UPFs. Our framework proposal relies on Integer Linear Programming (ILP) and heuristic solutions. The main objective is to determine the ENs and UPFs’ optimal number and locations to minimize overall costs while satisfying the service requirements. To this aim, several parameters and factors are considered, such as capacity, latency, costs and site restrictions. The proposed solutions are evaluated based on different metrics and the obtained results showcase over 20 % cost savings for the service infrastructure deployment. Moreover, the gap between the UPF placement heuristic and the optimal solution is equal to only one UPF in the worst cases, and a computation time reduction of over 35 % is achieved in all the use cases studied.

1. Introduction

5G-identified use cases and stringent technical requirements [1] are forcing a deep evolution of current communication technologies and paradigms. Network Function Virtualization (NFV), Edge Computing (EC) and Software Defined Networks (SDNs), just to mention a few examples, are driving radical technological changes that span across all 5G layers.
Among these revolutionary proposals, EC [2,3] has become the solution to upcoming ultra-low latency communication requirements (e.g., real-time services, virtual and augmented reality, etc.). Future ultra-high bandwidth use cases and envisioned service trends under 5G networks will lead to unprecedented demands for hyper/connectivity and ultra-reliable high performance. As a result, a decentralized architecture of geo-distributed computing nodes has emerged as the only feasible deployment scheme to ensure end-user demand satisfaction. However, due to the distributed nature and the expected large number of edge nodes (ENs) in a 5G and EC ecosystem (where storage, computing and networking resources are brought to the network edge), capital and operational expenditures (CAPEX and OPEX) have become critical challenges.
5G networks must be able to provide diverse services with different requirements. For instance, services under the ultra-reliable and low-latency communication (uRLLC) category require high reliability and low response time whereas others belonging to the enhanced mobile broadband (eMBB) class need high bandwidth and processing capacity. Thus, flexible and customizable deployment of the required User Plane Functions (UPFs) is necessary. Concretely, latency and reliability stringent requirements can be satisfied by placing UPFs closer to the end-users and assigning more than one UPF to the access nodes. However, this kind of approach implies an increase in the number of UPFs by a factor of 20 to 30 times the original amount [4]. A higher number of UPFs will not only increase the costs but also the occurrence of UPF relocations, mainly conditioned by users mobility and handover procedures in mobile networks. Relocations in the UPFs occur when a user equipment (UE) with an active Protocol Data Unit (PDU) session, registers in a base station (BS) that is served by a UPF different from the one linked to its source BS. Frequent relocations can affect the overall Quality of Experience (QoE) by introducing additional delays during handovers and signaling overhead for bearer establishment [5]. Therefore, the design of effective UPF placement strategies, capable of meeting the service requirements and minimizing the costs without degrading QoE is of utmost importance.
In this context, a core approach to reduce CAPEX/OPEX is the joint optimization of the EN and UPF placement strategies. A solution to this problem can exponentially increase overall deployment and operation cost savings, while effectively guaranteeing 5G service requirement satisfaction. Solving this problem is challenging due to the numerous trade-offs involved. For instance: (a) only minimizing the number of ENs and UPFs, results in performance degradation and unsatisfied end-user demands, (b) the inter-dependence between EN sizing and location-dependent costs leads to unmet requirement scenarios due to service demand variation and unexpected events (e.g., emergencies, disaster situations), (c) through the use of current in-use sites (e.g., Internet Exchange Points, IXPs) significant cost reductions can be achieved, however, if the forecasted demand does not follow the expected path, it may be better to choose other locations closer to the user demand in spite of its lack of IT capabilities, as it would considerably decrease the expenses over time.
Given this situation, this paper proposes a framework for a cost-effective deployment of both the edge service infrastructure and the required UPFs to guarantee overall cost minimization and service demand satisfaction. To that aim, our main contributions are:
  • A framework proposal for the joint EN and UPF placement optimization problems.
  • A novel solution approach to the UPF placement problem (UPFPP) considering optimally located edge service infrastructure, user mobility, latency and reliability requirements.

2. Related Work and Motivation

Two main research areas are involved in the solution of the problem presented in the previous section: Edge Node Placement and UPF Placement under 5G networking. The following sections present a comprehensive study of current literature on both topics.

2.1. Edge Node Placement

Extensive research has been carried out in subjects closely related to the EN placement problem (ENPP) within mobile network planning, facility location and EC implementations studies [6,7,8,9].
Wang et al. [7], propose to deploy a set of macro-cells whose coverage area is estimated based on a simplification of the underlying demand. In [10], the main target is to find the optimal locations to deploy temporal BSs during emergency situations. In both [7,10] the customer demand assumed as input is over simplified. As a result, both studies lack the flexibility to deal with highly dynamic scenarios as those found under 5G, where the demand continuously changes hindering the placement optimization process. Meanwhile, in [9] the optimum number of fog nodes (FNs) is found using stochastic geometry analysis, aiming at reducing the total number of FNs. Wang et al. article [11] consider workload efficient distribution and strong latency constraints as core parameters to choose adequate edge server locations.
The authors of [12] present an edge server placement platform that ensures the discovery of unforeseen suitable sites, by analyzing user communication patterns. Some limitations of this study are: (a) user clustering should be done base on the different use cases and typical requirements of 5G networking, including both fixed and mobile baseline data, along with an analysis of demand geo-distribution characterization, (b) 5G ultra-dense deployments and its envisioned complex service demand interrelation (due to the broad mixture of use case scenarios) has to be considered and, (c) the infrastructure sizing should comprise at least the following elements: number of users, application-based requirements, high reliability and availability margins, ultra-high bandwidth requirements. In [13], the data center placement problem is formulated seeking to minimize the costs of the entire data center network. Powerful insight for the ENPP solution is provided in this paper. However, its applicability to solve the problem presented in Section 1 is limited due to the exponential number of edge nodes to deploy in a small to medium-sized 5G service area, the communication restrictions between users and services as a result of the latency constraints, forcing the formulation of a “coverage” problem and, the absence of a proper demand characterization in order to achieve real-life optimization.
Facility Location Problems (FLPs) and server placement problems [14,15] are closely related to the ENPP. Nevertheless, traditional formulations and solutions in these fields cannot be directly applied to the ENPP since, for instance, traditional FLP formulations usually follow a particular problem type guidelines (i.e., coverage FLP) and the cost function formulation is rather simple. Furthermore, within the ENPP site-dependent characteristic analysis is mandatory given the expected density in urban deployments.

2.2. UPF Placement

The 5G UPFs are analogous to Service Gateways (SGWs) and Packet Gateways (PGWs) in Long-Term Evolution (LTE) networks. However, unlike SGWs and PGWs, UPFs only perform user-plane related functions. The placement of SGWs and PGWs has been addressed in a wide variety of research works [5,16,17,18,19] comprising different points of view.
The authors in [5] put forward the necessity of avoiding mobile gateway relocations through the optimal placement of SGWs over a distributed network of data centers. They formulate the optimization problem as an ILP and propose a heuristic solution based on a greedy algorithm. Their main target is to minimize the overall cost of SGW relocations subject to SGW capacity restrictions. In [16], an algorithm for creating and placing virtual instances of PGWs is proposed. Its main goal is to reduce costs while ensuring QoE to users. In this regard, the load assigned to PGWs as well as their imbalance are optimized by considering the application/service type and geographical location when selecting a PGW to attend a user’s request. The PGWs placement is modeled as a nonlinear optimization problem and three heuristics are proposed. Taleb et al. [17] introduce a set of solutions to tackle the placement of virtual gateways. Their main objective is to determine Virtual Network Functions (VNFs) best locations, so that, the path between users and PGWs is minimized while, at the same time, SGW relocations are reduced. Three placement strategies are formulated by considering delay and relocations requirements. Nonetheless, the VNF maximum capacity restriction is overlooked.
Other papers such as [18,19] address the SGWs and PGWs placement in 5G networks upon the concept of Control and User Plane Separation (CUPS). Ksentini et al. in [18] separate the SGW functionalities into SGW-U and SGW-C and define an algorithm for the SGW-C placement. This algorithm is aimed at reducing SGW relocations and at balancing their traffic load. Nevertheless, they do not take into account latency requirements for the gateway placement. In [19], the possibility of using a 5G hybrid architecture where the PGW and SGW functions could be deployed by using either VNFs or SDN elements is presented. Taking as reference this architecture, three optimization models are proposed. Their main aim is to determine the optimal sizing and planning for the data center, PGW and SGW elements. Although data and control plane latency requirements are considered, the effects of users mobility on network functions (NFs) placement are neglected.
Despite the plethora of papers tracking the placement of mobile gateways (i.e., SGWs and PGWs), the existence of a model capable of integrating aspects such as mobility, latency, reliability, costs reduction and gateway available capacity is missing. Moreover, all the works mentioned above take as reference the mobile network architectures based on LTE systems. In a previous work [20], we propose a framework to place 5G NFs and to optimize VNF infrastructure (VNFI) resources following the 3GPP 5G architecture [21]. Our main focus in this precedent research was the placement of control plane NFs, where despite the assignment of UPFs to the Session Management Functions (SMFs) was addressed, it started from the criterion that UPFs were already optimally located.

3. 5G Reference Architecture

The 3GPP architecture for 5G networks [21] is an evolution of the current 4G system, based on the concepts of CUPS, service-based architecture and network slicing. This architecture mainly consists of the following elements: Network Slice Selection Function (NSSF), Authentication Server Function (AUSF), Unified Data Management (UDM), Access and Mobility Management Function (AMF), Session Management Function (SMF), Policy Control Function (PCF), Application Function (AF), UPF, UE, (Radio) Access Network ((R)AN) and Data Network (DN). The separation of the control and user planes guarantees that the resources of each plane can be scaled independently and that the UPFs can be distributed and deployed near the users. This approach allows satisfying increasing traffic demands at a lower cost-per-bit and to serve low-latency applications hosted at the network edge [22].
The main component of the 5G user plane is the UPF while the control plane is formed by the NSSF, AUSF, UDM, AMF, SMF, PCF and AF. Figure 1 illustrates the 5G architecture and the interactions among its different entities. The UPFs process data plane packets between the (R)AN and the DN and act as PDU session anchor points to provide intra/inter-Radio Access Technologies (RATs) mobility. Additionally, UPFs provide packet routing and forwarding functionalities, access control, QoS handling, and lawful interception. To perform all these functions they communicate with the SMFs located in the control plane. The SMFs are responsible for selecting, controlling and managing the UPFs for the establishment of PDU sessions.

4. Framework Proposal

To solve the problem presented in Section 1 we assume that UPFs are to be deployed in optimally placed service infrastructure (i.e., ENs). Consequently, by starting with an EN placement stage and executing the UPF placement afterwards, a feasible deployment scheme is ensured, considering that there is no interrelation between the demands and parameters on each optimization procedure. The proposed framework to jointly optimize the EN and UPFs placement is depicted in Figure 2.
The first stage collects and processes all the input data required for the upper layers (see Table 1). Namely, 5G service requirements are passed to the platform, along with the network topology, territory of interest, EN and UPF capacities, traffic demand model and site restrictions (referred to the potential EN sites built from the network topology nodes and other potential locations, e.g., Central Offices, IXPs). The next stage deals with the placement of the edge service infrastructure while the last two phases solve the UPFPP. In Figure 3, a generic framework output is represented to clarify how the different elements of the system, i.e., access nodes (traffic generators (TGs)), EN and UPFs, may be allocated. Details of all processing stages are provided in the following subsections.

4.1. Edge Node Placement Stage

Overall, in this stage our goal is to place computing, storage and network resources at the edge of the network in a cost-effective manner. To decrease the EN network costs, we aim to optimize the site selection and reduce the number of ENs deployed and the capacity assigned to each EN. The underlying problem formulation models the service demand, distributed over a given area, as traffic generators (TGs) [23]. In more detail, the aggregated cell structure composed by the TGs in the form of 4G/5G mobile base stations, wireless access points, etc., is considered to be known. Moreover, since the traffic to the services hosted in any given EN is aggregated through the 5G access layer, the (R)AN nodes distributed over a given service area and the underlying demand are simplified and modeled as TGs [7,23]. This kind of model allows us to simplify the problem without loss of generality since the placement optimization is directly linked to the capacities and behavior of the traffic aggregation points (i.e., TGs) and thus independent from the particularities of the underlying end-users. The cost function for the optimization problem is presented in (1).
Min e ω · c e · v e + e , t L e t · u e t + e F e · v e
where:
  • ω : cost per capacity unit
  • c e : capacity of an EN at e
  • v e : 1 if an EN at e is placed, 0 otherwise
  • L e t : cost of interconnecting an EN at e and a TG at t
  • u e t : 1 if a TG at t is covered by an EN at e, 0 otherwise
  • F e : fixed cost of deploying an EN at e
Through expression (1) the main expenses when deploying an EN network are represented: EN capacity costs ( ω ), TG-EN interconnection expenses and any site-specific costs. Several restrictions were added to characterize the TG service levels and underlying demands. Every TG was ensured to be fully covered (in terms of its particular demand) by one or more ENs, always considering the reliability requirement of each TG. This way, if an arbitrary TG required ultra-high reliability, the model ensured that it was covered by at least two ENs. Additionally, each EN was assigned limited capacity (a maximum capacity value was set for every EN candidate). Latency requirements were constrained through predefined thresholds looking to satisfy most of the envisioned 5G delay-sensitive use cases [1]. For this purpose, two main latency values were selected (see Section 5.1) accounting for TGs with ultra-low latency requirements (maximum delay of 1 ms) and low latency requirements.
The Infrastructure Placement module is in charge of the ENPP solution. At first, it carries out a partial demand distribution characterization, by classifying the service areas as urban or rural and it executes additional pre-processing optimization procedures. By conducting this kind of classification the problem complexity can be reduced, since a straightforward co-location strategy can be followed in less dense areas, placing the ENs within the TG infrastructure site. This kind of approach reduces CAPEX and OPEX as the demand in these areas is primarily scattered over large underpopulated territories. Within this stage, further pre-optimization is carried through pre-processing optimization procedures, i.e., isolation analysis, where those TGs outside the coverage range of any other EN potential location are immediately upgraded to ENs. Finally, the EN placement method is executed to find the optimized locations to place the ENs. After the ENPP is solved, the framework outputs the set of restriction-free locations where the edge infrastructure should be placed, the allocated capacities and demand covered per EN, and additional relevant data regarding the performance of the executed solution methods.
Solving the ENPP implies the analysis of all possible EN-TG combinations in order to find the minimum cost solution. Given the latency and reliability constraints and the need to satisfy all TG demands in a capacity-dependent cost model, the combinations cannot be split to reduce computation time. Additionally, ultra-dense networking and 5G strict requirements will presumably push the EN deployment to thousands of nodes in large cities. Taking this into consideration, exact methods were dropped as solutions for high-scale scenarios and two heuristic methods were implemented for performance analysis purposes: an extended and adapted variant of the Hybrid Simulated Annealing (HSA) presented in [23] and an Evolutionary Algorithm [24]. These heuristics were selected due to their flexibility when being adapted to solve heavily constrained NP-hard problems. Moreover, both evolutionary techniques and Simulated Annealing have been widely employed to solve FLPs and server placement problems [25,26,27]. The HSA in [23] was modified in order to answer the requirements of the formulation summarized in (1) and the related constraints. The results of our simulated testbed to analyze the performance of both methods can be found in Section 5.1.

4.2. UPF Placement Stages

By placing the UPFs at the network edge not only the network response time but also the bandwidth consumption can be significantly reduced. However, placing a UPF in every available EN results in a rise of costs and UPF relocations. Therefore, the main objective of the UPF placement stages is to determine the optimal number of UPFs and their location in the given EN infrastructure, so that 5G services requirements can be satisfied while costs are minimized. Please note that, unlike the ENPP, where the access nodes can be simplified as TGs, the UPFs placement is strongly dependant on the behaviour of their underlying end-users (e.g., service demand and mobility patterns).
The UPF placement consists of two main stages: Placement Analysis and UPF VNF Placement. The former is in charge of processing and preparing all the data required for the UPFs placement. It is a compound of three modules: Service Classification, Placement Criteria and Candidate Placement Selection. The Service Classification module aims at clustering the services into categories with similar placement requirements such as mobility, latency and reliability. For each one of these parameters, different thresholds or levels can be established. The demands of those services that belong to the same category are considered as a whole and the placement priority for each category is established.
Taking into account the service classification, placement criteria such as optimization objective and placement considerations are determined within the namesake module. For instance, the required number of backup UPFs for each service category is calculated according to its reliability level. The last module is responsible for selecting the candidate locations (i.e., ENs) for the UPF placement by taking into account available resources within the underlying infrastructure as well as the UPF maximum capacity and latency requirements of the service category. As a result, we obtain a set of UPF candidate locations for each access node ( N n c r ) and a set of near access node for each candidate ( N n r c ). To determine N n c r and N n r c , clustering techniques, i.e., Fuzzy C-means (FCM), are used. This method has been widely used in the area of allocation by various researchers [28,29]. Namely, FCM is used to determine the membership preferences between access nodes-candidate and candidate-access nodes.
Finally, the UPF VNF Placement stage solves the UPFPP by considering service demands, placement requirements, candidate locations and UPF capacity. To address the UPFPP, we propose two strategies: an ILP model called Optimal UPF Placement (OUP) and a Near-Optimal UPF Placement (NOUP) algorithm. Table 2 summarizes the notation used in the UPF problem formulation.

4.2.1. Optimal UPF Placement

The OUP model aims at reducing deployment costs by minimizing the number of UPFs. Additionally, it also deals with the operational costs related to UPF relocations. However, not all users have the same mobility patterns, being many of them static sensors or indoor that produce zero relocations. Because of this, the proposed model allows distinguishing the optimization objective by taking into account whether the UPFs to be placed will serve users with mobility characteristics (m = 1) or not (m = 0). The OUP model can be formulated as follows:
Minimize:
C c o s t = { c N c F c · ( x c + y c ) + c N c i N r j N r F h · h i j · a i j c , if user mobility is considered       ( 2 a ) c N c F c · ( x c + y c ) , otherwise       ( 2 b )
s . t . :
x c + y c 1       c N c
p r c x c       r N r , c N c
b r c y c       r N r , c N c
c N c p r c = 1       r N r
c N c b r c K u 1       r N r
r N r d r · p r c α · C u m a x       c N c
r N r d r · b r c C u m a x       c N c
L r c · ( p r c + b r c ) L r e q       r N r , c N c
L o c r = L o c c p r c x c       r N r , c N c
L o c r L o c c p r c x c       r N r , c N c
a i j c = p i c p j c       i , j N r , c N c
x c , y c , p r c , b r c , a i j c binary       r N r , i , j N r , c N c
Expressions (2a) and (2b) represent UPF placement costs for services with and without mobility requirements, respectively. In (2a), the first term is associated with the cost of deploying a UPF at location c ( F c ) while the second term is related to the UPF relocation cost ( F h ). Hence, this objective function aims at optimizing both the deployment and operational expenditures by taking into account not only the number of UPFs to be deployed but the frequency of handovers in the (R)AN as well. For UPFs mostly serving users with zero or low mobility, Expression (2b) is more appropriate. In this case, the UPF placement costs can be determined in terms of the number of UPFs and their location dependent costs. Thus, the distinction of the objective function in terms of mobility requirements simplifies the problem formulation considerably when their effects on UPF relocations can be diminished.
The constraints of the system are described from (3) to (14). Expression (3) ensures that only a main or backup UPF is placed at a specific candidate location, thus guaranteeing only one UPF type for a given service category. Thus, in case of a failure in the infrastructure hosting a main UPF, its backup UPF can be instantiated in a safe location. Moreover, constraints (4) and (5) indicate that an access node must be assigned only to a candidate location where there is a main or backup UPF in place.
The constraint (6) guarantees that the demands of an access node are served by only a main UPF at a given time. In addition, restriction (7) forces the assignment of the access nodes to at least the minimum number of backup UPFs ( K u −1) necessary to satisfy the service reliability requirements. Thus, each access node will be assigned to a total of K u UPFs (i.e., one main UPF and K u −1 backup UPFs). Additionally, Inequalities (8) and (9) ensure that the capacity of the main and backup UPFs is not exceeded by the underlying service demand. The factor α defines the maximum capacity to be occupied in the main UPFs by the access nodes to avoid slowing their performance.
The Expression (10) ensures that the access nodes cannot be assigned to a main or backup UPF if the latency requirement ( L r e q ) is not satisfied. The L r e q between (R)AN nodes and UPFs is determined by taking into account their processing time ( L p r o c ) and the service latency requirement ( L s e r v ), L r e q = L s e r v L p r o c . The effects of packet transmission and queuing delays in the overall latency are considered negligible. Moreover, constraint (11) restricts the assignment of an access node to a specific main UPF if this UPF has been placed at its location. Otherwise, it can be assigned to a UPF in any other location (12). Additionally, constraint (13) is an extra restriction to take into consideration for UPF placement with mobility requirements, Expression (2a). It expresses the relationship between two access nodes and their assignment to a main UPF. Since the Expression (13) is non-linear, it must be replaced by the following inequalities: a i j c p i c + p j c , a i j c p i c p j c , a i j c p j c p i c and a i j c 2 p i c p j c . Constraint (14) indicates that x c , y c , p r c , b r c and a i j c are binary variables.

4.2.2. Near-Optimal UPF Placement

The OUP model for non-mobility considerations is a variant of two well known NP-hard problems, the Resilient Controller Placement Problem [30,31] and the Hierarchical Capacitated Facility Location Problems [32,33], whereas its form for mobility requirements can be seen as a combination of the previous problems and the Location Area Planning problem [5,34] which is also NP-hard. Therefore, the OUP model, in either variant, is NP-hard. Hence, the OUP approach is not feasible for ultra-dense networking scenarios where the number of access nodes and candidate locations is quite large. In these scenarios, the number of possible combinations is extremely high and finding the optimal solution for the UPFPP may require excessive computation time and resources or lead to impractical solutions. To deal with this limitation, the NOUP algorithm has been developed. The pseudocode of the NOUP solution is shown in Algorithm 1.
Algorithm 1: NOUP
Input: N r , N c , N n r c , N n c r , C u m a x , Access node demands ( D r ), H i j , m, K u
Output: Set of total UPFs ( S u T ), Set of UPFs service areas ( S s a T ), Set of unassigned access nodes ( S u n a s s i g T )
Sensors 19 03975 i001
The NOUP algorithm aims at finding the best locations and number of UPFs to serve a given set of access nodes at different resilience levels. The levels of UPFs are placed according to their role, starting with the main level and ending with the last level of backup. For each level, all the available candidates are evaluated and the best ones are selected. This approach guarantees that the best locations are selected and that these locations belong to UPFs with a higher role. Executing this algorithm outputs the location of the UPFs ( S u T ), their service area ( S s a T ) and the unassigned access nodes ( S u n a s s i g T ), in case there are any.
The NOUP starts by initializing the output variables (line: 1). Afterwards, it proceeds to determine the UPF placement for the K u required levels (lines: 2–29). The first step when placing a level of UPF is to create the empty sets for the output variables in the corresponding level (i.e., S u k u , S s a k u and S u n a s s i g k u ) (line: 3). Next, the access nodes to be assigned to a level k u of UPFs are selected (line: 4). To determine the best location for the UPFs each available candidate is analyzed by establishing its potential service area (lines: 6–22). This kind of area is formed by the unassigned access nodes near the candidate ( N n r c [ n c ] ) that satisfy the latency requirement (lines: 7–8).
At this point, Algorithm 2 is executed, which is in charge of setting the UPF service area. Its first step is to ensure that restriction (11) of the problem formulation is satisfied (lines: 1–3). To achieve this, the algorithm checks whether the candidate is a main UPF co-located with an access node (line: 1). If this is the case, the (R)AN node is assigned to the service area and the UPF available capacity ( C u c ), the unassigned access nodes near the candidate ( N n r c [ n c ] ) and the UPF service area ( S s a c ) are updated (lines: 2–3). Afterwards, the unassigned (R)AN nodes near the candidate ( N n r c [ n c ] ) are sorted by their proximity to the candidate (line: 4) and an assignment process takes place (lines: 5–21). This process is repeated while the UPF candidate has available capacity and there are unassigned access nodes near it.
Algorithm 2: FormingServiceArea
Sensors 19 03975 i002
For the assignment, those access nodes that have the selected n c as unique candidate, known as critic access nodes ( n r c r i t i c ), are prioritized (lines: 7–8). If there are no critic access nodes the selection of an access node for its assignment to the candidate is made according to the UPF type and mobility requirements (lines: 9–13). Namely, if the service area belongs to a main UPF with mobility requirements (m = 1), the unassigned access node with the highest frequency of handover, with respect to the access nodes in the UPF service area, is selected (lines: 10–11). Otherwise, the chosen access node is the closest one to the candidate (lines: 10–13).
Once an access node is selected, it is necessary to check that it can be served by the UPF (line: 14). If the UPF has enough available capacity to serve the selected access node, the next step is to verify that no access node is affected by the assignment (line: 15). An assignment may affect other access nodes when their corresponding main UPF cannot be placed without violating constraint (11). If a critic access node cannot be served by the available capacity in the candidate, an error indicator is activated and Algorithm 2 is interrupted (lines 20). Otherwise, the set N n r c [ n c ] is updated by removing the selected access node (line: 21), regardless of whether it was assigned or not.
After Algorithm 2 is executed, the next step in Algorithm 1 is to verify whether the candidate service area was successfully created. If the execution of Algorithm 2 was interrupted due to the existence of an unassigned critic access node, a sub-process to find a candidate for the critic access node is launched (line: 10). If a candidate is found the node is assigned and the sets of UPF locations ( S u k u ), UPF service areas ( S s a k u ), unassigned (R)AN nodes ( S r ), candidate locations ( N c ) and candidate near the access nodes N n c r are updated (lines: 11–13). Otherwise, the critic access node is added to the set of unassigned access nodes ( S u n a s s i g k u ) (lines: 14–15). In both cases, the candidate evaluation process is interrupted and restarted (line: 16). If Algorithm 2 was successfully executed, the candidate service area is inspected. If the service area is not empty, the candidate is evaluated and added to a list of valid candidates ( S v a l i d ) (lines: 18–20). The candidate evaluation is made by taking into account metrics such as utilization, worst delay and relocation avoidance for mobility considerations. If the candidate has no assigned access nodes, it is removed from the set of candidates (lines: 21–22).
Once all the candidates are analyzed, the valid candidate with the best service area is selected (lines: 23–25). The best candidate is the one that has more access nodes assigned and avoids the greatest number of UPF relocations if m = 1. Each time that the best candidate is chosen, the sets S u k u , S s a k u , S r , N c and N n c r are updated (line: 25). In case no valid candidates, the remaining access nodes in S r are added to the set of unassigned access nodes (lines: 26–27) and further analysis is required. These access nodes could be assigned to a UPF by relaxing the latency requirement or by deploying additional infrastructure. Notice, that these approaches imply either QoS degradation or the incurrence of additional costs. The candidate evaluation process (lines: 5–25) is repeated while there are unassigned access nodes.
Algorithm 3 is executed (line: 28) after a level k u of UPFs is placed. Its main objective is to reduce the number of UPFs and the relocation occurrence if mobility requirements are considered. Hence, Algorithm 3 first step is to determine the overall available capacity ( C u a v a i l a b l e ) in the UPFs of the level (line: 1). This capacity is compared with the UPF maximum capacity (line: 2). If the overall available capacity is higher than the UPF maximum capacity, the number of UPFs could be reduced (by removing some of them). To delete the lowest utilized UPFs, they are sorted and analyzed in descending order according to their available capacity (line: 3). For each UPF at level k u , it is checked whether all its assigned access nodes can be served by other UPFs (lines: 5–12). If an access node can be reassigned to other UPF, this is indicated by marking the access node (lines: 7–8). If all the access nodes in a UPF service area can be served by other UPFs, they are reassigned and the UPF is deleted from the set of UPFs (lines: 9–11). As a result of this process, the set of UPFs at level k u , their service areas, the available candidates and the candidate locations for each access node are updated (line: 12).
Algorithm 3: Reassignment
Sensors 19 03975 i003
Moreover, for a level of main UPFs with mobility requirements, Algorithm 3 tries to reduce the occurrence of relocations (lines: 13–18). For each access node that has been assigned during this level, it searches for whether there is a better UPF (lines: 15). If a better UPF in terms of relocations avoidance is found, the access node is reassigned and the UPF service areas are updated (lines: 16–18). At the end of this algorithm, two additional steps can be included to ensure that each access node is assigned to its nearest UPF and to reduce the load imbalance.
Finally, in Algorithm 1, the output sets are updated and the level indicator is decremented (line: 29). Steps 2–29 are repeated while there are available candidates and levels of UPFs pending for placement.

5. Evaluation and Results

A territory of interest with a size of 10,000 km 2 was used, where an arbitrary set of TGs was randomly deployed mimicking a fairly realistic demand distribution, with high density urban areas and lower traffic density in rural ecosystems. The TGs represent fixed and radio access nodes with traffic demands between 0 and 1 Tb/s. In the urban scenarios, the radio access nodes are centralized Baseband Units (BBUs) with a maximum coverage area of 3 km whereas in the rural area they are distributed BBUs with radii of 10 and 20 km. To generate the TG traffic demands, six services with different requirements of bandwidth, reliability and latency were considered [35,36]. Table 3 shows the selected use cases and their requirements.

5.1. ENs Placement Results

For the ENPP solution, the latency constraints were translated into Euclidean distances considering the propagation times of a direct link between any TG-EN pair. Namely, for ultra-low latency requirements, a lower bound was fixed in 2 km while the upper bound was set to 6 km (considering an approximate propagation time of 5 μ s/km [19]), for ultra-low latency requirements under 1 ms and low latency requirements around 5 ms.
The results for the conducted experiments are shown in Figure 4a,b. Both the Evolutionary Algorithm (EA) and the HSA were tested for an arbitrary range of TGs varying between 200 and 400 (considering a representative number of nodes for envisioned 5G networks in mid to large city deployments). The hardware used to run the experiments has a 3.30 GHz CPU, x64 architecture (with 10 physical cores and 2 threads per core) and 64 GB RAM. The set of input parameters used for each algorithm is presented in Table 4 and Table 5.
Figure 4a,b both show the score, cost and number of ENs deployed by each placement strategy for all input TG values. To estimate the score, the procedure in [23] was followed. In summary, the Score plots (leftmost plots in Figure 4) demonstrate that HSA outperformed EA significantly (considering that a logarithmic scale was used to normalize the score estimation values). Namely, HSA achieved cost savings over 15 % when compared to EA in every case, reaching around 20%–30% for more than 300 TGs. Similar values can be observed for the number of ENs deployed by each mechanism (rightmost plots in Figure 4), where the HSA reached a maximum of over 30 % less ENs deployed.
We strongly believe these results prove the complexity of the ENPP and the limitations to be considered in order to select an adequate solving heuristic. In this particular case, when applying EA to the ENPP, the coverage nature of the problem forces a high probability of occurrence for a “dominoes effect”, where a continuous EN-TG re-arranging is caused after changing a previously selected EN-TG pairing solution. Since the node density is significantly high (as expected in future 5G networks), changing a valid EN-TG assignment, i.e., through the mutation and crossover techniques applied by evolutionary techniques, commonly results in a large chain of EN-TG reassignments throughout the complete service area. As a consequence, invalid solutions are typically generated and “repair” procedures have to be executed. This situation leads to a lower probability of a child solution enhancing a parent valid EN placement. The cost savings achieved by the placement strategies, in particular by the HSA, are directly linked to the EN network deployment costs. Nevertheless, our problem formulation and solving scheme ensure a significant reduction in the operating expenses as well due to the capacity assignment optimization and the reduction in the total number of ENs deployed.

5.2. UPF Placement Results

For the UPF placement solutions, a scenario composed of 100 access nodes (TGs) and the set of EN locations obtained from the HSA were selected. To evaluate the performance of our solutions regarding user mobility considerations, similar placement conditions are mandatory. Hence, the use cases presented in Table 3 were classified by taking into account only latency and reliability requirements. Two service categories were obtained as a result of the placement analysis stage. The first group comprises services with the highest requirements, i.e., automated factories, mIoT and cooperative sensing, whereas the second one is formed by the remaining services. Notice that in both groups there are services with different mobility requirements.
For the UPFs dedicated to services with high requirements, we assumed 1 ms for the overall user plane latency and 1 backup UPF ( K u = 2). In addition, for the second group, we considered 5 ms and no backup deployment ( K u = 1). The required number of UPF ( K u ) to which an access node must be assigned was calculated upon expression (14), where p r and p u represent the failure probability of access nodes and UPFs, respectively. To achieve a service reliability greater than 99.999%, p r must be lower than 10 5 whereas p u can take any value. Specifically, p r = 10 6 and p u = 10 3 were assumed. Additionally, to meet latency demands of 1 ms, the overall delay (Round-Trip-Time, RTT) between access nodes and UEs cannot exceed 0.5 ms [37]. Taking this into account and assuming that UPFs and DN (application servers) are co-located with a total processing time of 0.3 ms, a maximum of 0.2 ms RTT ( L r e q ) between access nodes and UPFs is assumed. For the second group of services, this value was relaxed to 1 ms.
R [ r ] = ( 1 p r ) 1 u K u [ r ] 1 ( 1 p u )
Since the selected scenario is formed by three regions with different characteristics (i.e., City_1, City_2 and Rural), we ran our UPF placement solutions in all of them separately. Table 6 describes some characteristics of these scenarios, such as access node ( N r ) and candidate location ( N c ) distribution and total access network demands per service category. The candidate locations comprise the set of ENs and existent Points of Presence (PoPs). The PoPs were analyzed as candidates only for UPFs serving the second group of services. These candidates were preferred over ENs when the ENs were not able to comply with the restriction (11).
The UPF placement solutions were analyzed for different values of UPF capacity taking into account the resources available in the underlying ENs. First, the UPFs placement for services with high requirements was determined and after having updated the infrastructure available resources, we proceeded to the placement of the second group of UPFs. The results obtained by the optimal and heuristic solutions for mobility and non-mobility considerations (i.e., OUP_M1, OUP_M0, NOUP_M1 and NOUP_M0) were compared regarding the number of UPFs, UPF utilization, UPF relocations and execution time. The mathematical models were implemented with the Python-based package Pyomo [38] along with Gurobi [39] as underlying solver. Their optimal solutions were determined with zero optimality gap.

5.2.1. Number of UPFs

Figure 5 and Figure 6 depict the total number of UPFs obtained for services with high and low requirements respectively. From these figures we can observe that the proposed heuristic performance is close to the optimal solution results, for either existing mobility and not existing mobility considerations. Namely, for services with high requirements in urban scenarios (see Figure 5) the four solutions obtained the same number of UPFs (main and backup). Similar results were achieved in the rural area, but in this case, the heuristics required one UPF more than the optimal for C u = 1 Tb/s. Moreover, in this scenario, the number of main UPFs is always higher than the number of backups. This is because of the existence of two isolated access nodes that cannot be assigned to a backup UPF without violating the latency constraint or the main-backup relationship (see Section 4.2.2 for more details). For the second group of services (see Figure 6) all the solutions had similar results for all the scenarios and values of capacity considered, except for C u = 1.5 Tb/s in City_2, where NOUP_M1 obtained one UPF more than the other three methods.
In general, a reduction in the number of UPFs with the increase of their capacity can be noticed. This result is more remarkable for the second group of services where the latency requirement is less strict. Furthermore, almost all the access nodes (with the exception of two isolated rural access nodes) were assigned to the required number of UPFs according to the reliability levels established. This showcases the assertiveness of the proposed strategies for the edge infrastructure and UPFs placement.

5.2.2. UPFs Utilization

The load distribution was measured only in the main UPFs because the backups do not have any access node assigned in normal network conditions. For services with high requirements in urban scenarios, the four solutions provide similar levels of UPF utilization for all values of capacity, as shown in Figure 7. Moreover, the load distribution in the UPFs is quite even, being the maximum load imbalance below 25%. On the contrary, in the rural scenario (see Figure 7c) the imbalance is always above 50% and it reaches almost 100% for C u = 1 Tb/s. Furthermore, the UPFs average utilization is quite low with values between 10% and 40%. This behaviour is caused by isolated access nodes with low user density and service demands. Due to these results in the rural scenario, the capacity of the UPFs was readjusted by considering a granularity factor of 0.25 Tb/s.
Figure 8 represents the total number of UPFs obtained for each value of adjusted capacity. As it can be appreciated, most of the UPFs require low values of capacity, i.e., between 0.25 and 0.5 Tb/s. Moreover, regardless of the UPFs maximum capacity increase, their adjusted capacity remains below 1.5 Tb/s most of the time. Taking into consideration these new capacity values, the UPF utilization in the rural scenario was recalculated. After readjusting the UPFs capacity, their average utilization (see Figure 9) is always above 80 % while their minimum utilization is higher than 20 % . Nevertheless, the load imbalance is still quite large, with values between 45% and 80 % . This metric could be further improved by considering a smaller granularity factor such as 0.1 Tb/s.
In Figure 10, the UPF utilization for the second group of services is shown. The four solutions provide similar results in all the scenarios with an average UPF utilization above 90 % . Moreover, the load distribution in the UPFs is quite balanced with the maximum imbalance below 25 % . However, most of these UPFs are overloaded with a utilization ratio above 95 % . This parameter can be improved by increasing the value of the α factor, but at the cost of affecting the number of UPFs.
It can be observed from Figure 7 and Figure 10 that there is no significant difference in the UPF load distribution for the placement solutions with and without mobility consideration for either OUP or NOUP.

5.2.3. UPFs Relocations

The UPF relocations rate was determined by considering the service data rate and the frequency of handovers between the radio access nodes (i.e., BBUs). For each use case, a probability of handover was established according to their user mobility requirements and type of region.
In Figure 11 and Figure 12, the rate of UPF relocations for services with high and low requirements are depicted. At first glance, it can be observed that OUP_M1 and NOUP_M1 provide better results in comparison to OUP_M0 and NOUP_M0, even though they all have the same number of UPFs. Specifically, OUP and NOUP for mobility considerations achieve a reduction of the UPF relocations rate of up to 55 % and 32 % , respectively, in comparison to UPF placement without mobility (see Figure 11). For services with low requirements, this difference is higher, reaching values up to 72 % and 57 % , respectively.
These results are expected as in OUP_M1 and NOUP_M1 the main objective is not only to minimize the number of UPFs but also the relocation occurrence. It can be noticed that most of the time NOUP_M1 provides similar results to OUP_M1. The difference among solutions with and without mobility considerations is more remarkable for the second group of services where the rate of relocations is much higher. This is because in this category there are more services with mobility requirements and therefore the effects of this parameter are more pronounced.
Overall, a reduction of UPF relocations with the increase of the capacity can be observed. This is more noticeable for the first group of services in City_2 region where relocations are completely reduced for C u = 2.5 Tb/s. In this case, the occurrence of relocations is zero because all the access nodes are served by the same UPF, see Figure 11b. However, it must be highlighted that a lower number of UPFs does not necessarily imply lower relocations, but it is also mandatory to take into account users mobility patterns.

5.2.4. Complexity Analysis and Execution Time

Finally, the four solutions are compared in terms of their complexity and execution time. The computational complexity of a mathematical model is given by the size of the problem which is expressed in terms of the number of variables (n) and constraints (m). However, formulating a function that relates both terms is hardly possible since this is an open issue [40]. In the worst-case, the computational complexity of the simplex algorithm was shown to be exponential in the size of the problem whereas in practice it has been found to be n x m [41]. Please note that there is a substantial difference between both approaches. Hence, the problem complexity will be formulated based on the number of variable and constraints separately and non-fixed expression will be given to establish their relationship. Table 7 characterizes the complexity of OUP for mobility and non-mobility considerations. From this table, it can be observed that the complexity of OUP_M0 and OUP_M1 in terms of their variables or constraints are O( | N r | | N c | ) and O( | N r | 2 | N c | ), respectively. Therefore, the complexity of OUP_M0 model is asymptotically smaller than that of OUP_M1.
Regarding the computational complexity of NOUP, it is determined by the main loop of Algorithm 1. This while loop will be executed K u times, being K u the levels of UPFs that must be placed. The complexity associated with the iterative processes inside this loop is given by the number of access nodes that must be assigned ( S r ) and the number of candidate locations ( N c ) which are evaluated in the innermost loop of Algorithm 1. A significant time-consuming part related to the candidate evaluation process is the execution of Algorithm 2. The time complexity of Algorithm 2 is linked to its while loop which can be specified as O(|A|), where A denotes the maximum number of access nodes that can be assigned to a candidate. Please note that A cannot be found beforehand since it depends on several factors such as the number of access nodes near a candidate ( N n r c [ n c ] ), the UPF capacity and access node demands. Hence, the overall NOUP algorithm complexity is formulated based on it. Considering the worst time-consuming scenario where only one access node is assigned to a candidate in each iteration and assuming that all the access nodes must be assigned ( S r = N r ) to K u levels of UPFs, the complexity of NOUP can be defined as O( | K u | | N r | | N c | | A | ) where A < < N r . By comparing this complexity function with any of the OUP complexity expressions, that jointly embrace variables and constraints terms, it can be concluded that NOUP complexity is smaller.
The computation time of the proposed solutions is summarized in Table 8. The first observation made from Table 8 is that the OUP_M1 model has the worst performance with running times in the order of thousands of seconds. This higher timescale makes it unfeasible for online placement. On the contrary, the running time of the other solutions is much lower, with typical values around 1s. Concretely, the average time of NOUP in urban and rural scenarios are 0.15 s and 0.33 s, respectively, whereas OUP_M0 requires 0.95 s in the cities and 0.52 s in the rural area. Thus, our heuristic provides a running time reduction of around 85 % and 35 % in urban and rural areas respectively, with respect OUP_M0. These results verify that NOUP outperforms the optimal solution. Regarding the effects of mobility consideration on the heuristics execution time, there is no significant difference, being this parameter always below 0.6 s with a maximum variation of 0.25 s.

6. Conclusions

In this paper, we provided a framework to optimize the UPFs placement based on a previous optimal location of the edge service infrastructure (i.e., ENs). The main goal was to determine the optimal number and location of ENs and UPFs to meet 5G stringent requirements in a cost-effective manner.
A thorough evaluation of the proposed placement solutions was presented. To optimize the EN placement, two strategies were proposed considering their proven use in similar problems. Overall, HSA outperformed the evolutionary method tested achieving cost savings over 20 % due to its adaptability to the problem and its better exploration of the solution space. These approaches enhance the UPF placement results by reducing their deployment costs and improving QoS since the UPF candidate locations (i.e., ENs) are optimally determined according to users’ traffic demands.
Regarding the UPFs placement, the devised solutions allow minimizing not only the deployment costs (measured in terms of the number of UPFs) but also the operational costs related to UPF relocations. Concretely, regarding user mobility, the UPF solutions regarding user mobility allowed reductions in the UPF relocation rate of up to 55 % and 70 % for services with high and low requirements, respectively, at the same deployment cost. Moreover, the proposed heuristic for UPF placement with mobility considerations provided significant run-time improvements, while keeping similar cost values when compared to the optimal. The obtained results demonstrate the assertiveness of the proposed approaches in attaining their objectives. Thus, this framework is a valuable tool for 5G network operators to efficiently plan and deploy their resources.
Future research should focus on the simultaneous and online solution of both optimization problems (i.e., ENPP, UPFPP), comparing sequential and simultaneous approaches on 5G emulated scenarios or testbeds.

Author Contributions

Conceptualization, I.L.-P., A.S.-G. and C.C.-P.; methodology, C.C.-P.; software, I.L.-P., A.S.-G. and C.C.-P.; validation, I.L.-P., A.S.-G. and C.C.-P.; Investigation, I.L.-P., A.S.-G. and C.C.-P.; formal analysis, I.L.-P., A.S.-G. and C.C.-P.; writing—original draft preparation, I.L.-P. and A.S.-G.; Writing—review and editing, I.L.-P., A.S.-G. and C.C.-P.; Supervision, C.C.-P.; Resources, C.C.-P.; Funding Acquisition, C.C.-P.; Project administration, C.C.-P.

Funding

This work has been supported by the Ministerio de Economía y Competitividad of the Spanish Government under the project [TEC2016-76795-C6-1-R and AEI/FEDER, UE] and through a predoctoral FPI scholarship.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Blanco, B.; Fajardo, J.O.; Giannoulakis, I.; Kafetzakis, E.; Peng, S.; Pérez-Romero, J.; Trajkovska, I.; Khodashenas, PS.; Goratti, L.; Paolino, M.; et al. Technology pillars in the architecture of future 5G mobile networks: NFV, MEC and SDN. Comput. Stand. Interfaces 2017, 54, 216–228. [Google Scholar] [CrossRef] [Green Version]
  2. Yousefpour, A.; Fung, C.; Nguyen, T.; Kadiyala, K.; Jalali, F.; Niakanlahiji, A.; Kong, J.; Jue, J.P. All one needs to know about fog computing and related edge computing paradigms: A complete survey. J. Syst. Archit. 2019, 98, 289–330. [Google Scholar] [CrossRef]
  3. Satyanarayanan, M. The Emergence of Edge Computing. Computer 2017, 50, 30–39. [Google Scholar] [CrossRef]
  4. Huawei Technologies, Co. 5G Network Architecture a High-Level Perspective, 2016. Available online: https://www.huawei.com/minisite/hwmbbf16/insights/5G-Nework-Architecture-Whitepaper-en.pdf (accessed on 4 March 2019).
  5. Taleb, T.; Ksentini, A. Gateway relocation avoidance-aware network function placement in carrier cloud. In Proceedings of the 16th ACM International Conference on Modeling, Analysis & Simulation of Wireless and Mobile Systems, Barcelona, Spain, 3–8 November 2013; pp. 341–346. [Google Scholar]
  6. Barbati, M. Models and Algorithms for Facility Location Problems with Equity Considerations. Ph.D. Thesis, Universita degli Studi di Napoli Federico II, Napoli, Italy, 2013. Available online: http://www.fedoa.unina.it/id/eprint/9474 (accessed on 17 January 2019).
  7. Wang, S.; Ran, C. Rethinking Cellular Network Planning and Optimization. IEEE Wirel. Commun. 2016, 23, 118–125. [Google Scholar] [CrossRef]
  8. Intharawijitr, K.; Iida, K.; Koga, H. Analysis of Fog Model Considering Computing and Communication Latency in 5G Cellular Networks. In Proceedings of the 2016 IEEE International Conference on Pervasive Computing and Communication Workshops (PerCom Workshops), Sydney, Australia, 14–18 March 2016; pp. 1–4. [Google Scholar]
  9. Balevi, E.; Gitlin, R.D. Optimizing the Number of Fog Nodes for Cloud-Fog-Thing Networks. IEEE Access 2018, 6, 11173–11183. [Google Scholar] [CrossRef]
  10. Kosmerl, J.; Vilhar, A. Base Stations Placement Optimization in Wireless Networks for Emergency Communications. In Proceedings of the 2014 IEEE International Conference on Communications Workshops (ICC), Sydney, Australia, 10–14 June 2014; pp. 200–205. [Google Scholar]
  11. Wang, S.; Zhao, Y.; Xu, J.; Yuan, J.; Hsu, C.H. Edge server placement in mobile edge computing. J. Parallel Distrib. Comput. 2018, 127, 160–168. [Google Scholar] [CrossRef]
  12. Yin, H.; Zhang, X.; Liu, H.H.; Luo, Y.; Tian, C.; Zhao, S.; Li, F. Edge Provisioning with Flexible Server Placement. IEEE Trans. Parallel Distrib. Syst. 2017, 28, 1031–1045. [Google Scholar] [CrossRef]
  13. Goiri, I.; Le, K.; Guitart, J.; Torres, J.; Bianchini, R. Intelligent placement of datacenters for internet services. In Proceedings of the 2011 31st International Conference on Distributed Computing Systems, Minneapolis, MN, USA, 20–24 June 2011; pp. 131–142. [Google Scholar]
  14. Ulukan, Z.; Demircioglu, E. A survey of discrete facility location problems. Int. J. Soc. Behav. Educ. Econ. Bus. Ind. Eng. 2015, 9, 2487–2492. [Google Scholar]
  15. Arabani, A.B.; Farahani, R.Z. Facility location dynamics: An overview of classifications and applications. Comput. Ind. Eng. 2012, 62, 408–420. [Google Scholar] [CrossRef]
  16. Bagaa, M.; Taleb, T.; Ksentini, A. Service-aware network function placement for efficient traffic handling in carrier cloud. In Proceedings of the IEEE Wireless Communications and Networking Conference (WCNC), Istanbul, Turkey, 6–9 April 2014; pp. 2402–2407. [Google Scholar]
  17. Taleb, T.; Bagaa, M.; Ksentini, A. User mobility-aware virtual network function placement for virtual 5G network infrastructure. In Proceedings of the 2015 IEEE International Conference on Communications (ICC), London, UK, 8–12 June 2015; pp. 3879–3884. [Google Scholar]
  18. Ksentini, A.; Bagaa, M.; Taleb, T. On using SDN in 5G: The controller placement problem. In Proceedings of the IEEE Global Communications Conference (GLOBECOM), Washington, DC, USA, 4–8 December 2016; pp. 1–6. [Google Scholar]
  19. Basta, A.; Blenk, A.; Hoffmann, K.; Morper, H.J.; Hoffmann, M.; Kellerer, W. Towards a Cost Optimal Design for a 5G Mobile Core Network Based on SDN and NFV. IEEE Trans. Netw. Serv. Manag. 2017, 14, 1061–1075. [Google Scholar] [CrossRef] [Green Version]
  20. Leyva-Pupo, I.; Cervelló-Pastor, C.; Llorens-Carrodeguas, A. A framework for placement and optimization of network functions in 5G. In Proceedings of the XXXIII Simposium Nacional de la Unión Científica Internacional de Radio (URSI), Granada, Spain, 5–7 September 2018. [Google Scholar]
  21. 3GPP. TS 23.501-System Architecture for the 5G System, Stage 2. Available online: http://www.3gpp.org/ftp/Specs/archive/23_series/23.501/23501-f00.zip (accessed on 16 January 2019).
  22. Brown, G. Service-Based Architecture for 5G Core Networks. Technical Report, Huawei Tech. Co. 2017. Available online: https://img.lightreading.com/downloads/Service-Based-Architecture-for-5G-Core-Networks.pdf (accessed on 13 March 2019).
  23. Santoyo-González, A.; Cervelló-Pastor, C. Latency-aware cost optimization of the service infrastructure placement in 5G networks. J. Netw. Comput. Appl. 2018, 114, 29–37. [Google Scholar] [CrossRef]
  24. Boussaïd, I.; Lepagnot, J.; Siarry, P. A survey on optimization metaheuristics. Inf. Sci. 2013, 237, 82–117. [Google Scholar] [CrossRef]
  25. Qin, J.; Xiang, H.; Ye, Y.; Ni, L. A Simulated Annealing Methodology to Multiproduct Capacitated Facility Location with Stochastic Demand. Sci. World J. 2015, 2015, 1–9. [Google Scholar] [CrossRef] [PubMed]
  26. Ho, Z.; Wu, C. Application of simulated annealing algorithm to optimization deployment of mobile wireless base stations. In Advances in Computer Science and Information Engineering; Springer: Berlin, Germany, 2012; pp. 665–670. [Google Scholar]
  27. Arostegui, M.A.; Kadipasaoglu, S.N.; Khumawala, B.M. An empirical comparison of Tabu Search, Simulated Annealing, and Genetic Algorithms for facilities location problems. Int. J. Prod. Econ. 2006, 103, 742–754. [Google Scholar] [CrossRef]
  28. Gupta, R.; Muttoo, S.K.; Pal, S.K. BAT Algorithm for Improving Fuzzy C-Means Clustering for Location Allocation of Rural Kiosks in Developing Countries under E-Governance. Egypt. Comput. Soc. J. 2016, 40, 77–86. [Google Scholar]
  29. Izakian, H.; Abraham, A. Fuzzy C-means and fuzzy swarm for fuzzy clustering problem. Expert Syst. Appl. 2011, 38, 1835–1838. [Google Scholar] [CrossRef]
  30. Tanha, M.; Sajjadi, D.; Ruby, R.; Pan, J. Capacity-aware and delay-guaranteed resilient controller placement for software-defined WANs. IEEE Trans. Netw. Serv. Manag. 2018, 15, 991–1005. [Google Scholar] [CrossRef]
  31. Hu, Y.; Wendong, W.; Gong, X.; Que, X.; Shiduan, C. Reliability-aware controller placement for software-defined networks. In Proceedings of the 2013 IFIP/IEEE International Symposium on Integrated Network Management (IM 2013), Ghent, Belgium, 27–31 May 2013; pp. 672–675. [Google Scholar]
  32. Addis, B.; Belabed, D.; Bouet, M.; Secci, S. Virtual network functions placement and routing optimization. In Proceedings of the 2015 IEEE 4th International Conference on Cloud Networking (CloudNet), Niagara Falls, ON, Canada, 5–7 October 2015; pp. 171–177. [Google Scholar]
  33. Addis, B.; Carello, G.; Ceselli, A. Exactly solving a two-level location problem with modular node capacities. Networks 2012, 59, 161–180. [Google Scholar] [CrossRef]
  34. Bejerano, Y.; Immorlica, N.; Naor, J.S.; Smith, M. Efficient location area planning for personal communication systems. In Proceedings of the 9th Annual International Conference on Mobile Computing and Networking. ACM 2003, 109–121. [Google Scholar]
  35. 5G Americas. 5G Network Transformation. Technical Report, 5G Americas, 2017. Available online: https://www.5gamericas.org/wp-content/uploads/2019/07/5G_Network_Transformation_Final.pdf (accessed on 11 July 2019).
  36. Alliance, N. Perspectives on Vertical Industries and Implications for 5G by NGMN Alliance. Technical Report, NGMN Alliance. 2016. Available online: https://www.ngmn.org/fileadmin/user_upload/160922_NGMN_-_Perspectives_on_Vertical_Industries_and_Implications_for_5G_final.pdf (accessed on 6 March 2019).
  37. Parvez, I.; Rahmati, A.; Guvenc, I.; Sarwat, A.; Dai, H. A survey on low latency towards 5G: RAN, core network and caching solutions. IEEE Commun. Surv. Tutor. 2018, 20, 3098–3130. [Google Scholar] [CrossRef]
  38. Hart, W.E.; Laird, C.D.; Watson, J.P.; Woodruff, D.L.; Hackebeil, G.A.; Nicholson, B.L.; Siirola, J.D. Pyomo-Optimization Modeling in Python; Springer: Berlin, Germany, 2017; Volume 67. [Google Scholar]
  39. Gurobi-Optimizer. Available online: https://www.gurobi.com/es/products/gurobi-optimizer/ (accessed on 5 February 2019).
  40. Till, J.; Engell, S.; Panek, S.; Stursberg, O. Applied hybrid system optimization: An empirical investigation of complexity. Control Eng. Pract. 2004, 12, 1291–1303. [Google Scholar] [CrossRef]
  41. Wang, P.; Bohacek, S. On the practical complexity of solving the maximum weighted independent set problem for optimal scheduling in wireless networks. In Proceedings of the 4th Annual International Conference on Wireless Internet, Maui, HI, USA, 17–19 November 2008. [Google Scholar]
Figure 1. 5G architecture based on CUPS.
Figure 1. 5G architecture based on CUPS.
Sensors 19 03975 g001
Figure 2. Placement framework.
Figure 2. Placement framework.
Sensors 19 03975 g002
Figure 3. A generic representation of the framework output for the ENs and UPFs placement.
Figure 3. A generic representation of the framework output for the ENs and UPFs placement.
Sensors 19 03975 g003
Figure 4. Evaluation of the proposed heuristics to solve the ENPP.
Figure 4. Evaluation of the proposed heuristics to solve the ENPP.
Sensors 19 03975 g004
Figure 5. Number of UPFs vs. capacity for services with high requirements.
Figure 5. Number of UPFs vs. capacity for services with high requirements.
Sensors 19 03975 g005
Figure 6. Number of UPFs vs. capacity for services with low requirements.
Figure 6. Number of UPFs vs. capacity for services with low requirements.
Sensors 19 03975 g006
Figure 7. UPF Utilization vs. capacity for services with high requirements.
Figure 7. UPF Utilization vs. capacity for services with high requirements.
Sensors 19 03975 g007
Figure 8. UPF adjusted capacities vs. maximum capacity for services with high requirements.
Figure 8. UPF adjusted capacities vs. maximum capacity for services with high requirements.
Sensors 19 03975 g008
Figure 9. UPF Utilization distribution in rural scenario after adjusting their capacity.
Figure 9. UPF Utilization distribution in rural scenario after adjusting their capacity.
Sensors 19 03975 g009
Figure 10. UPF Utilization vs. capacity for services with low requirements.
Figure 10. UPF Utilization vs. capacity for services with low requirements.
Sensors 19 03975 g010
Figure 11. UPF Relocation Rate vs. capacity for services with high requirements.
Figure 11. UPF Relocation Rate vs. capacity for services with high requirements.
Sensors 19 03975 g011
Figure 12. UPF Relocation Rate vs. capacity for services without low requirements.
Figure 12. UPF Relocation Rate vs. capacity for services without low requirements.
Sensors 19 03975 g012
Table 1. Framework input data.
Table 1. Framework input data.
ParameterMeaning
N e t w o r k _ T o p o l o g y Set of (R)AN elements and their coordinates
S e r v i c e _ R e q s . 5G service requirements of latency, mobility and reliability
T r a f f i c _ d e m a n d s Traffic demands in the access nodes
E N / U P F c a p a c i t i e s EN and UPF available capacities specifying at least its maximum value
M a p _ G r i d Territory of interest where (R)AN elements are located
S i t e _ R e s t r i c t i o n s Non-technical restrictions affecting EN suitable locations
Table 2. Notation used in the UPFPP formulation.
Table 2. Notation used in the UPFPP formulation.
NotationDescription
Sets and Parameters
N r Set of access nodes (TG)
N c Set of UPF candidate locations (EN)
d r Traffic demand at each access node
C u m a x Maximum capacity of each UPF
α Percentage of capacity to be used in the main UPFs
F c Fixed cost of deploying an UPF at candidate node c
F h Cost associated with UPF relocations
h i j Frequency of handovers between access nodes i and j
K u Minimum number of UPF per access node
L r c Latency between access nodes and candidates
L r e q Latency requirement between access nodes and UPFs
mMobility requirement indicator
Binary variables
x c 1 if there is a main UPF installed at candidate node c
y c 1 if there is a backup UPF installed at candidate node c
p r c 1 if access node r has a main UPF installed at node c
b r c 1 if access node r has a backup UPF installed at node c
a i j c 1 if access node i or j is assigned to a main UPF installed at candidate node c
Table 3. 5G service requirements.
Table 3. 5G service requirements.
ServiceLatencyData RateDensityReliabilitym
(ms)(Mb/s)(users/km 2 )(%)
Automated Factories≤11 10 4 (R), 0 (U)99.9990
mIoT≤ 11 10 3 (R), 10 4 (U)99.9990/1
Cooperative Sensing≤1510 (R), 100 (U)99.9991
Home & Office≤1050 (R), 300 (U)100 (R), 10 3 (U)900
Traffic Efficiency≤5255 (R), 50 (U)901
50 Mb/s everywhere≤105050 (R), 400 (U)901
Table 4. Input parameters for the Evolutionary Algorithm.
Table 4. Input parameters for the Evolutionary Algorithm.
ParameterValue
Num. Generations100.00
Num. Individuals100.00
Mutation rate0.0100
Table 5. Input parameters for the Hybrid Simulated Annealing.
Table 5. Input parameters for the Hybrid Simulated Annealing.
ParameterValue
Minimum Temperature0.0001
Maximum Temperature1.0000
Temperature Iterations10.000
Fast Alpha0.8000
Slow Alpha0.9500
Num. Neighbors10.000
Table 6. Network nodes distribution.
Table 6. Network nodes distribution.
RegionCandidate NodesAccess NodesTotal Demand (Tb/s)
ENPoPRadioFixedGroup 1Group 2
City_1131210222.6717.93
City_2121211212.3414.62
Rural33016206.3415.66
Table 7. OUP Complexity Analysis.
Table 7. OUP Complexity Analysis.
ModelTime Complexity
VariablesConstraints
OUP_M0 2 | N r | | N c | + 2 | N c | 5 | N r | | N c | + 3 | N c | + 2 | N r |
OUP_M1 | N r | 2 | N c | + 2 | N r | | N c | + 2 | N c | | N r | 2 | N c | + 5 | N r | | N c | + 3 | N c | + 2 | N r |
Table 8. Execution Time.
Table 8. Execution Time.
ScenarioModelExecution Time (s)
C u for Group 1 C u for Group 2
1.01.52.02.51.52.02.5
City_1OUP_M03.410.370.430.451.111.180.47
OUP_M110,42883525372378244190121
NOUP_M00.110.110.110.120.170.170.10
NOUP_M10.160.140.150.130.210.160.13
City_2OUP_M03.160.430.450.380.560.520.48
OUP_M136,0651719247575.73142017630,058
NOUP_M00.100.120.140.080.170.110.09
NOUP_M10.120.140.140.140.160.140.12
RuralOUP_M00.610.590.520.570.580.510.32
OUP_M113.3013.1513.0413.1320,440182,811526
NOUP_M00.370.360.330.290.330.250.09
NOUP_M10.400.290.330.310.560.430.18

Share and Cite

MDPI and ACS Style

Leyva-Pupo, I.; Santoyo-González, A.; Cervelló-Pastor, C. A Framework for the Joint Placement of Edge Service Infrastructure and User Plane Functions for 5G. Sensors 2019, 19, 3975. https://doi.org/10.3390/s19183975

AMA Style

Leyva-Pupo I, Santoyo-González A, Cervelló-Pastor C. A Framework for the Joint Placement of Edge Service Infrastructure and User Plane Functions for 5G. Sensors. 2019; 19(18):3975. https://doi.org/10.3390/s19183975

Chicago/Turabian Style

Leyva-Pupo, Irian, Alejandro Santoyo-González, and Cristina Cervelló-Pastor. 2019. "A Framework for the Joint Placement of Edge Service Infrastructure and User Plane Functions for 5G" Sensors 19, no. 18: 3975. https://doi.org/10.3390/s19183975

APA Style

Leyva-Pupo, I., Santoyo-González, A., & Cervelló-Pastor, C. (2019). A Framework for the Joint Placement of Edge Service Infrastructure and User Plane Functions for 5G. Sensors, 19(18), 3975. https://doi.org/10.3390/s19183975

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop