TY - JOUR
T1 - H-Container: Enabling Heterogeneous-ISA Container Migration in Edge Computing
AU - Xing, Tong
AU - Barbalace, Antonio
AU - Olivier, Pierre
AU - Karaoui, Mohamed L.
AU - Wang, Wei
AU - Ravindran, Binoy
N1 - Funding Information:
T. Xing, A. Barbalace, W. Wang performed part of this work when at Stevens Institute of Technology. This article is based on a paper published at VEE 2020 [11]. The main delta over this work is the development of H-Container support for Docker and live-migration. Hence, the principal additions in this article include the presentation of the design, implementation, and evaluation of H-Container’s Docker and live-migration support. Moreover, the evaluation of H-Container on an additional set of benchmarks (including OCR and RANSAC) and platforms (specifically, AWS) has been added to this version of the paper. This article also includes several other minor additions. This work is funded in part by the UK’s EPSRC grant EP/V012134/1 (UniFaaS) and in part by the US Office of Naval Research under grants N00014-16-1-2104, N00014-16-1-2711, N00014-18-1-2022, and N00014-19-1-2493. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]. © 2022 Association for Computing Machinery. 0734-2071/2022/07-ART5 $15.00 https://doi.org/10.1145/3524452
Publisher Copyright:
© 2022 Association for Computing Machinery.
PY - 2022/7/5
Y1 - 2022/7/5
N2 - Edge computing is a recent computing paradigm that brings cloud services closer to the client. Among other features, edge computing offers extremely low client/server latencies. To consistently provide such low latencies, services should run on edge nodes that are physically as close as possible to their clients. Thus, when the physical location of a client changes, a service should migrate between edge nodes to maintain proximity. Differently from cloud nodes, edge nodes integrate CPUs of different Instruction Set Architectures (ISAs), hence a program natively compiled for a given ISA cannot migrate to a server equipped with a CPU of a different ISA. This hinders migration to the closest node. We introduce H-Container, a system which migrates natively-compiled containerized applications across compute nodes featuring CPUs of different ISAs. H-Container advances over existing heterogeneous-ISA migration systems by being a) highly compatible – no user’s source-code nor compiler toolchain modifications are needed; b) easily deployable – fully implemented in user space, thus without any OS or hypervisor dependency, and c) largely Linux compliant – it can migrate most Linux software, including server applications and dynamically linked binaries. H-Container targets Linux and its already-compiled executables, adopts LLVM, extends CRIU, and integrates with Docker. Experiments demonstrate that H-Container adds no overheads during program execution, while 10 − 100ms are added during migration. Furthermore, we show the benefits of H-Container in real-world scenarios, demonstrating for example up to (94% ) increase in Redis throughput when client/server proximity is maintained through heterogeneous container migration.
AB - Edge computing is a recent computing paradigm that brings cloud services closer to the client. Among other features, edge computing offers extremely low client/server latencies. To consistently provide such low latencies, services should run on edge nodes that are physically as close as possible to their clients. Thus, when the physical location of a client changes, a service should migrate between edge nodes to maintain proximity. Differently from cloud nodes, edge nodes integrate CPUs of different Instruction Set Architectures (ISAs), hence a program natively compiled for a given ISA cannot migrate to a server equipped with a CPU of a different ISA. This hinders migration to the closest node. We introduce H-Container, a system which migrates natively-compiled containerized applications across compute nodes featuring CPUs of different ISAs. H-Container advances over existing heterogeneous-ISA migration systems by being a) highly compatible – no user’s source-code nor compiler toolchain modifications are needed; b) easily deployable – fully implemented in user space, thus without any OS or hypervisor dependency, and c) largely Linux compliant – it can migrate most Linux software, including server applications and dynamically linked binaries. H-Container targets Linux and its already-compiled executables, adopts LLVM, extends CRIU, and integrates with Docker. Experiments demonstrate that H-Container adds no overheads during program execution, while 10 − 100ms are added during migration. Furthermore, we show the benefits of H-Container in real-world scenarios, demonstrating for example up to (94% ) increase in Redis throughput when client/server proximity is maintained through heterogeneous container migration.
KW - Edge
KW - Migration
KW - Heterogeneous ISA
KW - Containers
U2 - 10.1145/3524452
DO - 10.1145/3524452
M3 - Article
SN - 0734-2071
VL - 39
JO - ACM Transactions on Computer Systems
JF - ACM Transactions on Computer Systems
IS - 1-4
M1 - 5
ER -