VM Migration with Smart NIC State Capture

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

During virtual machine (VM) migration, existing technologies face challenges in capturing and restoring the networking state of a VM from a smart NIC to maintain service level agreements (SLAs), especially when offloading software-defined networking capabilities to a smart NIC.

Innovation Solution

A method is introduced where a host computer with a smart NIC sends requests for state information related to network forwarding and middlebox service operations to the smart NIC, receives this information, and then provides it to the destination host to ensure seamless VM migration, while disabling and re-enabling hardware offload as necessary to manage service operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Use of energy by moving object

If networking and storage functionalities are offloaded to smart NIC to save hypervisor CPU, then hypervisor CPU utilization is improved, but VM migration complexity increases due to need to capture and restore networking state from smart NIC

Engineering Contradiction:
Improvehypervisor CPU utilizationVSAvoidVM migration complexity
Core Design Contradiction:
Use of energy by moving objectVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by having the source hypervisor proactively request and receive networking state information from the smart NIC before VM migration begins. The state information is captured and prepared in advance, allowing the destination hypervisor to restore it seamlessly during migration, thus resolving the complexity issue while maintaining CPU offload benefits

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism where the smart NIC acts as a mediator that stores and provides networking state information to the hypervisor upon request. This intermediary role simplifies the migration process by decoupling the state capture from the migration execution, allowing the hypervisor to maintain CPU offload while managing migration through structured state transfer

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If VM migration is performed with smart NIC state information, then service level agreement (SLA) compliance is improved, but migration time increases due to state information transfer

Engineering Contradiction:
ImproveSLA complianceVSAvoidmigration time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by having the source hypervisor request networking state information from the smart NIC at the beginning of the migration process, before the actual VM migration occurs. This allows the state information to be captured and prepared in advance, reducing the time required during the critical migration window while ensuring SLA compliance through complete state transfer

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent maintains continuity of useful action by enabling the smart NIC to continue performing networking functions during the migration process. The state information is transferred without interrupting the smart NIC's operational role, allowing migration to proceed efficiently while maintaining service continuity and SLA compliance

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS20240311168A1Virtual machine (VM) migration with smart network interface cards (NICS)
Publication Date: 2024.09.19 VMWARE INC
  • US20240311168A1 patent drawing
  • US20240311168A1 patent drawing
  • US20240311168A1 patent drawing

AI summary

Some embodiments provide a novel method of migrating a particular virtual machine (VM) from a first host computer to a second host computer. The first host computer of some embodiments has a physical network interface card (PNIC) that performs at least one of network forwarding operations and middlebox service operations for the particular VM. The first host computer sends, to the PNIC of the first host computer, a request for state information relating to at least one of network forwarding operations and middlebox service operations that the PNIC performs for the particular VM. The first host computer receives the state information from the PNIC. The first host computer provides the state information received from the PNIC to the second host computer as part of a data migration that is performed to migrate the particular VM from the first host computer to the second host computer.