Elsevier

Computer Networks

Volume 175, 5 July 2020, 107259
Computer Networks

A four-stage adaptive scheduling scheme for service function chain in NFV

https://doi.org/10.1016/j.comnet.2020.107259Get rights and content

Abstract

Network Function Virtualization (NFV) enables the flexible software implementation of Network Functions (NFs) which is called Virtualized Network Function (VNF) and placed along the routing path of the network flow. A sequence of VNFs constitutes a Service Function Chain (SFC) to satisfy the processing requirements of flows. Since the SFC scheduling depends on the current network state and the dynamics of flows, it brings a great challenge to make an optimal SFC scheduling decision efficiently. In this paper, we present a Four-stage Adaptive Scheduling Scheme (FSASM) to make a trade-off between different scheduling goals and effects on network performance and management overhead. We design the specific mechanism for each stage when the network is in different workloads. Then, we prove the NP hardness of the optimization models in FSASM and propose a Minimum wEight Path Selection Algorithm (MEPS) with polynomial time complexity to realize a practical SFC scheduling. Moreover, we perform comprehensive experiments under different real-world topologies and network states. The results demonstrate that FSASM can achieve high network throughput and resource utilization as well as decrease the scaling frequency in highly dynamic network scenarios.

Introduction

Network Function Virtualization (NFV) seeks to implement Network Functions (NFs), e.g., network-level and application-level firewalls, Network Address Translation (NAT), proxies and Deep Packet Inspection (DPI), in software instead of special-purpose hardware appliances [1], [2], [3], which brings many benefits of high controllability, low cost and elastic scaling [4]. These software-based NFs, named Virtualized Network Functions (VNFs), can be deployed as Virtual Machines (VMs) or containers on commodity servers. When a network flow requires to be processed by several VNFs before it is forwarded to its destination [5], [6], the sequence of these VNFs constitutes a Service Function Chain (SFC) that describes the concrete processing requirement. The inappropriate SFC placement leads to the unnecessary waste of network resources, while the efficient one can take advantage of all available capacities. Hence, the transaction performance of the network depends on the scheduling results of SFCs.

Since the emergence of Software-Defined Networking (SDN) makes the management of SFCs easier through a global steering of routing paths among multiple VNFs at arbitrary locations in the network [7], [8], [9], the massive plausible scheduling candidates that satisfy the demands of all flows confuse the controller for selecting the optimal result. Furthermore, the variation of the flow rate and the dynamic of the network state sharply increase the difficulty of the SFC placement. Over the past years, a variety of researchers have made great efforts to address the SFC scheduling problem [10], [11], [12], [13], [14], [15], [16]. However, there still exist two problems. One is that these works usually concentrate on a single goal regardless of the mutable and unpredictable network situation [17], [18], which results in the improper decision and the temporary mismatching between the flow requirement and the capacity of the corresponding SFC. The other is that most studies ignore the considerable cost of elastic scaling in SFC, while it is hard to perform scaling in practice because launching a new VNF instance consumes a great deal of bandwidth and computing resources that are induced by the transfer of VM images, system booting, device attachment and state updating [19], [20], [21]. Moreover, the frequent scaling brings about the high management overhead and the long pause time. Therefore, it needs a novel scheduling scheme to efficiently overcome the performance degradation in highly dynamic network scenarios while ensuring the low management cost.

Revisiting previous SFC scheduling works, there still exists an inherent major drawback that hinders the improvement of the SFC management. As a VNF instance is overloaded, existing schemes directly trigger a scaling-out action to launch a new VNF instance [21], but the available capacity of the shared resource in the server where the VNF instance locates is not fully utilized [22], [23]. Fig. 1 illustrates the typical transmission-mismatch problem which exposes the effect of the resource utilization on the performance of the SFC management. The transmission-mismatch problem is a phenomenon that the arrival rate of data exceeds the maximum departure rate in a VNF instance, which may result from the limited processing ability of the VNF instance or the bandwidth constraint. In the multi-tenancy scenario, Fig. 1 describes a phenomenon that the SFC flows f1 and f2 pass through the paths {sw1, FW, sw3, DPI, sw4} and {sw1, sw2, sw3, DPI, sw4} respectively, while the common path, i.e., {sw3, DPI, sw4}, becomes an inevitable bottleneck. The VNF instances along the common path may overload when the traffic burst happens on either SFC or a new SFC flow arrives. For example, either f2 getting large due to the generation of the more SFC data or a new SFC flow f3 being deployed on the path of f2 will both exhaust the capacities of {sw3, DPI, sw4}. Especially, sw3 is the critical node that suffers from the huge pressure of processing for ensuring the performance of all flows. Once the common resource is overloaded, directly dropping extra packets severely hurts the performance of SFC flows and causes the waste of the work done by previous VNF instances, but the simple scaling results in the high cost and is not necessary in the scenario of the transient overload due to the temporal traffic burst. Thus, an excellent SFC management scheme should take full advantage of the available resource in common instances to absorb the additional traffic for improving the handling efficiency and decreasing the frequency of scaling, which can not only alleviate the handling bottleneck and ensure the performance of SFC flows but also reduce management overhead.

