Crash Dump Memory Sizing for Storage Miniport Initialization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing operating systems face issues with storage failure of crash dump files due to compatibility problems with special hardware or drivers, leading to incomplete data capture and analysis of system crashes.
Innovation Solution
An information processing method that involves calling a crash dump driver to read a first memory capacity, determining if it meets the requirements for initializing a dump miniport driver, and adjusting the memory capacity if necessary to ensure successful initialization and data copying to a storage device.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a dump miniport driver is initialized to copy physical memory to a storage device, then complete crash dump data can be captured, but the process may fail due to insufficient memory capacity allocation
Solution Approach 1:
The patent implements dynamic memory capacity adjustment by detecting the actual memory capacity of the dump memory block and comparing it with the required capacity for miniport driver initialization. If the capacity is insufficient, the system dynamically increases the allocation to ensure the miniport driver can be successfully initialized and crash dump data can be completely captured.
Solution Approach 2:
The patent changes the memory capacity parameter of the dump memory block based on detection results. The system detects the first memory capacity, determines whether it meets the required capacity for miniport driver initialization, and adjusts the memory capacity parameter accordingly to ensure reliable crash dump file storage.
2Loss of information
If the dump memory block capacity is increased to ensure miniport driver initialization, then data capture completeness improves, but system memory resources are consumed
Solution Approach 1:
The patent performs preliminary detection of the dump memory block capacity before initializing the miniport driver. By detecting the first memory capacity in advance and comparing it with the required capacity, the system can determine whether capacity adjustment is needed, avoiding unnecessary memory allocation and ensuring data completeness only when required.
Solution Approach 2:
The system automatically detects, evaluates, and adjusts the memory capacity of the dump memory block without requiring manual intervention. The crash dump driver performs self-diagnosis of the memory capacity and autonomously adjusts the allocation to ensure complete crash dump data capture while minimizing unnecessary resource consumption.
Data Source
AI summary
Embodiments of the disclosure provide an information processing method, which includes: when an exception occurs in an operating system, calling a crash dump driver to read a first memory capacity occupied by a storage resource allocated for a dump memory block; based on the first memory capacity, obtaining a determination result as to whether the storage resource of the dump memory block satisfies a storage resource required when a dump miniport driver corresponding to a storage device is initialized; and based on the determination result, determining a target memory capacity of the dump memory block, where a storage resource corresponding to the target memory capacity satisfies the storage resource required when the dump miniport driver is initialized, and the target memory capacity is used to initialize the dump miniport driver so that data in a physical memory in the operating system is able to be copied to the storage device.


