EmuEdge: A Hybrid Emulator for Reproducible and Realistic Edge Computing Experiments

Numerous recent research efforts have been devoted to edge computing due to its key role in supporting emerging IoT applications. Prior to deploying edge technologies to real- world environments, they need to be adequately tested, tuned and validated. However, to our best knowledge, a testing platform for edge computing that provides both networking and computing realism at low cost is still missing. In this paper, we present EmuEdge, a hybrid emulator based on Linux netns and Xen for full-stack edge computing emulation. Supporting both container and VM, EmuEdge is the first edge computing emulator that takes advantage of both OS level and system level virtualization. Meanwhile, EmuEdge provides interfaces to integrate with both simulators and testbeds. The hybrid design provides on-demand realism on both networking and computing plane while ensuring emulation scalability. Moreover, it supports network replay and can be configured with an easy-to-use configuration tool. Through extensive experiments, we demonstrate that EmuEdge provides more realistic computation isolation and higher network fidelity than the state-of-the-art solutions.

[1]  Rajkumar Buyya,et al.  iFogSim: A toolkit for modeling and simulation of resource management techniques in the Internet of Things, Edge and Fog computing environments , 2016, Softw. Pract. Exp..

[2]  Jelena Mirkovic,et al.  DETERLab and the DETER Project , 2016, The GENI Book.

[3]  Sergio Barbarossa,et al.  Joint Optimization of Radio and Computational Resources for Multicell Mobile-Edge Computing , 2014, IEEE Transactions on Signal and Information Processing over Networks.

[4]  Patrick Lardieri,et al.  National Cyber Range (NCR) automated test tools: Implications and application to network-centric support tools , 2010, 2010 IEEE AUTOTESTCON.

[5]  Khaled Ben Letaief,et al.  Dynamic Computation Offloading for Mobile-Edge Computing With Energy Harvesting Devices , 2016, IEEE Journal on Selected Areas in Communications.

[6]  Dirk Merkel,et al.  Docker: lightweight Linux containers for consistent development and deployment , 2014 .

[7]  Werner Almesberger,et al.  Traffic Control - Next Generation , 2003 .

[8]  Mark Carson,et al.  NIST Net: a Linux-based network emulation tool , 2003, CCRV.

[9]  I-Hong Hou,et al.  Asymptotically optimal algorithm for online reconfiguration of edge-clouds , 2016, MobiHoc.

[10]  Wenzhong Li,et al.  Efficient Multi-User Computation Offloading for Mobile-Edge Cloud Computing , 2015, IEEE/ACM Transactions on Networking.

[11]  Himansu Das,et al.  MistGIS : Optimizing Geospatial Data Analysis Using Mist Computing , 2018 .

[12]  Yoichi Shinoda,et al.  StarBED and SpringOS: large-scale general purpose network testbed and supporting software , 2006, valuetools '06.

[13]  Ruben Mayer,et al.  EmuFog: Extensible and scalable emulation of large-scale fog computing infrastructures , 2017, 2017 IEEE Fog World Congress (FWC).

[14]  Radu Stoleru,et al.  Mobile storm: Distributed real-time stream processing for mobile clouds , 2015, 2015 IEEE 4th International Conference on Cloud Networking (CloudNet).

[15]  Nick McKeown,et al.  OpenFlow: enabling innovation in campus networks , 2008, CCRV.

[16]  Jakub Dolezal,et al.  Performance evaluation of computation offloading from mobile device to the edge of mobile network , 2016, 2016 IEEE Conference on Standards for Communications and Networking (CSCN).

[17]  Nick Feamster,et al.  Trellis: a platform for building flexible, fast virtual networks on commodity hardware , 2008, CoNEXT '08.

[18]  Mike Hibler,et al.  An integrated experimental environment for distributed systems and networks , 2002, OSDI '02.

[19]  Thomas F. La Porta,et al.  It's Hard to Share: Joint Service Placement and Request Scheduling in Edge Clouds with Sharable and Non-Sharable Resources , 2018, 2018 IEEE 38th International Conference on Distributed Computing Systems (ICDCS).

[20]  M. Gerla,et al.  GloMoSim: a library for parallel simulation of large-scale wireless networks , 1998, Proceedings. Twelfth Workshop on Parallel and Distributed Simulation PADS '98 (Cat. No.98TB100233).

