Container Peripheral Access via Bandwidth-Aware VM Migration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In virtualized computing environments, peripheral devices connected to one host computing system are typically not accessible by virtual machines (VMs) or containers running on different host systems, leading to resource inefficiencies and limited device sharing.
Innovation Solution
A method is implemented to determine the bandwidth requirements of peripheral devices and compare them to the allocated bandwidth of hosting VMs, allowing for VM migration or remote network access if necessary, and provisioning stateless containers on alternate hosts to enable access to peripheral devices connected to different host systems.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a peripheral device is attached to a host computing system, then the device can be accessed locally by VMs on that host, but the device becomes unavailable to VMs on different hosts
Solution Approach 1:
The patent introduces network channels and gateway components as intermediaries that enable peripheral devices to be accessed remotely across different host computing systems. The gateway translates local device protocols into network-compatible communication, allowing VMs on different hosts to access peripheral devices as if they were locally connected.
Solution Approach 2:
The patent makes peripheral devices universally accessible by implementing multiple access modes: local direct access for low-latency requirements and remote network access for cross-host scenarios. The system dynamically selects the appropriate access mode based on the VM's location and device requirements, enabling a single device to serve multiple hosts efficiently.
2Productivity
If bandwidth requirements for peripheral device access are not considered, then device access can be established quickly, but network performance may deteriorate
Solution Approach 1:
The patent performs preliminary bandwidth assessment and VM migration decisions before establishing peripheral device access. By evaluating bandwidth requirements in advance and pre-migrating VMs to appropriate hosts, the system avoids establishing high-bandwidth network connections when local access is available, thereby preventing network performance deterioration.
3Adaptability or versatility
If VMs are migrated frequently to provide device access, then device availability improves, but system stability and performance may worsen
Solution Approach 1:
The patent implements feedback mechanisms that monitor VM performance, device access patterns, and host resource utilization to make intelligent migration decisions. The system learns from historical data to determine when migration is truly necessary, avoiding unnecessary migrations that would destabilize the system while ensuring device availability when required.
Data Source
AI summary
A method to enable container access to a peripheral device, where the container is hosted by a virtual machine running in a first host and the peripheral device is directly connected to a second host, is provided. The method includes determining a bandwidth requirement of the peripheral device, and comparing the bandwidth requirement of the peripheral device to bandwidth allocated to the virtual machine that is hosting the container. If the bandwidth requirement of the peripheral device is higher than a threshold percentage of the bandwidth allocated to the virtual machine, the virtual machine is migrated from the first host computer to the second host computer. On the other hand, if the bandwidth requirement of the peripheral device is lower than the threshold percentage of the bandwidth allocated to the virtual machine, processes are launched to establish a network channel by which the container communicates with the peripheral device.


