Dynamic Transmit Descriptor Reclaiming via MAC Layer Thread

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current systems face challenges in efficiently reclaiming transmit descriptors from network hardware, which are crucial for transmitting data across networks, as they often require manual intervention and are not optimized for dynamic transmission patterns.

Innovation Solution

The implementation of a media access control (MAC) layer thread that dynamically reclaims transmit descriptors using a reclaim algorithm associated with specific transmission patterns and status, allowing for efficient forwarding of packets through virtual NICs to physical NICs, optimizing the use of hardware transmit rings.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual intervention is used to reclaim transmit descriptors, then system complexity is reduced, but transmission efficiency and productivity deteriorate due to delays and inability to adapt to dynamic transmission patterns

Engineering Contradiction:
Improvetransmission efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system implements self-service by enabling the MAC layer to automatically reclaim transmit descriptors from the hardware transmit ring without requiring manual intervention. The MAC layer thread continuously monitors the TDR status and dynamically reclaims TDs based on current transmission patterns, allowing the system to self-manage its descriptor resources and adapt to varying traffic conditions autonomously

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The invention applies dynamics by implementing a dynamic reclaim algorithm that adapts to changing transmission patterns. The MAC layer thread adjusts the reclaiming behavior based on real-time TDR status and transmission characteristics, transitioning from static manual reclamation to dynamic automated management that responds to system conditions

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If fixed reclaim algorithms are used, then device complexity is minimized, but adaptability to varying transmission patterns deteriorates, causing performance degradation under dynamic traffic conditions

Engineering Contradiction:
Improveadaptability to transmission patternsVSAvoidreclaim algorithm complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system implements feedback by having the MAC layer thread continuously monitor the TDR status and transmission patterns, then use this information to adjust the reclaiming behavior. The thread receives feedback about descriptor availability and transmission demands, and dynamically modifies the reclaiming rate and timing accordingly, creating a closed-loop control system that adapts to changing conditions

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The invention applies parameter changes by modifying the reclaim algorithm's behavior parameters based on observed transmission patterns and TDR status. The MAC layer thread adjusts reclaiming parameters such as the number of TDs to reclaim, the timing of reclamation operations, and the aggressiveness of the reclaim strategy to match current system conditions and traffic patterns

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8194670B2Upper layer based dynamic hardware transmit descriptor reclaiming
Publication Date: 2012.06.05 ORACLE AMERICAN INC
  • US8194670B2 patent drawing
  • US8194670B2 patent drawing
  • US8194670B2 patent drawing

AI summary

In general, the invention relates to reclaiming transmit descriptors by configuring a media access control (MAC) to execute a first MAC layer thread to reclaim a first number of transmit descriptors (TDs) from a first hardware transmit ring (HTR) using a first reclaim algorithm, where the first reclaim algorithm is associated with a first transmission pattern and a first TDR status. The invention further includes receiving, by a virtual NIC (VNIC) executing within the MAC layer, a first number of packets, forwarding the first number of packets to a device driver on the host associated with the physical NIC, and forwarding the first number of packets from the device driver to the physical NIC using the first number of TDs, where the first plurality of TDs are reclaimed by the first MAC layer thread according to the first reclaim algorithm.