[21]  Paramvir Bahl,et al.  The Case for VM-Based Cloudlets in Mobile Computing , 2009, IEEE Pervasive Computing.

[22]  Luigi Rizzo,et al.  Dummynet revisited , 2010, CCRV.

[23]  Rodrigo Roman,et al.  Mobile Edge Computing, Fog et al.: A Survey and Analysis of Security Threats and Challenges , 2016, Future Gener. Comput. Syst..

[24]  Chen Yang,et al.  F-MStorm: Feedback-Based Online Distributed Mobile Stream Processing , 2018, 2018 IEEE/ACM Symposium on Edge Computing (SEC).

[25]  Mike Hibler,et al.  Large-scale Virtualization in the Emulab Network Testbed , 2008, USENIX ATC.

[26]  Rajkumar Buyya,et al.  Fog Computing: Helping the Internet of Things Realize Its Potential , 2016, Computer.

[27]  David E. Culler,et al.  PlanetLab: an overlay testbed for broad-coverage services , 2003, CCRV.

[28]  Martin Dräxler,et al.  MaxiNet: Distributed emulation of software-defined networks , 2014, 2014 IFIP Networking Conference.

[29]  Jignesh M. Patel,et al.  Storm@twitter , 2014, SIGMOD Conference.

[30]  Martín Casado,et al.  The Design and Implementation of Open vSwitch , 2015, NSDI.

[31]  Nick McKeown,et al.  A network in a laptop: rapid prototyping for software-defined networks , 2010, Hotnets-IX.

[32]  Raja Lavanya,et al.  Fog Computing and Its Role in the Internet of Things , 2019, Advances in Computer and Electrical Engineering.

[33]  Amin Vahdat,et al.  DieCast: Testing Distributed Systems with an Accurate Scale Model , 2008, TOCS.

[34]  Christian Esteve Rothenberg,et al.  Mininet-WiFi: Emulating software-defined wireless networks , 2015, 2015 11th International Conference on Network and Service Management (CNSM).

[35]  Zdenek Becvar,et al.  Mobile Edge Computing: A Survey on Architecture and Computation Offloading , 2017, IEEE Communications Surveys & Tutorials.

[36]  Xinjie Chang Network simulations with OPNET , 1999, WSC '99.

[37]  Martín Casado,et al.  Extending Networking into the Virtualization Layer , 2009, HotNets.

[38]  T.R. Henderson,et al.  CORE: A real-time network emulator , 2008, MILCOM 2008 - 2008 IEEE Military Communications Conference.

[39]  Zdenek Becvar,et al.  Dynamic resource allocation exploiting mobility prediction in mobile edge computing , 2016, 2016 IEEE 27th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC).

[40]  Khaled A. Harras,et al.  Cumulus: A distributed and flexible computing testbed for edge cloud computational offloading , 2016, 2016 Cloudification of the Internet of Things (CIoT).

[41]  Nick McKeown,et al.  Reproducible network experiments using container-based emulation , 2012, CoNEXT '12.

[42]  S. Hemminger Network Emulation with NetEm , 2022 .

[43]  S Ramgovind,et al.  The management of security in Cloud computing , 2010, 2010 Information Security for South Africa.

[44]  Massimo Rimondini,et al.  Netkit: easy emulation of complex networks on inexpensive hardware , 2008, TRIDENTCOM.

[45]  George F. Riley,et al.  The ns-3 Network Simulator , 2010, Modeling and Tools for Network Simulation.

[46]  Carlos Arango,et al.  Performance Evaluation of Container-based Virtualization for High Performance Computing Environments , 2017, Revista UIS Ingenierías.

[47]  Dejan Kostic,et al.  Scalability and accuracy in a large-scale network emulator , 2002, CCRV.

[48]  Sanjay Ghemawat,et al.  MapReduce: Simplified Data Processing on Large Clusters , 2004, OSDI.

[49]  Laurent Lemarchand,et al.  An Extension to iFogSim to Enable the Design of Data Placement Strategies , 2018, 2018 IEEE 2nd International Conference on Fog and Edge Computing (ICFEC).

[50]  Teruo Higashino,et al.  Edge-centric Computing: Vision and Challenges , 2015, CCRV.

[51]  Akihiro Nakao,et al.  GENI: A federated testbed for innovative network experiments , 2014, Comput. Networks.