Context Switching DMA Engine for High-Speed Application Transitions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Context switching in processing sections with thousands of registers and large context sizes leads to significant processing delays, impairing real-time performance.
Innovation Solution
A data processing system with a context switching DMA engine that detects switching timing and transfers contexts between the processing section and memory, bypassing software management, allowing for high-speed context switching by directly saving and installing contexts.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If context switching is executed through software management, then application execution flexibility is maintained, but processing delay increases due to large context sizes
Solution Approach 1:
The patent replaces software-based context management with a hardware DMA engine that directly transfers context data between memory and the processing section. This mechanical/hardware substitution eliminates software intervention overhead, achieving high-speed context switching without software management complexity
Solution Approach 2:
The DMA engine acts as an intermediary between memory and the processing section, handling context transfer independently. This mediator enables direct hardware-to-hardware communication, bypassing software layers and reducing context switching delay while maintaining system coordination
2Productivity
If processing section executes multiple applications in time division, then resource utilization improves, but context switching frequency increases causing delays
Solution Approach 1:
The DMA engine enables continuous context transfer operations independent of application execution cycles. By decoupling context switching from application runtime, the system maintains continuous productive work in the processing section while context updates occur in parallel, eliminating interrupt-induced delays
Solution Approach 2:
The system prepares context data in memory before switching is needed, and the DMA engine can pre-load next application contexts. This preliminary preparation eliminates wait time during switching, allowing the processing section to transition between applications without interruption to the application logic
Data Source
AI summary
A processing section executes processes concerning a plurality of applications in a time division manner. A Context Switching Direct Memory Access (CSDMA) engine detects a switching timing of an application to be executed in the processing section. When detecting the switching timing, the CSDMA engine saves a context of an application that is being executed in the processing section 46, to a main memory from the processing section, and installs a context of an application to be subsequently executed in the processing section, from the main memory to the processing section, not through a process by software managing the plurality of applications.


