Memory Controller Dynamic Parameter Adjustment for Thermal Management
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing memory management techniques for electronic devices struggle to effectively balance CPU occupation, memory management, and heat control, leading to suboptimal terminal performance and heat generation.
Innovation Solution
A method and electronic device that dynamically control the operation of the Kswapd by considering heat generation information and memory state information, converting used memory areas into available areas based on determined memory parameters, thereby improving terminal performance and heat control.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If memory management operations (Kswapd) are performed to convert used memory area into available area, then memory availability is improved, but heat generation increases and CPU occupation rises
Solution Approach 1:
The patent dynamically adjusts the memory parameter based on real-time temperature conditions and memory state. When temperature is high, the system reduces memory parameter values to limit Kswapd operations, thereby reducing heat generation. When temperature is low and memory pressure is high, the system increases memory parameter values to convert more used memory to available memory. This dynamic adjustment resolves the contradiction by making memory management adaptive to thermal conditions.
Solution Approach 2:
The patent changes the memory parameter (such as swappiness) based on temperature conditions and memory state. By adjusting this parameter, the system controls the intensity of memory management operations. When temperature exceeds a threshold, the parameter is reduced to minimize CPU-intensive memory operations and associated heat generation. This parameter change strategy allows the system to balance memory availability with thermal control.
2Quantity of substance
If memory parameter is increased to convert more used area into available area, then memory availability is improved, but CPU occupation increases
Solution Approach 1:
The patent implements a feedback mechanism that continuously monitors memory state (available vs. used area) and adjusts the memory parameter accordingly. When the ratio of used memory to total memory exceeds a threshold, the system increases the memory parameter to trigger more aggressive memory conversion operations. This feedback loop ensures CPU is utilized efficiently only when memory pressure warrants it, resolving the contradiction between memory availability and CPU occupation.
3Reliability
If aggressive memory management is performed to ensure memory availability, then memory performance is improved, but terminal performance deteriorates due to heat control issues
Solution Approach 1:
The patent adjusts the memory parameter based on temperature conditions to optimize the balance between memory performance and terminal performance. When temperature is within acceptable ranges, the parameter is set to values that ensure good memory availability and performance. When temperature rises, the parameter is reduced to limit memory management intensity, preventing thermal throttling and maintaining overall terminal performance. This conditional parameter adjustment resolves the contradiction between memory reliability and terminal performance.
Data Source
AI summary
A method of controlling a memory and an electronic device performing the method are provided. The electronic device includes a memory configured to store instructions executable by the processor; and at least one processor configured to execute the instructions to: determine a use state of the electronic device corresponding to an available area of the memory, determine a temperature of the electronic device, determine a memory parameter based on the use state and the temperature, and convert a used area of the memory into the available area based on the memory parameter.


