Structures OS
Structures OS
OPERATING SYSTEM
• Lecture-2 (22-07-2020)
Operating System Structures
Simple Batch System
Multi programmed
Timeshared (Multitasking)
Personal Computer
Parallel Systems
Distributed Systems
Real-Time Systems
Single Batch System
UNIX, WINDOWS NT
Parallel computing is a type of computation in
which many calculations or the execution
of processes are carried out simultaneously.
Large problems can often be divided into
smaller ones, which can then be solved at the
same time. There are several different forms
of parallel computing: bit-level, instruction-
level, data, and task parallelism.
Distributed Systems
Distributed Systems
are loosely coupled
systems they have
their own local
memory and they do
not share clock and
memory. Eg.-AMOEBA,
SOLARIS, AIX, LINUX,
DYNIX
Properties of Distributed Systems
• Resource Sharing
• Computation speed-up
• Reliability
• Communication
Real Time Systems
A real-time operating system (RTOS) is an operating
system (OS) intended to serve real-time applications that
process data as it comes in, typically without buffer delays.
Processing time requirements (including any OS delay) are
measured in tenths of seconds or shorter increments of
time.
A real-time system is a time-bound system which has well-
defined, fixed time constraints. Processing must be done
within the defined constraints or the system will fail. They
either are event-driven or time-sharing.
Event-driven systems switch between tasks based on their
priorities, while time-sharing systems switch the task based
on clock interrupts. Most RTOSs use a pre-
emptive scheduling algorithm.eg- RTX, Zephyr, Linux Kernel
etc.
Computer System Organization
• Computer-system operation
– One or more CPUs, device controllers connect through
common bus providing access to shared memory
– Concurrent execution of CPUs and devices competing for
memory cycles
Computer-System Operation
• I/O devices and the CPU can execute concurrently
• Each device controller is in charge of a particular
device type
• Each device controller has a local buffer
• CPU moves data from/to main memory to/from
local buffers
• I/O does this from the device to local buffer of
controller
• Device controller informs CPU that it has finished
its operation by causing an interrupt.
Common Functions of Interrupts