Virtual Switch Forwarding Control Using Tenant CPU Consumption Proportions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing cloud network forwarding performance isolation methods based on bandwidth and packet rate limitations fail to account for the varying CPU consumption of tenants with different traffic models, leading to unfairness and degradation of network performance for some tenants.
Innovation Solution
A traffic transmission control method that assesses CPU consumption proportions among tenants using historical and current statistical periods to adjust forwarding processing, ensuring fairness and isolation by controlling the virtual switch based on preconfigured CPU consumption proportions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If bandwidth and packet rate limitations are used for forwarding performance isolation, then network performance can be controlled, but CPU consumption differences among tenants with different traffic models are not accounted for, leading to unfairness
Solution Approach 1:
The patent changes the control parameter from traditional bandwidth and packet rate to CPU consumption proportion. By monitoring and controlling CPU consumption proportions of different tenants, the system adapts to various traffic models and achieves fairer resource allocation, resolving the contradiction between isolation reliability and adaptability to different traffic patterns
2Reliability
If CPU consumption proportion is monitored and controlled, then fair resource distribution is achieved, but system complexity increases due to statistical period tracking and proportion calculations
Solution Approach 1:
The patent implements preliminary action by pre-configuring the statistical period and CPU consumption proportion thresholds before actual traffic forwarding occurs. The system tracks CPU consumption proportions over defined statistical periods and uses pre-established control policies to adjust forwarding performance, thereby achieving fair resource distribution without requiring complex real-time decision-making logic
3Reliability
If forwarding performance is controlled based on preconfigured proportions, then tenant performance isolation is maintained, but one tenant may overwhelm the virtual switch if not properly constrained
Solution Approach 1:
The patent employs feedback mechanisms by continuously monitoring actual CPU consumption proportions of tenants and comparing them against preconfigured thresholds and historical data. When a tenant's CPU consumption exceeds its allocated proportion or shows signs of overwhelming the virtual switch, the system adjusts forwarding performance in real-time, thereby maintaining performance isolation while preventing traffic overflow
Data Source
Figure 1~3
Figure 4~6
Figure 7~8
AI summary
The present disclosure relates to a traffic transmission control method, an electronic device, and a storage medium. The method includes: obtaining a central processing unit CPU consumption value consumed by each tenant traffic of a cloud network service transmitted via a virtual switch in a current statistical period, to obtain a CPU consumption value corresponding to each tenant; calculating a CPU consumption proportion among tenants based on the CPU consumption value and a CPU consumption value corresponding to each tenant accumulated in a historical statistical period; receiving outbound traffic of each tenant in a next statistical period of the current statistical period; and controlling the virtual switch to perform forwarding processing on the outbound traffic of each tenant in the next statistical period of the current statistical period based on the CPU consumption proportion among the tenants and a virtual switch forwarding performance proportion preconfigured for each tenant.