Memory Controller Task Starvation Prevention via Dynamic Priority

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Memory systems face performance degradation due to task starvation, where normal tasks are delayed and executed after high-priority tasks, leading to inefficiencies and potential system deterioration.

Innovation Solution

A memory system with a controller that stores start time stamps and performs delay checks to identify delayed tasks, assigning them higher priority and queuing them in a priority queue to prevent starvation, ensuring timely execution and maintaining system performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If high-priority tasks are always executed first, then task completion speed is improved, but normal tasks experience starvation and delayed execution

Engineering Contradiction:
Improvetask completion speedVSAvoidtask delay time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The controller performs delay checks by comparing current time with start time stamps of normal tasks, and assigns priority dynamically based on this feedback. This feedback mechanism prevents starvation by detecting delayed tasks and promoting them to high-priority status

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

Task priority is not fixed but dynamic - normal tasks can be promoted to high-priority status when they exceed the delay threshold. This dynamic adjustment resolves the contradiction by allowing priority to change based on actual task delay conditions

Inventive Principle:
Principle #15Dynamics

2Reliability

If delay check operations are performed frequently, then task starvation prevention is improved, but controller processing overhead increases

Engineering Contradiction:
Improvetask starvation preventionVSAvoidcontroller processing overhead
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The controller performs delay checks selectively rather than continuously - only checking when high-priority tasks are being executed or when normal tasks might be approaching the delay threshold. This partial action approach maintains reliability while reducing unnecessary processing overhead

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10838766B2Memory system and operating method thereof
Publication Date: 2020.11.17 SK HYNIX INC
  • US10838766B2 patent drawing
  • US10838766B2 patent drawing
  • US10838766B2 patent drawing

AI summary

A memory system includes a controller configured to store start time stamps of a plurality of tasks, determine a delayed task among the tasks by performing a delay check operation based on an end time stamp of a current task and the start time stamps, and assign a priority to the delayed task.