Skip to main content
QUICK REVIEW

[Paper Review] Virtualization & Microservice Architecture for Software-Defined Vehicles: An Evaluation and Exploration

Long Wen, Markus Rickert|arXiv (Cornell University)|Dec 13, 2024
Software System Performance and ReliabilityComputer Science3 citations
TL;DR

This paper evaluates containerization, virtualization, and microservice architectures in software-defined vehicles (SDVs), demonstrating that with proper configuration, these technologies can achieve near-bare-metal performance—reducing disk I/O by up to 35% in virtualized environments while enabling an 18% faster start-up time via microservice orchestration using k3s on AMD64 platforms.

ABSTRACT

The emergence of Software-Defined Vehicles (SDVs) signifies a shift from a distributed network of electronic control units (ECUs) to a centralized computing architecture within the vehicle's electrical and electronic systems. This transition addresses the growing complexity and demand for enhanced functionality in traditional E/E architectures, with containerization and virtualization streamlining software development and updates within the SDV framework. While widely used in cloud computing, their performance and suitability for intelligent vehicles have yet to be thoroughly evaluated. In this work, we conduct a comprehensive performance evaluation of containerization and virtualization on embedded and high-performance AMD64 and ARM64 systems, focusing on CPU, memory, network, and disk metrics. In addition, we assess their impact on real-world automotive applications using the Autoware framework and further integrate a microservice-based architecture to evaluate its start-up time and resource consumption. Our extensive experiments reveal a slight 0-5% performance decline in CPU, memory, and network usage for both containerization and virtualization compared to bare-metal setups, with more significant reductions in disk operations-5-15% for containerized environments and up to 35% for virtualized setups. Despite these declines, experiments with actual vehicle applications demonstrate minimal impact on the Autoware framework, and in some cases, a microservice architecture integration improves start-up time by up to 18%.

Motivation & Objective

  • To evaluate the performance overhead of virtualization and containerization in embedded and high-performance automotive platforms (AMD64 and ARM64).
  • To assess the impact of these virtualization technologies on real-world autonomous driving workloads using the Autoware framework.
  • To explore the feasibility and performance implications of integrating a microservice-based architecture into SDVs.
  • To identify performance trade-offs between system flexibility and start-up efficiency when scaling microservices.
  • To provide a benchmark-driven reference for selecting optimal virtualization and containerization stacks in SDV development.

Proposed method

  • Conducted comprehensive benchmarking on bare-metal, KVM virtual machines, and containerized environments (Docker, Podman, Nspawn) across embedded, AMD64, and ARM64 platforms.
  • Measured CPU, memory, network, and disk I/O performance using standardized tools, with results compared to bare-metal baselines.
  • Integrated a microservice-based architecture into the Autoware framework by decomposing modules into 10, 16, and 26 dedicated containers.
  • Orchestrated containers using k3s, a lightweight Kubernetes distribution, to evaluate start-up time and resource consumption.
  • Evaluated real-world performance under workload conditions simulating autonomous vehicle operation, including ROS node scaling.
  • Analyzed performance deviations at scale, particularly when container count exceeded system launch capacity, to identify hardware bottlenecks.

Experimental results

Research questions

  • RQ1What is the performance overhead of virtualization and containerization on embedded and high-performance automotive platforms (AMD64 and ARM64) across CPU, memory, network, and disk metrics?
  • RQ2How do virtualization and containerization affect real-world autonomous driving workloads, specifically within the Autoware framework?
  • RQ3To what extent does a microservice-based architecture improve start-up time and resource management in SDVs compared to monolithic deployment?
  • RQ4What trade-offs exist between architectural flexibility and performance when scaling microservices in SDV environments?
  • RQ5Can containerized and virtualized environments achieve performance comparable to bare-metal systems in automotive workloads?

Key findings

  • Virtualization and containerization result in a 0–5% performance degradation across CPU, memory, and network usage compared to bare-metal systems.
  • Disk I/O performance is significantly impacted, with virtualized environments (KVM) experiencing up to a 35% performance loss compared to bare-metal.
  • Containerized environments show a 5–15% reduction in disk I/O performance, while virtualized setups suffer greater degradation.
  • On the AMD64 platform, k3s orchestration reduced Autoware start-up time by 18% compared to bare-metal when using a microservice architecture.
  • On the ARM64 platform, k3s start-up was 8% faster than bare-metal, while Docker and KVM were 33% and 23% slower, respectively.
  • Excessive containerization (26 containers) led to performance degradation due to hardware limitations, with start-up times increasing as k3s could not launch all containers simultaneously.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.