n0derunner

    Containers in VM Vs Containers on Bare metal for AI workloads.

    Published: (Updated: ) in Workloads & Benchmarks by .

    TL;DR – Running a VLLM container inside a VM was either the same performance or slightly better than running the exact same container directly on Bare Metal.

    We recently conducted some experiments in the performance lab to compare the impact of running containerized AI workloads running in Virtual Machines (VMs) to running the exact same containerized workloads directly on Bare Metal (BM).

    The workload we chose is AIPerf. AIPerf is a widely used benchmarking tool that runs against an inferencing endpoint, meaning that the entire inferencing stack is being exercised – rather than just the GPU itself.

    We specifically chose a larger ISL/OSL (Input/Output Sequence Length) to maximize the communication between the CPU and GPU during the preload phase. Any overhead of virtualization should be shown in a test like this.

    Results

    Running the AIPerf benchmark against the RTX6000 Pro GPU exposing a model via vLLM showed that running the vLLM container in a VM was about the same performance or slightly better than the same containerized workload running directly on Bare Metal.

    Experiment Details

    Specific versions of hardware and software used in the experiments outlined below:

    Comments

    Leave a Comment