Dynamic Host Network Stack Tuning for Dense Virtualization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional virtualization systems face challenges in managing CPU, memory, and I/O resources, especially in densely virtualized environments with many virtual machines on fewer physical resources, leading to inefficiencies in network stack configuration and performance.

Innovation Solution

A method that dynamically configures host and VM settings based on performance metrics to achieve higher VM consolidation ratios by modifying scheduling, virtual NIC, and physical NIC settings, shifting between default and dense modes to optimize resource utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional network stack configuration is used in densely virtualized systems, then system simplicity is maintained, but network performance and CPU efficiency deteriorate

Engineering Contradiction:
Improvenetwork throughputVSAvoidnetwork stack configuration
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system dynamically adjusts network stack parameters based on detected virtualization density. When high density is detected, the system automatically modifies scheduling parameters, buffer sizes, and queue configurations to optimize for consolidated VM workloads, transitioning from static conventional configuration to adaptive dynamic configuration.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes multiple network stack parameters including CPU scheduling priorities, network buffer allocations, interrupt coalescing settings, and queue depths based on the detected provisioning state. These parameter changes allow the same hardware to serve both conventional and densely virtualized workloads effectively.

Inventive Principle:
Principle #35Parameter changes

2Use of energy by moving object

If network stack is optimized for dense virtualization, then CPU overhead is reduced, but regular use case performance may be compromised

Engineering Contradiction:
ImproveCPU overheadVSAvoidperformance across use cases
Core Design Contradiction:
Use of energy by moving objectVSAdaptability or versatility

Solution Approach 1:

The system continuously monitors performance metrics and workload characteristics to detect whether the environment is densely virtualized or conventional. Based on this feedback, it automatically switches between optimization modes: one tuned for low CPU overhead in dense environments, and another tuned for broad compatibility and performance in conventional settings.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

Different sets of network stack parameters are applied depending on the detected provisioning state. In dense mode, parameters are optimized for consolidation efficiency; in conventional mode, parameters are optimized for individual workload performance, allowing the system to adapt to different use cases.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If more virtual machines are consolidated on fewer physical resources, then resource utilization improves, but network stack management complexity increases

Engineering Contradiction:
ImproveVM consolidation ratioVSAvoidresource management
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The network stack automatically detects the virtualization density and self-adjusts its configuration without requiring manual intervention or complex external management. The system monitors its own operational context and autonomously optimizes parameters, reducing the burden on operators to manually manage complex consolidated environments.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system transitions from static configuration to dynamic self-adjustment, where network stack parameters automatically adapt to the current level of VM consolidation. This dynamic behavior simplifies management by eliminating the need for manual reconfiguration when consolidation levels change.

Inventive Principle:
Principle #15Dynamics

4Ease of operation

If default network configuration is used, then ease of operation is maintained, but performance in dense virtualization deteriorates

Engineering Contradiction:
Improveconfiguration simplicityVSAvoidnetwork performance
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The system maintains operational simplicity by automatically detecting when dense virtualization is present and self-configuring appropriate parameters. Operators simply deploy the system with default settings, and the network stack autonomously optimizes itself based on the detected environment, eliminating the need for manual performance tuning.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary detection of the virtualization environment during initialization and proactively configures optimal parameters before workloads begin. This preliminary action ensures performance is optimized from the start without requiring operators to anticipate or manually configure settings.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9921864B2Dynamic host performance tuning of a network stack
Publication Date: 2018.03.20 VMWARE INC
  • US9921864B2 patent drawing
  • US9921864B2 patent drawing
  • US9921864B2 patent drawing

AI summary

A tuning engine for a virtualized computing system is described that periodically collect performance metrics from the virtualized computing system, and detects whether a change in system state has occurred based on the collected metrics. The tuning engine may determine whether the virtualized computing system is densely virtualized, and accordingly modify operations and configuration settings of various components in charge of handling networking for the virtualized computing system.