Javascript must be enabled to continue!
A Realization of Two-Level Scheduling in Embedded Operating System
View through CrossRef
Abstract
In embedded operating systems, how to ensure thread tasks execute in order of priority is an important issue. Considering that thread may have child threads, and child threads are scheduled by their parent thread, so they also need to be executed accroding to their priorities. For such two-level scheduling issue, this paper proposes a new scheduling policy: parent thread uses the table-driven scheduling policy, and child thread uses the fixed priority scheduling policy to ensure the orderly execution of both parent and child threads. In order to cooperate with the implementation of two-level scheduling, this paper also realizes the creation of child threads in an embedded operating system by imitating Linux thread replication, connects the parent and child threads through pointers, and realizes a priority queue of child threads in their parent thread. In addition, by saving the ID of current executing child thread into the stack of corresponding parent thread, this paper ensures that parent thread can recover its last executing child thread after several switches of parent threads. Several experiments on 2440 single core development board showed that method proposed by this paper could realize the creation of sub threads and two-level thread scheduling in embedded operating system.
Title: A Realization of Two-Level Scheduling in Embedded Operating System
Description:
Abstract
In embedded operating systems, how to ensure thread tasks execute in order of priority is an important issue.
Considering that thread may have child threads, and child threads are scheduled by their parent thread, so they also need to be executed accroding to their priorities.
For such two-level scheduling issue, this paper proposes a new scheduling policy: parent thread uses the table-driven scheduling policy, and child thread uses the fixed priority scheduling policy to ensure the orderly execution of both parent and child threads.
In order to cooperate with the implementation of two-level scheduling, this paper also realizes the creation of child threads in an embedded operating system by imitating Linux thread replication, connects the parent and child threads through pointers, and realizes a priority queue of child threads in their parent thread.
In addition, by saving the ID of current executing child thread into the stack of corresponding parent thread, this paper ensures that parent thread can recover its last executing child thread after several switches of parent threads.
Several experiments on 2440 single core development board showed that method proposed by this paper could realize the creation of sub threads and two-level thread scheduling in embedded operating system.
Related Results
DPTM: An Adaptive Scheduler Design Utilizing Timeslot Matching and Release Methods for Concurrent and Multi-task Interleaved Pipelining-oriented CGRA
DPTM: An Adaptive Scheduler Design Utilizing Timeslot Matching and Release Methods for Concurrent and Multi-task Interleaved Pipelining-oriented CGRA
Coarse-grained reconfigurable architectures (CGRAs) are increasingly employed as domain-specific accelerators due to their efficiency and flexibility. However, the existing CGRA ar...
Visual versus Tabular Scheduling Programs
Visual versus Tabular Scheduling Programs
Effective scheduling in construction is crucial for ensuring timely project completion and maintaining budget control. Scheduling programs play an important role in this process by...
Advanced Scheduling Schemes in 4G Systems
Advanced Scheduling Schemes in 4G Systems
The deterministic factor for 4G wireless technologies is to successfully deliver high value services such as voice, video, real-time data with well defined Quality of Service (QoS)...
Adaptive Scheduling of Mixing Trucks in Construction Sites with an Improved Deep Q-Network
Adaptive Scheduling of Mixing Trucks in Construction Sites with an Improved Deep Q-Network
The management of concrete mixing station distribution is evolving toward more intelligent and efficient methods. Additionally, in the context of the group operations of commodity ...
An Improved Round Robin CPU Scheduling Algorithm based on Priority of Process
An Improved Round Robin CPU Scheduling Algorithm based on Priority of Process
The most important and integral part of a computer system is its operating system. Scheduling various resources is one of the most critical tasks an operating system needs to perfo...
Runtime incremental concentrated scheduling on NOW(NRICS)
Runtime incremental concentrated scheduling on NOW(NRICS)
Runtime Incremental Concentrated Scheduling on NOW(NRICS) is an important task scheduling and load balancing strategy on Network of Workstations(NOW), it divides the whole NOW syst...
A Pricing Approach For Grid Resource Scheduling With QoS Guarantees
A Pricing Approach For Grid Resource Scheduling With QoS Guarantees
The paper is targeted at concerning pricing approach for grid resource scheduling with QoS guarantees. The two major parties in Grid, namely, resource consumers who submit various ...
A Pipeline Virtual Service Pre-Scheduling Pattern and its Application in Astronomy Data Processing
A Pipeline Virtual Service Pre-Scheduling Pattern and its Application in Astronomy Data Processing
Based on Open Grid Services Architecture (OGSA), the concept and the formal model of Pipeline Virtual Service (PVS) are proposed and presented in this paper. PVS is used to model a...

