Virtual Serial Port Offload Over High-Speed Bus for CPU Interrupt Relief
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The slow data output rate of UART protocols in computer systems leads to prolonged CPU shutdown interrupts, reducing CPU utilization and affecting service stability.
Innovation Solution
Implementing a virtual acceleration device with a high-speed serial bus and a virtual serial port to offload serial port data transmission, allowing the physical machine to send and receive data through a virtual serial port device connected via a high-speed bus, thereby improving data transmission speed and reducing CPU interrupt times.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If UART protocol is used for serial port data transmission, then device compatibility and simplicity are maintained, but data transmission speed is slow and CPU interrupt time increases
Solution Approach 1:
A virtual acceleration device is introduced as an intermediary component between the physical machine and the external serial port. This virtual device handles data transmission through a high-speed serial bus, acting as a mediator that offloads the transmission task from the CPU, thereby reducing CPU interrupt time while maintaining serial port functionality
Solution Approach 2:
The patent replaces the traditional UART protocol-based serial port transmission mechanism with a high-speed serial bus-based transmission mechanism. This substitution eliminates the speed limitations and CPU interrupt issues associated with UART while maintaining the serial port interface functionality through virtualization
2Productivity
If UART protocol is used for serial port data transmission, then system simplicity is maintained, but CPU utilization rate decreases due to prolonged interrupts
Solution Approach 1:
The virtual acceleration device serves as an intermediary that handles complex transmission protocols and CPU interrupt management. By introducing this intermediate layer, the system achieves high CPU utilization without requiring complete redesign of the existing serial port architecture
Solution Approach 2:
The patent creates a virtual copy of the serial port device in the virtual acceleration device. This virtual serial port device replicates the functionality of a physical serial port while utilizing high-speed transmission, allowing the system to maintain simplicity at the application level while achieving high performance through the virtualized interface
Data Source
AI summary
A virtual acceleration device is deployed for a physical machine. The physical machine and the virtual acceleration device are interconnected through a high-speed serial bus. A serial port device for the physical machine can be virtualized and implemented on the virtual acceleration device. The physical machine can send and receive serial port data through the virtual serial port device. The physical machine only needs to transmit data to the virtual serial port device through the high-speed serial bus, and subsequent transmission actions are completed by the virtual acceleration device. With the advantages of the high-speed serial bus in the transmission speed, the transmission rate of serial port data of the physical machine can be greatly improved, which is beneficial to improving the utilization rate of CPU of the physical machine, and ensuring the stability of service performance of the physical machine.


