Dual Core CPU Scheduling via Relative Time Quantum

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional CPU scheduling algorithms, such as Round Robin, face inefficiencies in dual core processors due to random time quantum assignment, leading to high average waiting and turnaround times, particularly in environments with mixed CPU and I/O-intensive jobs.

Innovation Solution

A dual core processor scheduling method that calculates a relative time quantum by averaging burst times for each half of a ready queue list and applies addition and subtraction techniques to assign distinct quanta to each CPU, allowing for simultaneous execution of processes using different scheduling techniques.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If traditional Round Robin scheduling with random time quantum assignment is used in dual core processors, then implementation simplicity is maintained, but average waiting time and turnaround time increase

Engineering Contradiction:
Improvescheduling algorithm complexityVSAvoidaverage waiting time and turnaround time
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The ready queue is divided into two separate halves, with each half assigned to a different CPU core. This segmentation allows each core to operate with its own optimized time quantum calculation method, improving overall scheduling efficiency while maintaining manageable complexity for each individual core

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different time quantum calculation strategies are applied to different CPU cores based on their characteristics. The first core uses addition-based quantum calculation while the second core uses subtraction-based calculation, allowing each core to be optimized for its specific workload patterns

Inventive Principle:
Principle #3Local quality

2Ease of operation

If random time quantum assignment is used in traditional CPU scheduling, then ease of implementation is maintained, but resource utilization efficiency deteriorates

Engineering Contradiction:
Improvescheduling implementation easeVSAvoidcomputing resource utilization
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The time quantum is made dynamic by calculating it based on the average burst times of processes in each half of the ready queue. This dynamic adjustment allows the scheduling system to adapt to changing workload patterns, improving resource utilization while maintaining reasonable implementation complexity

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The time quantum parameter is changed from a fixed or random value to a calculated value based on process burst times. By using addition for the first core and subtraction for the second core, the system optimizes resource allocation to match actual process requirements, significantly improving computing resource utilization

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If single core Round Robin scheduling is used, then scheduling mechanism simplicity is maintained, but processing speed and throughput deteriorate in dual core environments

Engineering Contradiction:
Improvescheduling mechanism complexityVSAvoidprocessing speed and throughput
Core Design Contradiction:
Device complexityVSSpeed

Solution Approach 1:

The scheduling mechanism is segmented into two independent scheduling instances, one for each CPU core. Each core maintains its own ready queue half and time quantum calculation, allowing parallel processing while keeping each individual scheduling instance simple and manageable

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The scheduling system transitions from a single-dimension sequential scheduling approach to a two-dimension parallel scheduling approach. By utilizing both CPU cores simultaneously with distinct time quantum strategies, the system achieves higher processing speed and throughput while maintaining simplicity in each dimensional component

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS11055137B2CPU scheduling methods based on relative time quantum for dual core environments
Publication Date: 2021.07.06 IMAM ABDULRAHMAN BIN FAISAL UNIV
  • US11055137B2 patent drawing
  • US11055137B2 patent drawing
  • US11055137B2 patent drawing

AI summary

The present disclosure is directed to dual core processor scheduling based on relative time quantum. A time quantum is calculated by taking the average of the process burst times for each roughly half portion of a ready queue list and then applying addition and subtraction to the relative values. A first CPU is assigned the quantum based on addition while the second CPU is assigned the quantum based on subtraction.