Since assigning paths for SFC flows is the most important thing in the SFC management, we concentrate on the scheduling of SFC flows and the scaling of VNF instances. In this paper, we present FSASM, a Four-stage Adaptive Scheduling Scheme, to make a trade-off between different scheduling goals and the effects on network performance and management overhead. FSASM makes great efforts to efficiently deploy SFCs in the current network situation and perform the least but inevitable scaling events. FSASM classifies the SFC scheduling process into four stages based on different network workloads and resource utilization. In the first stage, we design the Lowest lAtency Mechanism (LAM) to take both the processing rate and the resource utilization into consideration, because the relatively small workload gives a chance to apportion the handling cost and increase the resource usage. In the second stage, with the growth of SFC demands, we propose the Dynamic rEsource Reservation Mechanism (DERM) to reduce unnecessary scaling and management overhead. In the third stage, as the VNF overload cannot be eliminated by any scheduling mechanism, we develop a novel adaptive caching mechanism to solve the transmission-mismatch problem by leveraging the shared resource in the server. In the fourth stage, once all previous mechanisms fail, FSASM falls back to directly scale the bottleneck VNF instances. While FSASM adopts SDN to achieve the SFC management, we utilize our proposed scheme, SARD [24], to reduce the number of forwarding rules and realize the fast flow-level consistent update. Furthermore, we model the SFC scheduling problems in LAM and DERM by Integer Linear Programming (ILP) as well as prove their NP hardness. And we devise the Minimum wEight Path Selection Algorithm (MEPS) with polynomial time complexity to solve the NP-hard problems in FSASM. We perform comprehensive experiments in various network scenarios. The results demonstrate that FSASM can obviously improve network throughput and decrease the scaling frequency, especially under highly dynamic network situations.

Our main contributions are summarized as follows:

  • We present a Four-stage Adaptive Scheduling Scheme that meets the requirements of highly dynamic flows and achieves high network performance while reducing unnecessary scaling events and the management cost by leveraging different mechanisms in each stage.

  • We formulate the SFC scheduling problems in FSASM by using Integer Linear Programming and devise an efficient algorithm to solve the corresponding problems which are proven as NP-hard.

  • We conduct comprehensive experiments in various network scenarios to demonstrate the efficiency of our proposed designs.

The rest of this paper is organized as follows. In Section 2, we discuss related works. In Section 3, we detail the models of network and SFC. We elaborate on FSASM in Section 4. In Section 5, we prove the NP hardness of the scheduling problems in FSAM and present MEPS to solve these problems. In Section 6, we evaluate the performance of our designs. Section 7 concludes our work and provides future directions.

Section snippets

Related work

In this section, we introduce existing works about the SFC scheduling and the utilization of the shared resource that are closely related to our work.

Network model

In our work, the NFV network is implemented by leveraging SDN, where numerous switches and server nodes are connected by bi-directional physical links. We suppose that a commodity server can deploy more than one Virtual Machines(VMs) and each VM is mapped one-to-one to a VNF instance. The NFV network can be modeled as an edge-weighted vertex-weighted directed graph G ≔ (V, E), where V represents the set of servers and switches, and E is the set of network links. We define V=NS where N denotes

The four-Stage adaptive scheduling scheme

By observing the scaling events of VNF instances, we find that the late scaling-out event makes the network vulnerable to the micro traffic burst while the sensitive scaling results in the low utilization. Moreover, the short duration of the micro traffic burst leads to the frequent oscillation of the scaling and wastes the unnecessary VNF resource with only the scaling method taken into consideration. Hence, for improving network performance and ensuring a better network stability, designing a

Minimum weight path selection algorithm

In this section, we start by proving that the scheduling problems in the first and the second stages are NP-hard. Then, we propose a Minimum wEight Path Selection Algorithm (MEPS) with polynomial time complexity to solve these problems.

