Title: Pertemuan 13 Operating System 1
1Pertemuan 13Operating System 1
- Matakuliah H0344/Organisasi dan Arsitektur
Komputer - Tahun 2005
- Versi 1/1
2Learning Outcomes
- Pada akhir pertemuan ini, diharapkan mahasiswa
- akan mampu
- Menghubungkan prinsip-prinsip scheduling proses
komputasi
3Outline Materi
4Overview
An operating system is a program that controls
the execution of application programs and acts as
an interface between the user of a computer and
the computer hardware. It can be thought of as
having two objectives
5Overview
Layers and views of computer system
6Overview
The operating system typically provides services
in the following areas
- Program creation
- Program execution
- Access to I/O devices
- Control access to files
- System access
- Error detection and response
- Accounting
7Overview
The operating system as resource manager
8Overview
Memory layout for a resident monitor
9Overview
Multiprogrammingbatch systems
10Overview
Batch multiprogramming versus time sharing
Batch multiprogramming Time sharing
Principal objective Maximize processor use Minimize response time
Source of directives to operating system Job control language commands provided with the job Command entered at the terminal
11Scheduling
Type of scheduling
Long term scheduling The decision to add to the pool of processes to be executed
Medium term scheduling The decision to add to the number of processes that are partially or fully in main memory
Short term scheduling The decision as to which available process will be executes by the processor
I/O scheduling The decision as to which processs pending I/O request shall be handled by an available I/O device
12Scheduling
Five state process model
13Scheduling
Process control block
14Scheduling
Example
15Scheduling
Key elements of an operating system for
multiprogramming
16Scheduling
Queuing diagram representation of processor
scheduling