MAC Learning Optimization in Virtual Switch Environments

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In multiple virtual switch environments, traditional MAC learning processes are resource-intensive and cause significant performance and latency issues due to the need to check every frame received, especially in high-bandwidth networks supporting thousands of host operating systems and hypervisors.

Innovation Solution

The MAC learning process is optimized by only performing updates on specific packet types, such as ARP requests and responses, neighbor discovery packets, and broadcast/multicast packets, creating a hash index for non-registered MAC addresses and removing stale entries from the MAC address table based on configurable timeouts, thereby reducing the overhead of processing and resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional MAC learning processes check every frame received, then MAC address table is maintained accurately, but processing resources and time are consumed significantly

Engineering Contradiction:
ImproveMAC address table accuracyVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

Instead of processing every frame for MAC learning, the system performs partial action by only processing specific packet types (ARP requests/responses, neighbor discovery packets, broadcast/multicast packets). This selective processing maintains sufficient accuracy for MAC address table while significantly reducing processing time and resource consumption.

Inventive Principle:
Principle #16Partial or excessive action

2Reliability

If MAC learning is performed on every frame, then MAC address table is kept updated, but network performance and latency are impacted

Engineering Contradiction:
ImproveMAC address table update accuracyVSAvoidnetwork throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system applies partial action by limiting MAC learning to specific packet types that are most useful for maintaining accurate MAC address tables. This selective approach preserves network throughput and reduces latency while still achieving reliable MAC address tracking through processing of ARP, neighbor discovery, and broadcast packets.

Inventive Principle:
Principle #16Partial or excessive action

3Loss of information

If all packet types are processed for MAC learning, then complete MAC address information is obtained, but processing overhead increases

Engineering Contradiction:
ImproveMAC address information completenessVSAvoidprocessing overhead
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The system obtains sufficient MAC address information by processing only the most informative packet types (ARP requests/responses, neighbor discovery packets, broadcast/multicast packets) rather than all packet types. This partial processing approach maintains information completeness for MAC address tracking while significantly reducing processing overhead and system complexity.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10931581B2MAC learning in a multiple virtual switch environment
Publication Date: 2021.02.23 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10931581B2 patent drawing
  • US10931581B2 patent drawing
  • US10931581B2 patent drawing

AI summary

Examples of techniques for media access control (MAC) address learning are disclosed. In one example implementation according to aspects of the present disclosure, a computer-implemented method may include: receiving, by a processing device, a packet; determining, by the processing device, a packet type of the packet; and responsive to determining that the packet is a MAC learning packet type, updating, by the processing device, a MAC address table based on MAC address information associated with the packet.