Numerical validation

In this section, we conduct simulations to evaluate the performance of FSASM. After presenting the network and the flow settings, we compare FSASM against three schemes in different real-world topologies.

Conclusion and future work

In this paper, we present a Four-Stage Adaptive Scheduling Scheme (FSASM) which is able to make a trade-off between different scheduling goals and the effects on network performance and management overhead for realizing an adaptive and farsighted SFC scheduling. We design the specific mechanism for each stage in FSASM to solve different problems in different network states. In the first stage, we propose the Lowest lAtency Mechanism (LAM) to fully utilize the network resources. In the second

CRediT authorship contribution statement

Gengbiao Shen: Conceptualization, Methodology, Software, Formal analysis, Writing - original draft. Qing Li: Conceptualization, Methodology, Writing - review & editing. Yong Jiang: Resources, Supervision, Project administration, Funding acquisition. Yu Wu: Investigation, Resources, Data curation. Jianhui Lv: Software, Validation, Visualization.

Declaration of Competing Interest

The authors declare that they have no known competing financialinterestsor personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgment

This work is supported by National Natural Science Foundation of China under grant No. 61972189 and 61702098, Guangdong Province Key Area R&D Program under grant No. 2018B010113001, the project “PCL Future Greater-Bay Area Network Facilities for Large-scale Experiments and Applications (LZC0019)” and the Shenzhen Key Lab of Software Defined Networking under grant No. ZDSYS20140509172959989.

Gengbiao Shen received the B.S. degree (2013) and the M.S degree (2016) from Beihang University, Beijing, China, both in instrument science and technology. He is currently a Ph.D. candidate at Tsinghua University, China. His research interests include data center network, in-network caching, intelligent network, software-defined networking, flow scheduling, load balancing, etc.

