This document is an assembly language listing (MACRO, V36, 1969) for CLKCSS, a scheduling algorithm designed for non-swapping operating systems by Digital Equipment Corp. (DEC).
The scheduler's primary function is to determine and return the next job to run. It is invoked under specific conditions:
Key components and operations include:
NQUEUE), flags for available devices (AVALTB), and device request counts (REQTAB).NXTJOB (Main Scheduling Routine): This routine is responsible for the actual job selection. It performs operations such as:
CHKSHF).Data Structures: The algorithm extensively uses tables like AVALTB (to track available jobs for various wait types), REQTAB (for sharable device requests), and QUANTS (to define the quantum running time for each job queue).
In essence, CLKCSS implements a combination of time-sliced and event-driven scheduling to efficiently manage job execution and resource allocation in a fixed-memory, non-swapping environment by actively monitoring job states and prioritizing tasks.
Site structure and layout ©2025 Majenko Technologies