Ch02-OS9e
Ch02-OS9e
g
Systems: Chapter 2
Internals
and Operating
Design System Overview
Principle Ninth Edition, Global Edition
By William Stallings
s
Program development
Program execution
Access I/O devices
Controlled access to files
System access
Error detection and response
Accounting
Fixes
Time
Sharing
Multiprogramme Systems
d Batch
Systems
Simple
Batch
Systems
Serial
Processin
g
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved.
Serial Processing
Earliest
Problems:
Computers:
Scheduling:
No operating system Most installations used a
Programmers hardcopy sign-up sheet
interacted directly with to reserve computer time
the computer hardware Time allocations
Computers ran from a could run short or
console with display lights, long, resulting in
toggle switches, some form wasted computer
of input device, and a printer time
What compiler to
use
Timer
Privileged
instructions
• Can only be executed by the monitor
Interrupts
There must be enough memory to hold the OS (resident monitor) and one
user program
When one job needs to wait for I/O, the processor can switch to the other
job, which is likely not waiting for I/O
Copyright © 2018 Pearson Education, Ltd. All Rights Reserved.
Multiprogramming
A program in execution
Automatic
Support of
allocation Protection
Process modular Long-term
and and access
isolation programmi storage
manageme control
ng
nt
• Microkernel architecture
• Multithreading
• Symmetric multiprocessing
• Distributed operating systems
• Object-oriented design
The approach:
application, is
divided into By breaking a single
application into
multiple threads, a
threads that Includes a processor
context and its own
programmer has
greater control over the
concurrently
timing of application-
related events
Executes sequentially
and is interruptible
2) The portion of the monitor that is always in main memory and available for execution
is referred to as the _________ .
3) __________ is a technique in which a process, executing an application, is divided into
threads that can run concurrently.
4) Two major problems with early serial processing systems were scheduling and __________ .
5) The central idea behind the simple batch-processing scheme is the use of a piece of software
known as the _________ .
6) Any resource allocation and scheduling policy must consider three factors: Fairness,
Differential responsiveness, and __________ .
7) A __________ is set at the beginning of each job to prevent any single job from
monopolizing the system.
8) The OS has five principal storage management responsibilities: process isolation, automatic
allocation and management, support of modular programming, protection and access control,
and __________ .
10) __________ was designed to keep the processor and I/O devices, including storage
devices,
simultaneously busy to achieve maximum efficiency.
13) Three major lines of computer system development created problems in timing and
synchronization that contributed to the development of the concept of the process:
14) ___________ is a facility that allows programs to address memory from a logical
point of
view,
Copyright © 2018 without
Pearson regard
Education, to the amount of main memory physically available.
Ltd. All Rights
Reserved.
Questions
16) The technique where a system clock generates interrupts, and at each clock interrupt the OS
regains control and assigns the processor to another user, is __________ .
A) FPL B) JCL
C) DML D) SML