Dynamically Expandable Write Filter Overlay for Windows Embedded
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The static size of the overlay in Windows Embedded's write filter system leads to automatic reboots when it becomes full, degrading user experience and potentially leaving insufficient RAM for running applications or the operating system, as the size cannot be dynamically adjusted during a session.
Innovation Solution
Implementing a dynamically expandable overlay that can grow in both RAM and disk space, allowing the overlay to adjust its size based on demand, with frequently used artifacts stored in RAM and less frequently used ones in disk to optimize resource usage and prevent overflow.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the overlay size is increased to prevent it from becoming full, then the reliability is improved, but the loss of energy increases due to insufficient RAM for running applications or the operating system
Solution Approach 1:
The overlay is segmented into two distinct parts: a RAM-based overlay file and a disk-based overlay file. This segmentation allows the system to utilize both fast RAM storage for active artifacts and slower disk storage for less frequently accessed artifacts, thereby preventing overlay fullness while preserving RAM availability for applications and the operating system.
Solution Approach 2:
The overlay size is made dynamic rather than static. The system automatically adjusts the distribution of overlay content between RAM and disk based on available resources and usage patterns. This dynamic allocation allows the overlay to expand when needed without permanently consuming excessive RAM, thus improving reliability while minimizing energy loss.
2Ease of operation
If the overlay size is set to maximum to prevent forced reboots, then the ease of operation is improved, but the device complexity increases due to static configuration limitations
Solution Approach 1:
The overlay system transitions from static to dynamic configuration. Instead of requiring a fixed maximum size setting that may or may not be sufficient, the system automatically adapts its size and composition based on runtime conditions. This eliminates forced reboots and improves user experience without requiring complex manual configuration management.
Solution Approach 2:
The overlay system becomes self-managing by automatically monitoring its own usage and dynamically adjusting its allocation between RAM and disk. This self-service capability eliminates the need for user intervention to manage overlay size or to perform forced reboots, thereby improving ease of operation while reducing configuration complexity.
3Speed
If the overlay is stored entirely in RAM for fast access, then the speed is improved, but the loss of substance occurs when RAM is insufficient
Solution Approach 1:
The overlay is divided into a RAM portion and a disk portion. Frequently accessed artifacts are stored in the RAM portion for fast access, while less frequently accessed artifacts are stored in the disk portion. This segmentation ensures that speed is optimized for active data while preventing data loss by providing adequate storage capacity in the disk portion.
Solution Approach 2:
Different portions of the overlay have different quality characteristics: the RAM portion provides high-speed access for critical artifacts, while the disk portion provides ample capacity for less critical artifacts. This local differentiation of storage quality optimizes overall system performance while preventing overlay fullness.
Data Source
AI summary
A write filter can be configured to employ a dynamically expandable overlay. The size of the overlay could initially be small and could then grow and shrink during the current session based on demand. The overlay can span both RAM and disk to thereby allow the size of the overlay to be relatively large. When sufficient RAM is available, the overlay can be allowed to grow in RAM. In contrast, if RAM is low, the overlay can grow on disk. Also, artifacts in the overlay can be moved from the RAM portion to the disk portion to reduce the amount of RAM consumed by the overlay. Because the overlay is dynamically expandable, it will typically not become full and will therefore not force a reboot.


