Skip to main content
QUICK REVIEW

[Paper Review] OSMOSIS: Enabling Multi-Tenancy in Datacenter SmartNICs

Mikhail Khalilov, Marcin Chrapek|arXiv (Cornell University)|Sep 7, 2023
Software-Defined Networks and 5GComputer Science3 citations
TL;DR

OSMOSIS is a lightweight, hardware-assisted resource manager co-designed for SmartNICs to enable fair, work-conserving multi-tenancy in datacenters. It provides performance isolation and QoS for compute, DMA, and egress bandwidth via SR-IOV virtualization and a novel scheduling policy, achieving up to 63% faster flow completion times and 83% higher fairness than traditional schedulers.

ABSTRACT

Multi-tenancy is essential for unleashing SmartNIC's potential in datacenters. Our systematic analysis in this work shows that existing on-path SmartNICs have resource multiplexing limitations. For example, existing solutions lack multi-tenancy capabilities such as performance isolation and QoS provisioning for compute and IO resources. Compared to standard NIC data paths with a well-defined set of offloaded functions, unpredictable execution times of SmartNIC kernels make conventional approaches for multi-tenancy and QoS insufficient. We fill this gap with OSMOSIS, a SmartNICs resource manager co-design. OSMOSIS extends existing OS mechanisms to enable dynamic hardware resource multiplexing of the on-path packet processing data plane. We integrate OSMOSIS within an open-source RISC-V-based 400Gbit/s SmartNIC. Our performance results demonstrate that OSMOSIS fully supports multi-tenancy and enables broader adoption of SmartNICs in datacenters with low overhead.

Motivation & Objective

  • Address the lack of performance isolation and QoS in existing on-path SmartNICs for multi-tenant datacenter workloads.
  • Overcome the challenges of unpredictable kernel execution times in SmartNICs that prevent conventional multi-tenancy mechanisms from working effectively.
  • Design a system that fairly multiplexes three critical resources—compute, DMA bandwidth, and egress bandwidth—across concurrent, heterogeneous workloads.
  • Enable efficient, work-conserving resource allocation with minimal hardware overhead while supporting expressive SLO semantics.
  • Demonstrate that the proposed system enables broader adoption of SmartNICs in production datacenters through low-latency, predictable performance isolation.

Proposed method

  • Co-design a lightweight management layer, OSMOSIS, that integrates hardware scheduling for performance-critical tasks and offloads non-critical management to a flexible software runtime.
  • Expose the SmartNIC to each tenant via Single-Root I/O Virtualization (SR-IOV) Virtual Function (VF), enabling direct, isolated access to hardware resources.
  • Implement a work-conserving, priority-aware scheduling policy—Weighted Load-Balanced Virtual Time (WLBVT)—that dynamically allocates compute and IO resources based on tenant SLOs.
  • Use hardware-based scheduling to enforce bounded, predictable execution times for packet processing, mitigating the impact of unpredictable kernel workloads.
  • Integrate with an open-source RISC-V-based 400Gbit/s SmartNIC to enable real-world evaluation of resource multiplexing under realistic datacenter workloads.
  • Leverage a hybrid approach: hardware for time-critical scheduling decisions and software for configuration and policy enforcement, minimizing hardware footprint.
Figure 1 : A predictable NIC data path versus the unpredictable sNIC kernel execution.
Figure 1 : A predictable NIC data path versus the unpredictable sNIC kernel execution.

Experimental results

Research questions

  • RQ1How can performance isolation and QoS be achieved in SmartNICs when workloads exhibit unpredictable, stateful, and heterogeneous processing requirements?
  • RQ2What scheduling mechanisms enable fair and work-conserving allocation of compute, DMA, and egress bandwidth across multiple tenants with varying SLOs?
  • RQ3Can a hardware-software co-designed resource manager reduce flow completion times while maintaining fairness in mixed workloads of compute- and IO-bound applications?
  • RQ4To what extent does the proposed system outperform traditional Round Robin and other baseline schedulers in terms of fairness and performance isolation?
  • RQ5What is the overhead and scalability of the proposed solution in real-world, high-speed (400Gbps) datacenter environments?

Key findings

  • OSMOSIS improves fairness by up to 83% compared to traditional Round Robin scheduling, as measured by the Jain’s fairness index across IO-bound workloads.
  • For IO-bound workloads, OSMOSIS reduces flow completion times by up to 63% by resolving head-of-line blocking and enabling efficient, fair resource allocation.
  • In compute-bound scenarios, OSMOSIS achieves 47% fairer resource allocation than standard Round Robin, resulting in 39-7% faster flow completion times.
  • The system maintains high throughput, achieving 332Mpps in IO write workloads even under multi-tenancy, with only a 3% throughput increase over the PsPIN baseline due to kernel completion time variability.
  • OSMOSIS enables fair and efficient resource sharing without sacrificing overall system performance, even when some tenants experience increased median kernel completion times (up to 8x) due to prioritization.
  • The solution achieves low overhead and is deployable on real 400Gbit/s RISC-V-based SmartNICs, demonstrating feasibility for production datacenter deployment.
Figure 2 : Schematic overview of on-path sNIC architectures. Red arrows indicate the data path and blue arrows correspond to the control/management path.
Figure 2 : Schematic overview of on-path sNIC architectures. Red arrows indicate the data path and blue arrows correspond to the control/management path.

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.