Logical Partition Communication via Layer 2 Switch Loopback
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies for communication between logical partitions in computing systems incur significant overhead and development burden due to the need for dedicated communication functions and memory-to-memory data copying, which increases processing costs and resource consumption.
Innovation Solution
A network driver and routing apparatus utilizing a loopback function in a Layer 2 switch to transfer data between logical partitions without referencing destination addresses, allowing data to be transmitted and received via DMA, eliminating the need for memory-to-memory copying and reducing processor resource consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If dedicated communication function is designed and implemented for data exchange between logical partitions, then communication capability between logical partitions is achieved, but development cost and burden increase significantly
Solution Approach 1:
The network driver is designed to handle multiple communication scenarios universally: it can transmit frames to external devices through the routing apparatus and deliver frames to other logical partitions via loopback mode, eliminating the need for separate dedicated communication functions for inter-partition data exchange
2Productivity
If data is copied from memory space of one logical partition to memory space of another logical partition, then data exchange between logical partitions is achieved, but processing overhead increases significantly
Solution Approach 1:
The routing apparatus serves as an intermediary device that receives frames from one logical partition and delivers them to another logical partition without requiring memory-to-memory copying operations, thereby reducing processing overhead and improving data exchange efficiency
3Measurement precision
If network driver refers to destination address to route frames, then accurate delivery to target logical partition is achieved, but processing complexity increases
Solution Approach 1:
The network driver extracts and removes the destination address field from frame processing decisions, transmitting all frames to the routing apparatus without referring to destination addresses. The routing apparatus handles address-based delivery, simplifying the network driver's processing logic while maintaining accurate delivery
Data Source
AI summary
Two logical partitions within a single computer communicate with each other internally. The protocol stack of a first logical partition generates a frame in a memory space provided in a driver and referred to by the first logical partition. The driver transfers the frame generated in the memory space of the first logical partition to a communication port of a Layer 2 switch using DMA. The communication port of the Layer 2 switch loops back the frame input from the driver. An interrupt is signaled to the driver and the frame is transferred from communication port of the Layer 2 switch to the driver using DMA. The frame is received in a memory space referred to by a second logical partition.


