Operating System and Batch Processing
Operating System and Batch Processing
Processing
Operating System
• The operating system provides the means for proper use of these
resources in the operation of the computer system.
2
Operating System
3
Operating System
• User mode
4
Operating System Structure
• Monolithic Systems
• Layered Systems
• Microkernels
• Client-Server Model
• Virtual Machines
• Exokernels
5
Operating System Structure: Monolithic
• Each procedure in the system is free to call any other one, if the latter
provides some useful computation that the former needs.
• Being able to call any procedure is very efficient, but having thousands of
procedures that can call each other without restriction may also lead to a
system that is difficult to understand.
6
Operating System Structure: Layered
• Layer 3 took care of managing the I/O devices and buffering the information
streams to and from them.
7
Operating System Structure: Client-Server
8
Command Processor
• Interprets user commands and translates them into instructions that the
operating system can understand and execute.
9
Scheduler Functionality
• Allocates system resources such as CPU time, memory, and I/O devices to
various tasks based on priority and scheduling algorithms.
Types:
10
Scheduler Functionality: Advantages
11
Field Manager and Resource Allocator
12
Field Manager and Resource Allocator: Advantages
Field Manager:
Resource Allocator:
13
Dispatcher
• It controls the allocation of system resources such as CPU time and I/O
devices to various processes.
• The dispatcher selects processes from the ready queue and schedules
them for execution on the CPU based on scheduling algorithms.
14
Batch Processing
• Typically used for non-interactive tasks such as bulk data processing, report
generation, and system maintenance.
15
Batch Processing
• Provides mechanisms for error detection and recovery, allowing failed jobs
to be reprocessed or handled appropriately.
16
Multi Programming
17
Multi Processing
18
Disk Operating System (DOS)
19
Windows
20
UNIX
• Unix has inspired various flavors and distributions, including Linux, BSD,
and macOS (based on Darwin, a Unix-like kernel).
21
Language Processor
22
Language Processor: Editor
23
Language Processor: Compiler
24
Language Processor: Interpreter
• It reads the source code, parses it, and executes it immediately, typically
without generating a separate executable file.
25
Language Processor
26