Adaptive PCIe Virtual Channel Mapping for Uneven TC Bandwidth

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing PCIe systems face inefficiencies due to fixed mapping relationships between transaction classes (TCs) and virtual channels (VCs), leading to mismatched bandwidth demands and low bus utilization rates, which affect the performance of System on Chip (SOC) chips.

Innovation Solution

A dynamic self-adaptive virtual channel mapping method that monitors and adjusts the mapping of transaction layer packets to virtual channels based on real-time data flow analysis, dynamically allocating buffer spaces and arbitration priorities to optimize bus utilization.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a fixed mapping relationship between transmit classes and virtual channels is used, then the system structure is simple, but the bus utilization rate is low and bandwidth demands are not met

Engineering Contradiction:
Improvebus utilization rateVSAvoidmapping relationship complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements dynamic mapping between transmit classes and virtual channels by introducing a mapping relationship table that can be updated in real-time based on monitored bandwidth demands. The system transitions from a static fixed mapping to a dynamic adaptive mapping where the mapping relationships are adjusted according to actual traffic patterns, thereby improving bus utilization while maintaining manageable system complexity through structured algorithms.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes the mapping parameters dynamically by monitoring the bandwidth demands of different transmit classes and adjusting the mapping relationships accordingly. The mapping relationship table stores and updates mapping parameters based on real-time traffic analysis, allowing the system to adapt to varying bandwidth requirements without requiring a complete redesign of the mapping structure.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If buffer space is allocated to all virtual channels, then high-bandwidth requests can be served, but low-bandwidth requests waste buffer space

Engineering Contradiction:
Improveservice qualityVSAvoidbuffer space
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent applies local quality by allocating different buffer space sizes to different virtual channels based on their specific bandwidth demands. Instead of uniform buffer allocation, the system monitors each transmit class's traffic patterns and assigns buffer resources locally optimized for each channel's actual needs, ensuring high-bandwidth requests receive sufficient space while low-bandwidth requests receive minimal necessary space.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system implements self-service through automatic buffer space adjustment where the mapping management module continuously monitors bandwidth demands and dynamically adjusts buffer allocations without external intervention. The system serves itself by automatically optimizing resource distribution based on real-time traffic conditions, improving service quality while preventing resource waste.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12554661B2Dynamic self-adaptive virtual channel mapping method and apparatus, and storage medium
Publication Date: 2026.02.17 INSPUR SUZHOU INTELLIGENT TECH CO LTD
  • US12554661B2 patent drawing
  • US12554661B2 patent drawing
  • US12554661B2 patent drawing

AI summary

The present application relates to a dynamic self-adaptive virtual channel mapping method and apparatus, and a storage medium. The method includes: monitoring equivalent data flows of transaction layer packets of different transmit classes, and obtaining the sum of the equivalent data flows of all the transmit classes, the equivalent data flow being the product of a data length of the transaction layer packet and a coefficient; obtaining a pre-calculation value of the number of virtual channels corresponding to each transmit class base on the sum of the equivalent data flows of the transmit classes; and adjusting mapping from the transmit classes to the virtual channels according to the pre-calculation value to obtain a mapping relationship table from the transmit classes to the virtual channels.