skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Real-time scheduling of software tasks

Conference ·
OSTI ID:161559

When designing real-time systems, it is often desirable to schedule execution of software tasks based on the occurrence of events. The events may be clock ticks, interrupts from a hardware device, or software signals from other software tasks. If the nature of the events, is well understood, this scheduling is normally a static part of the system design. If the nature of the events is not completely understood, or is expected to change over time, it may be necessary to provide a mechanism for adjusting the scheduling of the software tasks. RHIC front-end computers (FECs) provide such a mechanism. The goals in designing this mechanism were to be as independent as possible of the underlying operating system, to allow for future expansion of the mechanism to handle new types of events, and to allow easy configuration. Some considerations which steered the design were programming paradigm (object oriented vs. procedural), programming language, and whether events are merely interesting moments in time, or whether they intrinsically have data associated with them. The design also needed to address performance and robustness tradeoffs involving shared task contexts, task priorities, and use of interrupt service routine (ISR) contexts vs. task contexts. This paper will explore these considerations and tradeoffs.

Research Organization:
Brookhaven National Lab. (BNL), Upton, NY (United States)
Sponsoring Organization:
USDOE, Washington, DC (United States)
DOE Contract Number:
AC02-76CH00016
OSTI ID:
161559
Report Number(s):
BNL-62353; CONF-951036-4; ON: DE96003242; TRN: AHC29601%%114
Resource Relation:
Conference: International conference on accelerator and large experimental physics control systems, Chicago, IL (United States), 30 Oct - 3 Nov 1995; Other Information: PBD: [1995]
Country of Publication:
United States
Language:
English