Virtual Desktop Server Write Through Control via UPS Status
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In virtual desktop infrastructure (VDI) systems, there is a need to address the inefficiencies in data write operations, particularly in managing data persistence and throughput when powered by both electric and uninterruptible power supplies (UPS), to ensure data integrity and performance during power transitions.
Innovation Solution
A system and method that dynamically manage data write through operations by allocating a RAM disk for hosting virtual machines and enabling/disabling write through to a data store based on the power status, specifically disabling write through when powered by both electric and UPS, and enabling it when powered by UPS alone, with efficient data copying to the data store when the UPS reaches a critical power level.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data write through is continuously enabled from RAM disk to data store, then data persistence is ensured, but system throughput and performance deteriorate due to unnecessary write operations
Solution Approach 1:
The patent implements dynamic write through operations by monitoring power status in real-time and adjusting write behavior accordingly. The system transitions between different write through states (enabled/disabled) based on detected power conditions, making the system adaptive rather than static. This resolves the contradiction by enabling write through only when necessary (low power status) while maintaining performance when power is充足.
Solution Approach 2:
The system changes the operational parameter of write through based on power status parameters. When power status indicates low battery or power loss condition, the write through parameter is enabled; when power is stable, it is disabled. This parameter-based control mechanism allows the system to optimize between data persistence and performance based on external power conditions.
2Productivity
If data write through is continuously disabled to maintain high throughput, then system performance is improved, but data safety deteriorates during power loss events
Solution Approach 1:
The patent implements a feedback mechanism where the system continuously monitors power status and uses this information to control write through operations. The power status sensor provides feedback about battery level or power supply state, and this feedback loops back to the controller which adjusts write behavior. This closed-loop control ensures data safety by enabling write through when power conditions indicate potential loss, while maintaining high throughput when power is stable.
Solution Approach 2:
The system performs preliminary actions by detecting power status changes in advance and proactively enabling write through operations before actual power loss occurs. When the power status indicates low battery or impending power loss, the system preemptively flushes data from RAM disk to data store, ensuring data is saved before the power failure actually happens. This preliminary action prevents data loss without requiring continuous write through.
3Reliability
If write through operations are performed frequently to ensure data persistence, then data integrity is improved, but energy consumption increases
Solution Approach 1:
The system dynamically changes the write through parameter based on power status, enabling write through only when power conditions indicate potential loss (low battery status). This selective parameter change reduces unnecessary write operations and associated energy consumption while maintaining data integrity when it matters most. The energy-efficient approach is achieved by making write behavior conditional rather than continuous.
Solution Approach 2:
The patent extracts the essential function of data persistence from continuous write through operations and implements it only when necessary based on power status extraction. By separating the data persistence function from constant operation and linking it to power condition triggers, the system eliminates wasteful energy consumption associated with unnecessary write operations while preserving data integrity when power loss is anticipated.
4Reliability
If the system monitors power status continuously to optimize write operations, then data safety during power transitions is improved, but device complexity increases
Solution Approach 1:
The patent introduces a power status sensor as an intermediary component that simplifies the monitoring function. Rather than implementing complex continuous monitoring logic throughout the system, a dedicated sensor acts as an intermediary that provides power status information to the controller. This intermediary approach improves data safety during power transitions by providing reliable power status detection while keeping the overall system complexity manageable through functional specialization.
Data Source
AI summary
Certain aspects of the present disclosure relates to a system having a virtual desktop server (VDS), which may be electrically powered by an electric power supply and an uninterruptable power supply (UPS). The VDS has a processor, a memory, and a storage device storing computer executable code. When executed at processor, the computer executable code is configured to: allocate a portion of storage device to create a data store, allocate a portion of memory to create a random access memory (RAM) disk, detect power status of the VDS, and perform write through cache operations based on the detected power status. In certain embodiments, the write through cache operations include: disabling data write through from RAM disk to data store, when VDS is powered by the EPS and the UPS; and enabling data write through from RAM disk to data store when VDS is electrically powered by UPS only.


