Skip to main content

Supervisor call; batch, RT, time sharing

Short answer

A supervisor call (SVC) is a system call causing a trap to kernel mode, enabling controlled access to privileged services. Batch runs jobs sequentially with no interaction for high throughput. Interactive provides direct user dialogue with short response. Real-time guarantees bounded deadlines via preemptive scheduling. Time-sharing shares CPU among multiple users in small time quantums.

What is the role of supervisor call in an operating system? Write down the major differences between the following types of operating system: a) Batch system b) Interactive system c) Real time system d) Time sharing system.

Role of supervisor call

A supervisor call (SVC), also called a system call, is the instruction by which a user program asks the OS (supervisor) to perform a privileged service such as I/O, memory allocation or process creation. It causes a trap that switches the CPU from user mode to supervisor (kernel) mode and passes control to the OS routine, then returns to user mode. Its role is to give programs controlled access to protected operations, so that the OS can check the request and protect the system and other users.

Differences between the types

BasisBatchInteractiveReal-timeTime-sharing
AimMaximise throughput / CPU useQuick response to a user's commandsMeet deadlinesShare CPU among many users fairly
User interactionNone while the job runsDirect, continuousMostly with sensors/devicesMany users at terminals at once
Job handlingJobs grouped in batches, run in sequenceCommands processed as typedEvent/interrupt driven tasksCPU switched in small time slices
Response timeLong (hours)Short (seconds)Guaranteed, very short and boundedShort (about 1 s)
SchedulingFCFS / SJFRound robin / priorityPriority-based, preemptive (RM, EDF)Round robin
CPU idlePossible during I/OReducedKept ready for eventsMinimal (multiprogramming)
ExamplesPayroll, bank statementsWord processor, PC OSMissile control, robotics, VxWorksUNIX, Multics

✓ Answer checked by Claude Opus 5.5 (high effort)

All Operating System chapter 1 questions →