References (45)

  • Y. Li et al.

    Network functions virtualization with soft real-time guarantees

    35th Annual IEEE International Conference on Computer Communications, INFOCOM 2016, San Francisco, CA, USA, April 10–14, 2016

    (2016)
  • Q. Li et al.

    Sard: a smart approach of rule division for fast flow-level consistent update in sdn

    Comput. Netw.

    (2015)
  • V. Sekar et al.

    The middlebox manifesto: enabling innovation in middlebox deployment

    Proceedings of the 10th ACM Workshop on Hot Topics in Networks

    (2011)
  • V. Sekar et al.

    Design and implementation of a consolidated middlebox architecture

    Proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2012, San Jose, CA, USA, April 25–27, 2012

    (2012)
  • M. Nakanoya, Y. Sato, H. Shimonishi, Environment-adaptive sizing and placement of NFV service chains with accelerated...
  • W. Ma et al.

    Traffic aware placement of interdependent NFV middleboxes

    2017 IEEE Conference on Computer Communications, INFOCOM 2017, Atlanta, GA, USA, May 1–4, 2017

    (2017)
  • J.M. Halpern et al.

    Service function chaining (SFC) architecture

    RFC

    (2015)
  • P. Zave et al.

    Dynamic service chaining with dysco

    Proceedings of the Conference of the ACM Special Interest Group on Data Communication

    (2017)
  • A. Ghodsi et al.

    Multi-resource fair queueing for packet processing

    ACM SIGCOMM 2012 Conference, SIGCOMM ’12, Helsinki, Finland - August 13, - 17, 2012

    (2012)
  • Y. Chen et al.

    Virtual network function deployment in tree-structured networks

    2018 IEEE 26th International Conference on Network Protocols, ICNP 2018, Cambridge, UK, September 25–27, 2018

    (2018)
  • H. Hawilo et al.

    Network function virtualization-aware orchestrator for service function chaining placement in the cloud

    IEEE J. Sel. Areas Commun.

    (2019)
  • Y. Zhang et al.

    Steering: A software-defined networking for inline service chaining

    Network Protocols (ICNP), 2013 21st IEEE International Conference on

    (2013)
  • A. Dwaraki et al.

    Adaptive service-chain routing for virtual network functions in software-defined networks

    Proceedings of the ACM SIGCOMM Workshop on Hot topics in Middleboxes and Network Function Virtualization, HotMiddlebox@SIGCOMM 2016, Florianopolis, Brazil, August, 2016

    (2016)
  • A. Hirwe et al.

    Lightchain: A lightweight optimisation of VNF placement for service chaining in NFV

    NetSoft Conference and Workshops (NetSoft), 2016 IEEE

    (2016)
  • A. Gushchin et al.

    Scalable routing in sdn-enabled networks with consolidated middleboxes

    Proceedings of the 2015 ACM SIGCOMM Workshop on Hot Topics in Middleboxes and Network Function Virtualization

    (2015)
  • V. Sekar et al.

    Design and implementation of a consolidated middlebox architecture

    Proceedings of the 9th USENIX conference on Networked Systems Design and Implementation

    (2012)
  • S. Sahhaf et al.

    Network service chaining with efficient network function mapping based on service decompositions

    Network Softwarization (NetSoft), 2015 1st IEEE Conference on

    (2015)
  • S. Mehraghdam et al.

    Specifying and placing chains of virtual network functions

    2014 IEEE 3rd International Conference on Cloud Networking (CloudNet)

    (2014)
  • Y. Xiao et al.

    Nfvdeep: adaptive online service function chain deployment with deep reinforcement learning

    Proceedings of the International Symposium on Quality of Service, IWQoS 2019, Phoenix, AZ, USA, June 24–25, 2019.

    (2019)
  • S. Woo et al.

    Elastic scaling of stateful network functions

    15th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2018, Renton, WA, USA, April 9–11, 2018

    (2018)
  • M.C. Luizelli et al.

    Optimizing NFV chain deployment through minimizing the cost of virtual switching

    2018 IEEE Conference on Computer Communications, INFOCOM 2018, Honolulu, HI, USA, April 16–19, 2018

    (2018)
  • X. Wang et al.

    Online VNF scaling in datacenters

    9th IEEE International Conference on Cloud Computing, CLOUD 2016, San Francisco, CA, USA, June 27, - July 2, 2016

    (2016)
  • Cited by (3)

    • A comprehensive survey of service function chain provisioning approaches in SDN and NFV architecture

      2020, Computer Science Review
      Citation Excerpt :

      This is the only work that has implemented energy efficient orchestration to handle online SFC requests in a multi-domain network. A Four Stage Adaptive Scheduling Mechanism (FSASM) to meet both dynamic flows and network performance requirements has been suggested in [109]. NP hardness of FSASM is proved and then a minimum weight path selection scheme (MEPS) is discussed.

    Gengbiao Shen received the B.S. degree (2013) and the M.S degree (2016) from Beihang University, Beijing, China, both in instrument science and technology. He is currently a Ph.D. candidate at Tsinghua University, China. His research interests include data center network, in-network caching, intelligent network, software-defined networking, flow scheduling, load balancing, etc.

    Qing Li received the B.S. degree (2008) from Dalian University of Technology, Dalian, China, the Ph.D. degree (2013) from Tsinghua University, Beijing, China; both in computer science and technology. He is currently an associate professor at Southern University of Science and Technology, China. His research interests include reliable and scalable routing of the Internet, software defined networks, network function virtualization, in-network caching/computing, intelligent self-running network, etc.

    Yong Jiang received the B.S. degree (1998) and the Ph.D. degree (2002) from Tsinghua University, Beijing, China, both in computer science and technology. He is currently a full professor at the Tsinghua Shenzhen International Graduate School, Tsinghua University. His research interests include the future network architecture, the Internet QoS, software defined networks, network function virtualization, etc.

    Yu Wu is currently a Research Associate Professor from Southern University of Science and Technology. He graduated from Tsinghua University and got his B.S and M.A degrees in 2006 and 2009, respectively. He got his Ph.D degree in 2013, and worked as a Postdoctoral Fellow in Arizona State University during 2013–2015. His Research interests include edge computing, Internet of things, etc.

    Jianhui Lv received B.S. degree in mathematics and applied mathematics from the Jilin Institute of Chemical Technology, Jilin, China in 2012, and M.S. & Ph.D degree in computer science from the Northeastern University, Shenyang, China in 2014 & 2018. He worked at the Network Technology Lab, Central Research Institute, Huawei Technologies Co. Ltd, Shenzhen, China as a senior engineer from Jan. 2018 to Jul. 2019. He is currently an assistant research fellow at Tsinghua Shenzhen International Graduate School, Tsinghua University. His research interests include ICN, in-network caching enabled networks, IoT, edge computing, etc. He has published more than 20 journal and conference papers, such as Elsevier COMNET, Elsevier ASOC, Elsevier JNCA, IEEE COML, IEEE INFOCOM, IEEE/ACM IWQoS, etc. He is a member of the IEEE.

    View full text