Tujuan
Konsep Sistem Operasi (Sesi 2)
z z
z
Memahami karakteristik Sistem Operasi. Memahami Evolusi Sistem Operasi dan perubahan pada setiap generasi. Memahami Struktur Komputer dan beragam Platform.
Oleh: Satrio Yudho Jakarta 2008 Satiro Yudho (
[email protected])
2
Evolusi Sistem Operasi
Point Of View
“ Perubahan kebutuhan dan teknologi mendorong Evolusi Sistem Operasi “ Fakta : z Evolusi Unix (www.levenez.com/unix) z Evolusi Windows
“ ... Like humans, operating systems have a character. The character of an operating system is the collection of design ideas, software components and usage policies that you find in its implementation.” ( Michael Jipping,2006)
(www.microsoft.com/windows/WinHistoryIntro.mspx) z
Apple Computer (www.kernelthread.com/mac/oshistory)
Satiro Yudho (
[email protected])
3
Satiro Yudho (
[email protected])
4
1
Moore’s Law
z z z
Moore’s Law Cont’d z
“Technology Drivers of Infrastructure Evolution” the power of microprocessors doubles every 18 months (Tuomi, 2002); computing power doubles every 18 months; the price of computing falls by half every 18 months.
Satiro Yudho (
[email protected])
Diagram mengenai jumlah transistor pada setiap chip dan satuan kecepatan perjutaan detik (MIPS)
5
Moore’s Law Cont’d
Satiro Yudho (
[email protected])
6
System Structure And Operation
“Semakin banyak transistor semakin cepat kekuatan pemrosesan “
z
Struktur kernel “Kernel merupakan inti dari Sistem Operasi” “The core programs and data of an operating system together comprise the kernel” (Michael Jipping, 2006) terdapat beberapa jenis kernel yaitu, monolithic kernel, microkernel dan Hybrid kernel.
Satiro Yudho (
[email protected])
7
Satiro Yudho (
[email protected])
8
2
System Structure And Operation z
System Structure And Operation
Monolithic Kernel, digunakan pada general purpose computer dengan menerapkan seluruh fungsi OS dan Abstraksi(objek) hardware dalam kernel itu sendiri.
Satiro Yudho (
[email protected])
Satiro Yudho (
[email protected])
10
System Structure And Operation
Hybrid Kernel, tidak jauh berbeda dengan Microkernel, kecuali pada penambahan fungsi eksternal dengan tujuan peningkatan performa.
Satiro Yudho (
[email protected])
Microkernel, hanya terdiri dari sekumpulan kecil dari fungsi dari sistem dan model hardware.
9
System Structure And Operation z
z
11
z
Interrupts “An interrupt is like the ringing of a telephone: it is an event that is designed to get the attention of hardware, software or both.”
Satiro Yudho (
[email protected])
12
3
System Structure And Operation Interrupts Cont’d.
System Structure And Operation Cont’d.
Processes “Process is program in execution” (Silberschatz, 2006)
z
z
z
An operating system that allows multiple processes to run in this manner is said to support multitasking. Multithreading, is different from multitasking in that multiple threads of control execute within the memory space of a single process. (Michael Jipping, 2006)
Satiro Yudho (
[email protected])
13
System Structure And Operation Cont’d. z
Satiro Yudho (
[email protected])
14
System Structure And Operation Cont’d.
Device I/O
z
Device I/O Cont’d.
“A computer system without devices is not very useful.” (Michael Jipping, 2006) Diagram Of Asynchronous
Diagram Of Syncrhonous
Communication
communication
Satiro Yudho (
[email protected])
15
Satiro Yudho (
[email protected])
16
4
System Structure And Operation Cont’d. z
System Structure And Operation Cont’d.
Storage Structures
z
“The core computing cycle is very dependent on storage.”
Satiro Yudho (
[email protected])
17
System Structure And Operation Cont’d. z
Hardware Access and Protection “If resources are shared, all applications can appear to execute at the same time and are presented with the illusion that they are the only application running on the computer system..”
Satiro Yudho (
[email protected])
System Structure And Operation Cont’d.
Hardware Access and Protection
z
Hardware Access and Protection
Sharing network
Sharing network
serially
concurently
Satiro Yudho (
[email protected])
18
19
Satiro Yudho (
[email protected])
20
5
System Structure And Operation Cont’d. z
System Structure And Operation Cont’d.
Protection modes
z
“two separate ways of operating: the operating system needs a privileged mode and other programs need a user mode of operation”
“setiap program yang berjalan harus diproteksi, begitu juga memory, memory merupakan resource yang harus diawasi penggunaanya dengan batasan tertentu”
“Privileged-mode operation allows a program to do tasks only the operating system should do.”
Satiro Yudho (
[email protected])
21
Satiro Yudho (
[email protected])
Protecting the CPU
z
OS/360 and MVS z
“semakin banyak program yang berjalan pada saat yang hampir bersamaan, maka CPU pasti digunakan bersama sama”
23
The IBM OS/360 line of mainframe computers was developed ahead of the operating systems that were to run on them.
z
Unix and Linux
z
Symbian OS
z
z
Satiro Yudho (
[email protected])
22
Different Platforms
System Structure And Operation Cont’d. z
Protecting memory
The kernel is a monolithic kernel. Symbian OS is unique among operating systems in the sense that it was designed from its inception with smartphones as the target platform.
Satiro Yudho (
[email protected])
24
6
Summary
Penutup
Dalam implemetasi, Sistem Operasi menggunakan beberapa komponen seperti Kernel, process, protection, dan device I/O. Interupt, digunakan sebagai trigger untuk menghubungkan komunikasi antara software dan hardware melalui fungsi yang tersedia.
Satiro Yudho (
[email protected])
25
Thank You For Your Attending All Course material are available at http://yudhos.wordpress.com
Satiro Yudho (
[email protected])
26
7