EDF Bandwidth Reservation for Non-Preemptive RT Scheduling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Non-preemptive systems, such as General Purpose Operating Systems (GPOS), fail to support Real-Time (RT) task scheduling due to lack of preemption, leading to missed deadlines and low utilization of computing units like Network Processing Units (NPUs) when handling mixed task sets with dynamic arrival times.

Innovation Solution

Implementing a Reservation Bandwidth Server (RBS) that creates non-executable bandwidth reservation tasks with deadlines based on yield times, allowing Early Deadline First (EDF) scheduling to prioritize and ensure timely execution of RT tasks without preemption, using a hierarchical scheduler for efficient task management.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If non-preemptive scheduling is used in GPOS, then device complexity is reduced and ease of operation is improved, but real-time task deadline reliability deteriorates and productivity decreases

Engineering Contradiction:
Improvescheduling operation simplicityVSAvoidreal-time task deadline reliability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The task set is segmented into two distinct categories: hard real-time tasks and soft real-time tasks. This segmentation allows the system to apply different scheduling strategies to each category, ensuring that hard RT tasks receive guaranteed execution resources while soft RT tasks can utilize available resources, thereby maintaining deadline reliability without compromising operational simplicity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The scheduler performs preliminary actions by pre-calculating and reserving execution time slots for hard real-time tasks before actual task execution begins. This advance planning ensures that critical tasks have guaranteed time resources allocated, preventing deadline misses while maintaining the simplicity of non-preemptive scheduling operations

Inventive Principle:
Principle #10Preliminary action

2Device complexity

If non-preemptive scheduling is used, then device complexity is reduced, but real-time task throughput and resource utilization deteriorate

Engineering Contradiction:
Improvescheduling mechanism complexityVSAvoidreal-time task throughput
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The scheduling system incorporates dynamic elements by adjusting the allocation of execution time based on the arrival patterns and requirements of hard real-time tasks. The scheduler dynamically reserves bandwidth and adjusts time slot allocations while maintaining the overall simplicity of the non-preemptive framework, thereby improving throughput without significantly increasing complexity

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The scheduler acts as an intermediary that manages the transition between hard real-time tasks and soft real-time tasks. It intermediates resource allocation by first guaranteeing resources for hard RT tasks and then making remaining resources available to soft RT tasks, thereby improving overall system throughput while keeping the scheduling mechanism relatively simple

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If hard real-time tasks are prioritized with bandwidth reservation, then real-time task deadline reliability is improved, but soft real-time task resource availability worsens

Engineering Contradiction:
Improvehard real-time task deadline reliabilityVSAvoidsoft real-time task resource availability
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system changes the parameter of resource allocation by implementing time-based bandwidth reservation for hard real-time tasks. This parameter change ensures that critical tasks receive guaranteed resources during their designated time slots, while soft real-time tasks can utilize resources during remaining time periods, thus maintaining overall resource availability without compromising hard RT reliability

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12493491B2Method and apparatus for real-time task scheduling for non-preemptive system
Publication Date: 2025.12.09 SAMSUNG ELECTRONICS CO LTD
  • US12493491B2 patent drawing
  • US12493491B2 patent drawing
  • US12493491B2 patent drawing

AI summary

A method of scheduling a Real Time (RT) task, includes: receiving a task; obtaining a yield time of the RT task based on one of an execution deadline of the RT task, an execution deadline of next RT task subsequent to the RT task, and a maximum execution time associated with an execution of the next RT task subsequent to the RT task; creating a bandwidth reservation task having a deadline; inserting the RT task along with the bandwidth reservation task into a RT wait queue based on the deadline of each of the RT task and the bandwidth reservation task in accordance with an Early Deadline First (EDF) criteria; and scheduling an unscheduled task based on an available-time of the RT wait queue in accordance with the EDF based scheduling.