Io Management Sistem Operasi
-
Upload
ridhoridho -
Category
Documents
-
view
226 -
download
1
Transcript of Io Management Sistem Operasi
-
7/24/2019 Io Management Sistem Operasi
1/16
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
I/O Management
Kategori I/O Devices
Human Readable, untuk berkomunikasi dengan penguna computer
Contoh: monitor, printer, keyboard
Machine Readable, untuk berkomunikasi dengan sesame peralatan
Contoh: harddisk, sensor, scanner
Materi Sistem OperasiBLOG INI BERISIKAN MATERI SISTEM OPERASI
https://sisopkitakita.wordpress.com/https://sisopkitakita.wordpress.com/http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttps://sisopkitakita.wordpress.com/ -
7/24/2019 Io Management Sistem Operasi
2/16
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
Communication, untuk berkomunikasi dengan device di tempat lain
Contoh: LAN card, modem
Perbedaan masing masing device
1. Date Rate
Setiap device memiliki tingkat perbedaan tingkat data.
2. Aplikasi
Setiap device memiliki software pendukung untuk dapat digunakan. Sebagai contoh,
sebuah disket yang digunakan untuk menyimpan file membutuhkan dukungan dari
manajemn file software dan utilities pendukung.
3. Complexity Control
Contohnya seperti sebuah printer membutuhkan interface control yang relative
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
3/16
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
sederhana, sedangkan sebuah disket lebih kompleks.
4. Unit of Transfer
Data transfer sebagai arus dari bytes atau karakter (misalkan terminal I/O) atau dalamblok yang lebih besar (Misalkan disket I/O).
5. Data representation
Masing masing device memiliki skema encoding yang berbeda, termasuk perbedaan
dalam kode karakter dan konvesi paritas.
6. Error Conditions
Error kondisi adalah cara yang digunakan device untukmelaporkan, konsekuensi, dan
tersedianya jangkauan dari respons yang umumnya berbeda untuk masing masing
device.
Teknik I/O
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
4/16
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
Programmed (Teknik I/O Terprogram
1. CPU merequest untuk melakukan operasi I/O
2. Modul I/O melaksanakan operasi ke peripheral
3. Modul I/O mengeset status bits hasil operasinya
4. CPU mengecek status bits secara periodic (tiap beberapa clock), kalau belum
ada perubahan, tunggu. Kalau ada, beraksi.
5. Maka modul I/O tidak menginformasikan status secara langsung ke CPU.
6. Modul I/O tidak bisa mengirimkan interrupt ke CPU
Interrupt-driven
1. CPU merequest untuk melakukan operasi I/O.
2. Modul I/O melaksanakan operasi ke peripheral
3. Sementara itu CPU dapat melakukan kegiatan yang lain (melaksanakan proses
berikutnya)
4. Modul I/O mengirimkan interrupt ke CPU untuk memberitahukan status hasil
operasinya
5. CPU bereaksi atas status tersebut
Direct Memory Access (DMA)
1. CPU memberi tahu DMA controller: read/write, alamat peripheral, alamat awal
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
5/16
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
blok memory, tempat data, jumlah data yang akan ditransfer.
2. CPU melanjutkan pekerjaan lainnya
3. DMA controller melaksanakan operasi
4. DMA controller mengirim interrupt ke CPU saat seluruh operasi selesai
DMA (Direct Memory Access)
Merupakan suatu pendekatan alternative yang digunakan sebagai unit pengaturan
khusus yang disediakan untuk memungkinkan pengalihan blok data secara langsung
antara peralatan eksternal dan memori utama tanpa intervensi terus menerus oleh
CPU.
Performing I/O
Apa yang dilakukan DMA? DMA Transfer: Cycle Stealing
DMA controller mengambil alih siklus bus
Kemudian mentransfer satu word data
CPU di suspend sesaat sebelum mengakses bus, ketika bus dipakai DMA controller
Memperlambat CPU tetapi tidak selambat jika CPU sendiri yang melakukan
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
6/16
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
transfer, karena CPU tidak berganti konteks (menerima interrupt atau membaca
status dsb)
Relationship Among Techniques
Evolusi fungsi I/O
Semula CPU langsung mengendalikan peripheral
Kemudian ada penambahan modul I/O terprogram, sebagai pengendali
Selanjutnya penambahan modul I/O interrupt driven, sebagai pengendali
Modul I/O akses langsung ke memori melalui DMA
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
7/16
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
Kemampuan modul I/O diingatkan jadi prosesor dan tidak tergantung CPU. Modul
I/O memiliki memori lokal
DMA configure
Single bus, DMA controller terpisah dari Modul I/O
Sekali transfer menggunakan bus dua kali, modul I/O ke DMA kemudian DMA ke
memory
CPU di suspend dua kali
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
8/16
pdfcrowd comopen in browser PRO version Are you a developer? Try out the HTML to PDF API
Single Bus, DMA controller terintegrasi dengan Modul I/O
Controller dapat mensupport > 1 periferal
Sekali transfer menggunakan bus satu kali, DMA controller ke memory
CPU di suspend satu kali
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
9/16
df d mi b PRO i Are you a developer? Try out the HTML to PDF API
Memiliki I/O Bus tersendiri
Bus mensupport semua peripheral yang bisa DMA
Sekali transfer menggunakan bus satu kali, DMA controller ke memory
CPU di suspend satu kali
Prinsip Prinsip perangkat I/O
Terdapat dua sasaran perancangan perangkat I/O, yaitu:
Efisiensi
Merupakan aspek penting karena operasi I/O sering menjadi operasi yangmenimbulkan bottleneck pada sistem computer.
Generality
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
10/16
df di b PRO i Are you a developer? Try out the HTML to PDF API
Selain berkaitan dengan simplisitas dan bebas dari kesalahan diharapkan juga
menangani semua gerak peralatan secara beragam. Pernyataan ini diterapkan dari
cara proses-proses memandang peralatan I/O dan cara sistem operasi mengelola
peralatan-peralatan dan operasi-operasi I/O.
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
11/16
df di b PRO i A d l ? T t th HTML t PDF API
I/O Buffering
Buffering merupakan teknik untuk melembutkan lonjakan lonjakan kebutuhan
pengaksesan I/O secara langsung.
Buffering adalah cara untuk meningkatkan efisiensi sistem operasi dan kinerja proses
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
12/16df di b PRO i A d l ? T t th HTML t PDF API
proses.
Single buffer
Teknik ini merupakan buffering paling sederhana. Ketika proses pemakai memberikan
perintah I/O, sistem operasi menyediakan buffer bagian memori utama sistem untuk
operasi. Untuk peralatan berorientasi blok, transfer masukan dibuat ke buffer sistem.
Ketika transfer selesai, proses memindahkan blok ke ruang pemakai dan segera
meminta blok lain. Teknik ini disebut reading ahead atau anticipated input.
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
13/16df di b PRO i
Are you a developer? Try out the HTML to PDF API
Double buffer
Peningkatan atas sngle buffering dapat dibuat dengan mempunyai dua buffer sistem
untuk sistem operasi. Proses dapat transfer ke satu buffer sementara sistem operasi
mengosongkan buffer lain. Double buffering menjamin proses tidak akan menunggu
operasi I/O. Peningkatan atas single buffering diperoleh, namun harus dibayar dengan
kompleksitas yang meningkat.
http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdf -
7/24/2019 Io Management Sistem Operasi
14/16df di b PRO iAre you a developer? Try out the HTML to PDF API
Circular buffer
Seharusnya melembutkan aliran data anatara perangkat Vo dan proses. Jika kinerjaproses tertentu menjadi focus kita, maka kita ingin agar operasi Vo mengikuti proses.
Double buffering tidak mencukupi jika proses melakukan operasi Vo yang berurutan
dengan cepat. Masalah sering dapat dihindari dengan menggunakan lebih dari dua
buffer. Ketika lebih dari dua buffer yang digunakan, kumpulan buffer itu sendiri diacu
sebagai circular buffer. Tiap buffer individu adalah satu unit circular buffer.
Tentang iklan-iklan ini
http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttp://cyber-breeze.com/perfectly-timed-photos-50-shots/?v=00033http://paid.zemanta.com/sr/?_z1_msid=gravity&turl=https%3A%2F%2Fwww.wealthfront.com%2Fc%2F%26type%3DZemanta%26_z1_adgid%3D501%26_z1_msid%3Dgravity%26v%3D215%26campaign%3Dtwobilliondesktop%26content%3Dtwo-billion%2Fto%2Ftechcrunch%2F2015%2F03%2F03%2Fwealthfront-now-manages-more-than-2-billion-in-client-assets%2F&_z1_adgid=501&v=215&_z1_caid=13884https://wordpress.com/about-these-ads/http://cyber-breeze.com/perfectly-timed-photos-50-shots/?v=00033http://paid.zemanta.com/sr/?_z1_msid=gravity&turl=https%3A%2F%2Fwww.wealthfront.com%2Fc%2F%26type%3DZemanta%26_z1_adgid%3D501%26_z1_msid%3Dgravity%26v%3D215%26campaign%3Dtwobilliondesktop%26content%3Dtwo-billion%2Fto%2Ftechcrunch%2F2015%2F03%2F03%2Fwealthfront-now-manages-more-than-2-billion-in-client-assets%2F&_z1_adgid=501&v=215&_z1_caid=13884 -
7/24/2019 Io Management Sistem Operasi
15/16df di b PRO iAre you a developer? Try out the HTML to PDF API
Bagikan ini:
Twitter Facebook Google
by Gravity
These Photos Could Not
Have Been Timed Any
Millions & Confidence Go
Hand In Hand For
Who Knew Jaguars
Would Attack A Crocodi le!
10 Hilarious Hidden
Jokes in Dis ney Movies
Memuat...
Suka
Jadilah yang pertama menyukai ini.
Terkait
http://cyber-breeze.com/perfectly-timed-photos-50-shots/?v=00033http://cyber-breeze.com/perfectly-timed-photos-50-shots/?v=00033https://sisopkitakita.wordpress.com/2014/12/01/io-management/?share=facebook&nb=1http://pdfcrowd.com/http://pdfcrowd.com/redirect/?url=https%3a%2f%2fsisopkitakita.wordpress.com%2f2014%2f12%2f01%2fio-management%2f&id=ma-150701132439-6e0be082http://pdfcrowd.com/customize/http://pdfcrowd.com/html-to-pdf-api/?ref=pdfhttps://sisopkitakita.wordpress.com/2014/12/01/io-management/?share=twitter&nb=1https://sisopkitakita.wordpress.com/2014/12/01/io-management/?share=facebook&nb=1https://sisopkitakita.wordpress.com/2014/12/01/io-management/?share=google-plus-1&nb=1http://cyber-breeze.com/perfectly-timed-photos-50-shots/?v=00033http://paid.zemanta.com/sr/?_z1_msid=gravity&turl=https%3A%2F%2Fwww.wealthfront.com%2Fc%2F%26type%3DZemanta%26_z1_adgid%3D501%26_z1_msid%3Dgravity%26v%3D215%26campaign%3Dtwobilliondesktop%26content%3Dtwo-billion%2Fto%2Ftechcrunch%2F2015%2F03%2F03%2Fwealthfront-now-manages-more-than-2-billion-in-client-assets%2F&_z1_adgid=501&v=215&_z1_caid=13884http://www.lolboom.net/jaguar-vs-crocodile/?utm_source=gravity&utm_medium=LolBoom.net-Desktop-US-B-JagVCocA&utm_content=top&utm_campaign=Who%20Knew%20Jaguars%20Would%20Attack%20A%20Crocodile%21%20Amazing%20Fight%20Between%20Them%20%28Photos%20%26%20Video%29http://www.yourdailydish.com/hidden-secrets-in-disney-movies/?grvVariant=9825154bd0ec1a7cfefe8eff5504b241http://www.gravity.com/consumershttp://cyber-breeze.com/perfectly-timed-photos-50-shots/?v=00033http://paid.zemanta.com/sr/?_z1_msid=gravity&turl=https%3A%2F%2Fwww.wealthfront.com%2Fc%2F%26type%3DZemanta%26_z1_adgid%3D501%26_z1_msid%3Dgravity%26v%3D215%26campaign%3Dtwobilliondesktop%26content%3Dtwo-billion%2Fto%2Ftechcrunch%2F2015%2F03%2F03%2Fwealthfront-now-manages-more-than-2-billion-in-client-assets%2F&_z1_adgid=501&v=215&_z1_caid=13884http://www.lolboom.net/jaguar-vs-crocodile/?utm_source=gravity&utm_medium=LolBoom.net-Desktop-US-B-JagVCocA&utm_content=top&utm_campaign=Who%20Knew%20Jaguars%20Would%20Attack%20A%20Crocodile%21%20Amazing%20Fight%20Between%20Them%20%28Photos%20%26%20Video%29http://www.yourdailydish.com/hidden-secrets-in-disney-movies/?grvVariant=9825154bd0ec1a7cfefe8eff5504b241https://widgets.wp.com/likes/# -
7/24/2019 Io Management Sistem Operasi
16/16