VM Migration with Smart NIC State Capture
Find Innovative SolutionsGenerate 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
Engineering 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
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
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
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
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
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
Data Source
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.


