Title: Pertemuan 3 Konsep Sistem Operasi
1Pertemuan 3Konsep Sistem Operasi
- Matakuliah T0316/sistem Operasi
- Tahun 2005
- Versi/Revisi 5
2Learning Outcomes
- Pada akhir pertemuan ini, diharapkan mahasiswa
- akan mampu
- menjelaskan istilah dan konsep sistem operasi (C2)
3Outline Materi
- Konsep
- Processes
- Deadlock
- Memory management
- I/O
- File
- Shell
- System call
- Struktur
- Monolithic
- Layered
- Virtual machine
- Exokernels
- Client-Server
4²         OPERATING SYSTEM CONCEPT
 Process -    Program in execution -   Â
Consist of o   Executable program, data,
stack o   Program counter, stack pointer,
registers -Â Â Â Â Process table ? array or linked
list of structure of the process in
execution -    Process has o   Address space
(core image) o   Attribute/information in the
process table
5-Â Â Â Â A process tree
6Deadlock
-Â Â Â Â Condition in which interacting process
cannot be continued and there is no process that
can get out of that condition.
(a) A potential deadlock. (b) an actual deadlock.
7Memory Management -Â Â Â Â Multiple program dalam
memory ? needs o   Protection o   Address
space management
Input/Output -Â Â Â Â Independent I/O
software -Â Â Â Â Device dependent, eg. device
drivers
8     Files -    Directory  -   Â
Pathname -Â Â Â Â Protection mode ? rwx bits -Â Â Â Â
File descriptor
9-Â Â Â Â Mounted file system
-    Special file o   Block o   Character Â
-Â Â Â Â Pipe
10Â Â Â Â Â Security -Â Â Â Â Protection, eg. rwx
bits -Â Â Â Â Intruders, from human or non-human
(eg. virus)
      Shell -    Unix command
interpreter -Â Â Â Â Prompt
Example date date gt file sort lt file1 gt
file2 cat file1 file2 file3 sort gt
/dev/lp cat file1 file2 file3 sort gt /dev/lp
-Â Â Â Background job
11Â Â Â Â Â SYSTEM CALLS
Interface between user program and operating
system
Steps in Making a System Call
12- -Â Â Â Example of system calls
- Â
- o   Process Management
13o   File Management
o   Directory and file system management
14o   Miscellaneous
15²         OPERATING SYSTEM STRUCTURE
Monolithic system -Â Â Â Â The big mess -Â Â Â No
structure Â
Simple structuring model
16Layered System -Â Â Â Â Hierarchical layer, each
layer is built on top of the layer below it.
-Â Â Â Eg THE system
 Generalisation of layering concept at MULTICS ?
concentric ring
17Virtual Machine -Â Â Â Â Virtual machine monitor ?
not an extended machine, but an exact copy of the
bare hardware -Â Â Â CMS (Conversational Monitor
System)Â -Â Â Â JVM (Java Virtual Machine)
Structure of VM/370 with CMS
18Exokernels -Â Â Â Â Designed for a system that gives
each user clone of the actual computer, but with
a subset of resources -Â Â Â Â Program run on the
bottom layer to allocate resources to virtual
machine
19Client-server model -Â Â Â Â Mikrokernel -Â Â Â Â
Client process -Â Â Â Â Server process -Â Â Â
Mechanism vs policy
The client-server model
20The client-server model in a distributed system
 Advantages of distributed system model -   Â
Smaller parts are easier to maintain -Â Â Â Â No
direct access toward hardware -Â Â Â Â Adaptability