pertemuan 3 konsep sistem operasi
DESCRIPTION
Pertemuan 3 Konsep Sistem Operasi. Matakuliah: T0316/sistem Operasi Tahun: 2005 Versi/Revisi: 5. Learning Outcomes. Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : menjelaskan istilah dan konsep sistem operasi (C2). Outline Materi. Konsep Processes Deadlock - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/1.jpg)
1
Pertemuan 3Konsep Sistem Operasi
Matakuliah : T0316/sistem Operasi
Tahun : 2005
Versi/Revisi : 5
![Page 2: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/2.jpg)
2
Learning Outcomes
Pada akhir pertemuan ini, diharapkan mahasiswa
akan mampu :• menjelaskan istilah dan konsep sistem operasi
(C2)
![Page 3: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/3.jpg)
3
Outline Materi
Konsep– Processes– Deadlock– Memory
management– I/O– File– Shell– System call
Struktur
–Monolithic
–Layered
–Virtual machine
–Exokernels
–Client-Server
![Page 4: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/4.jpg)
4
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
OPERATING SYSTEM CONCEPT
![Page 5: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/5.jpg)
5
A process tree:
![Page 6: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/6.jpg)
6
Condition in which interacting process cannot be continued and there is no process that can get out of that condition.
Deadlock
(a) A potential deadlock. (b) an actual deadlock.
![Page 7: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/7.jpg)
7
Input/Output Independent I/O software Device dependent, eg. device drivers
Memory Management Multiple program dalam memory needs:
o Protection
o Address space management
![Page 8: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/8.jpg)
8
Files Directory Pathname Protection mode
rwx bits File descriptor
![Page 9: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/9.jpg)
9
Mounted file system
Before mounting After mounting
Special fileo Blocko Character
Pipe
![Page 10: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/10.jpg)
10
Shell Unix command interpreter
Prompt Example:datedate > filesort < file1 > file2cat file1 file2 file3 | sort > /dev/lpcat file1 file2 file3 | sort > /dev/lp &
Security Protection, eg. rwx bits
Intruders, from human or non-human (eg. virus)
Background job
![Page 11: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/11.jpg)
11
SYSTEM CALLS
Interface between user program and operating system
Steps in Making a System Call
![Page 12: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/12.jpg)
12
Example of system calls:
o Process Management
![Page 13: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/13.jpg)
13
o File Management
o Directory and file system management
![Page 14: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/14.jpg)
14
o Miscellaneous
![Page 15: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/15.jpg)
15
Monolithic system
The big mess No structure
OPERATING SYSTEM STRUCTURE
Simple structuring model
![Page 16: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/16.jpg)
16
Generalisation of layering concept at MULTICS concentric ring
Layered System Hierarchical layer, each layer is built on top of the layer below
it.
Eg: THE system
![Page 17: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/17.jpg)
17
Virtual 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
![Page 18: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/18.jpg)
18
Exokernels
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
![Page 19: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/19.jpg)
19
Client-server model
Mikrokernel Client process Server process Mechanism vs policy
The client-server model
![Page 20: Pertemuan 3 Konsep Sistem Operasi](https://reader035.vdocuments.site/reader035/viewer/2022062309/56813696550346895d9e2298/html5/thumbnails/20.jpg)
20
Advantages of distributed system model: Smaller parts are easier to maintain No direct access toward hardware Adaptability
The client-server model in a distributed system