Switch Cold Boot Using Digital Twin and Batch DMA
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing software upgrade methods for devices like switches in data centers face challenges due to software complexity, leading to significant downtime in the control and data planes, and are limited by the complexity of In-Service Software Upgrade (ISSU) processes, especially when upgrading between different software versions or bit formats.
Innovation Solution
A cold boot control system utilizing a digital twin to simulate the switch's operations, allowing for efficient software upgrades by generating and transferring configurations via batch direct memory access (DMA) to reduce downtime, using an ASIC simulator to create a virtual shadow memory for seamless upgrades.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional software upgrade methods are used, then software can be upgraded, but control plane and data plane downtime increases significantly
Solution Approach 1:
The system performs preliminary actions by creating a digital twin before the actual software upgrade. The digital twin simulates the upgrade process in advance, allowing the system to prepare configuration files and verify compatibility before applying changes to the actual switch, thereby reducing downtime during the real upgrade operation.
Solution Approach 2:
The patent creates a virtual copy (digital twin) of the switch system that replicates its hardware and software components. This copy allows testing and simulation of software upgrades without affecting the actual switch operations, enabling safe experimentation and validation before production deployment.
2Productivity
If In-Service Software Upgrade (ISSU) is implemented, then network continuity is maintained, but software complexity increases enormously
Solution Approach 1:
Instead of implementing complex ISSU mechanisms directly on the switch, the system creates a simplified digital twin copy that mirrors the switch's hardware and software architecture. This virtual replica allows upgrade testing and configuration preparation without requiring complex real-time migration logic, reducing overall software complexity while maintaining network continuity.
Solution Approach 2:
The digital twin acts as an intermediary between the upgrade process and the actual switch. It serves as a virtual sandbox where upgrade scenarios can be tested and validated before being applied to the production system, simplifying the upgrade management process and reducing operational complexity.
3Reliability
If digital twin simulation is used, then upgrade testing can be performed without disruption, but computational resources increase
Solution Approach 1:
The system segments the switch into virtual components within the digital twin, allowing selective simulation of specific upgrade scenarios rather than requiring full system emulation. This segmentation enables targeted testing of individual software modules or configuration changes, reducing the computational resources needed while maintaining comprehensive testing capability.
Data Source
AI summary
In one embodiment, a method may receive a request to upgrade software for a switch. The method may use an application-specific integrated circuit (ASIC) simulator to generate a digital twin to store a first image and a first configuration of the switch. The method may use the digital twin to generate a second image and a second configuration by replaying the first configuration on the first image. The method may communicate the second image and the second configuration from the digital twin to an ASIC memory of an ASIC associated with the switch by applying batch direct memory access (DMA).


