SlideShare a Scribd company logo
1 of 30
Download to read offline
Sistem Operasi
       IKH311




Masukan Luaran (Input/Output)
Prinsip I/O




              2
Device Controllers


    I/O devices have components:
    ●
        mechanical component
    ●
        electronic component

    The electronic component is the device
    controller
    ●
        may be able to handle multiple devices

    Controller's tasks
    ●
        convert serial bit stream to block of bytes
    ●
        perform error correction as necessary
    ●
        make available to main memory
Principles of I/O Software
                  Goals of I/O Software (1)

   Device independence
    ●   programs can access
        any I/O device
    ●   without specifying
        device in advance
        –   (floppy, hard drive, or
            CD-ROM)
   Uniform naming
    ●   name of a file or
        device a string or an
        integer
    ●   not depending on
Memory-Mapped I/O
Memory-Mapped I/O
Direct Memory Access (DMA)
Interrupt
Not Recently Used Page Replacement
                  Algorithm

   Each page has
     Reference bit,
     Modified bit
          bits are set when
             page is
             referenced,
             modified
   Pages are classified
          not referenced,
            not modified
          not referenced,
            modified
Device-Independent I/O Software
             (1)

    Uniform interfacing for device drivers
    Buffering
    Error reporting
    Allocating and releasing dedicate devices
    Providing a deice-independent block size


Functions of the device-independent I/O software
                                                10
FIFO Page Replacement
                 Algorithm

    Maintain a linked list of all pages
       
           in order they came into memory

    Page at beginning of list replaced

    Disadvantage
       
           page in memory the longest may be often used
Device-Independent I/O Software
               (3)




(a) Unbuffered input
(b) Buffering in user space
(c) Buffering in the kernel followed by copying to user space
(d) Double buffering in the kernel                          12
Device-Independent I/O Software
             (4)




   Networking may involve many copies
                                        13
Disks
            Disk Hardware (1)




Disk parameters for the original IBM PC floppy disk   14
     and a Western Digital WD 18300 hard disk
Disk Hardware (2)





    Physical geometry of a disk with two zones

    A possible virtual geometry for this disk    15
Disk Hardware (3)





    Raid levels 0 through 2

    Backup and parity drives are shaded   16
Disk Hardware
                (4)





    Raid levels 3 through 5

    Backup and parity drives are shaded   17
Disk Hardware (5)




Recording structure of a CD or CD-ROM   18
Disk Hardware (6)




Logical data layout on a CD-ROM
                                  19
Disk Hardware (7)





    Cross section of a CD-R disk and laser
    ●
        not to scale

    Silver CD-ROM has similar structure
    ●
        without dye layer
    ●
        with pitted aluminum layer instead of gold   20
Disk Hardware (8)




A double sided, dual layer DVD disk
                                      21
Disk Formatting (1)




     A disk sector

                      22
Disk Formatting (2)




An illustration of cylinder skew   23
Disk Formatting (3)




 
     No interleaving
 
     Single interleaving
 
     Double interleaving
                           24
Disk Arm Scheduling Algorithms (1)
 • Time required to read or write a disk
   block determined by 3 factors
   1.   Seek time
   2.   Rotational delay
   3.   Actual transfer time
 • Seek time dominates
 • Error checking is done by controllers


                                           25
Disk Arm Scheduling Algorithms (2)
              Initial   Pending
             position   requests




Shortest Seek First (SSF) disk scheduling algorithm

                                                 26
Disk Arm Scheduling Algorithms (3)




The elevator algorithm for scheduling disk requests
                                                  27
Error Handling





    A disk track with a bad sector

    Substituting a spare for the bad sector

    Shifting all the sectors to bypass the bad one
                                                     28
Stable Storage




Analysis of the influence of crashes on stable writes

                                                   29
Pustaka


    Avi Silberschatz, "Operating System Concepts"

    http://codex.cs.yale.edu/avi/os-
      book/OS8/os8j/index.html

    Andrew Tanenbaum, "Modern Operating
     Systems"

    http://www.cs.vu.nl/~ast/books/mos2/

    Harvey Deitel, "Operating Systems"

    http://cs.nyu.edu/~yap/classes/os/resources/origin_of
      _PV.html

    tjerdastangkas.blogspot.com/search/label/ikh311

More Related Content

What's hot

BSAD 104 Understanding Computers,OS,File Management
BSAD 104 Understanding Computers,OS,File ManagementBSAD 104 Understanding Computers,OS,File Management
BSAD 104 Understanding Computers,OS,File Managementmsdenee
 
Making your own bootloader
Making your own bootloaderMaking your own bootloader
Making your own bootloaderiamumr
 
Computer Motherboard
Computer MotherboardComputer Motherboard
Computer MotherboardShaikat Saha
 
Microprocessor based software developnent
Microprocessor based software developnentMicroprocessor based software developnent
Microprocessor based software developnentSandeep Kamath
 
07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)Akhila Dakshina
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardwaredheeraj87
 
Module 4. motherboard.
Module 4. motherboard.Module 4. motherboard.
Module 4. motherboard.kj_sherly
 
HARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGHARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGchiju chinnu
 
Performing Disk Management Tasks
Performing Disk Management TasksPerforming Disk Management Tasks
Performing Disk Management TasksAmir Villas
 
Unix fundamentals
Unix fundamentalsUnix fundamentals
Unix fundamentalsBimal Jain
 

What's hot (20)

computer
computercomputer
computer
 
BSAD 104 Understanding Computers,OS,File Management
BSAD 104 Understanding Computers,OS,File ManagementBSAD 104 Understanding Computers,OS,File Management
BSAD 104 Understanding Computers,OS,File Management
 
Making your own bootloader
Making your own bootloaderMaking your own bootloader
Making your own bootloader
 
Assembling a computer
Assembling a computerAssembling a computer
Assembling a computer
 
Computer Motherboard
Computer MotherboardComputer Motherboard
Computer Motherboard
 
Microprocessor based software developnent
Microprocessor based software developnentMicroprocessor based software developnent
Microprocessor based software developnent
 
07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)07. Mainboard (System Board, Motherboard)
07. Mainboard (System Board, Motherboard)
 
Basic Computer 208 part 2
Basic Computer 208 part 2 Basic Computer 208 part 2
Basic Computer 208 part 2
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Module 4. motherboard.
Module 4. motherboard.Module 4. motherboard.
Module 4. motherboard.
 
Mother board
Mother boardMother board
Mother board
 
HARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGHARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATING
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
Computer Motherboard
Computer MotherboardComputer Motherboard
Computer Motherboard
 
Understanding The Boot Process
Understanding The Boot ProcessUnderstanding The Boot Process
Understanding The Boot Process
 
Performing Disk Management Tasks
Performing Disk Management TasksPerforming Disk Management Tasks
Performing Disk Management Tasks
 
Unix fundamentals
Unix fundamentalsUnix fundamentals
Unix fundamentals
 
Assembling the computer
Assembling the computerAssembling the computer
Assembling the computer
 
Booy Up
Booy UpBooy Up
Booy Up
 
Pc assembly
Pc assemblyPc assembly
Pc assembly
 

Viewers also liked

Designing the Mobile Experience
Designing the Mobile ExperienceDesigning the Mobile Experience
Designing the Mobile ExperienceKaKi Law
 
Social Realism
Social RealismSocial Realism
Social Realismp102
 
Web Application Security For Small and Medium Businesses
Web Application Security For Small and Medium BusinessesWeb Application Security For Small and Medium Businesses
Web Application Security For Small and Medium BusinessesSasha Nunke
 
But Sales Was Not In My Job Description
But Sales Was Not In My Job DescriptionBut Sales Was Not In My Job Description
But Sales Was Not In My Job DescriptionDave Gee
 
PHP & XML: SimpleXML, DOMDocument
PHP & XML: SimpleXML, DOMDocumentPHP & XML: SimpleXML, DOMDocument
PHP & XML: SimpleXML, DOMDocumentValentin Bora
 
How to Play Well with Others (A Program on Dealing with Difficult People)
How to Play Well with Others (A Program on Dealing with Difficult People)How to Play Well with Others (A Program on Dealing with Difficult People)
How to Play Well with Others (A Program on Dealing with Difficult People)Marian Madonia, CSP
 
Errenazimenduko pintura. Veneziako eskola ppt
Errenazimenduko pintura. Veneziako eskola pptErrenazimenduko pintura. Veneziako eskola ppt
Errenazimenduko pintura. Veneziako eskola pptasunasenjo
 
Office 365 + Windows Azure (del 2)
Office 365 + Windows Azure (del 2)Office 365 + Windows Azure (del 2)
Office 365 + Windows Azure (del 2)Wictor Wilén
 
Global Conferencing Trends
Global Conferencing TrendsGlobal Conferencing Trends
Global Conferencing TrendsInterCall
 
Innovation mentoring grant proposal 100113 rev 1
Innovation mentoring grant proposal 100113 rev 1Innovation mentoring grant proposal 100113 rev 1
Innovation mentoring grant proposal 100113 rev 1John Michitson
 
Quesnel.Adolescent Literacy.Feb 2016
Quesnel.Adolescent Literacy.Feb 2016Quesnel.Adolescent Literacy.Feb 2016
Quesnel.Adolescent Literacy.Feb 2016Faye Brownlie
 
Qualicum engagement.novpptx
Qualicum   engagement.novpptxQualicum   engagement.novpptx
Qualicum engagement.novpptxFaye Brownlie
 

Viewers also liked (20)

Camel
CamelCamel
Camel
 
Designing the Mobile Experience
Designing the Mobile ExperienceDesigning the Mobile Experience
Designing the Mobile Experience
 
Animation in Diamond Resorts
Animation in Diamond ResortsAnimation in Diamond Resorts
Animation in Diamond Resorts
 
Social Realism
Social RealismSocial Realism
Social Realism
 
Excellent Roth IRA Alternative
Excellent Roth IRA  AlternativeExcellent Roth IRA  Alternative
Excellent Roth IRA Alternative
 
Web Application Security For Small and Medium Businesses
Web Application Security For Small and Medium BusinessesWeb Application Security For Small and Medium Businesses
Web Application Security For Small and Medium Businesses
 
Tle4904 343973
Tle4904 343973Tle4904 343973
Tle4904 343973
 
MRLC Feb Reading
MRLC Feb ReadingMRLC Feb Reading
MRLC Feb Reading
 
But Sales Was Not In My Job Description
But Sales Was Not In My Job DescriptionBut Sales Was Not In My Job Description
But Sales Was Not In My Job Description
 
PHP & XML: SimpleXML, DOMDocument
PHP & XML: SimpleXML, DOMDocumentPHP & XML: SimpleXML, DOMDocument
PHP & XML: SimpleXML, DOMDocument
 
How to Play Well with Others (A Program on Dealing with Difficult People)
How to Play Well with Others (A Program on Dealing with Difficult People)How to Play Well with Others (A Program on Dealing with Difficult People)
How to Play Well with Others (A Program on Dealing with Difficult People)
 
You, Your Family & Your Estate
You, Your Family & Your EstateYou, Your Family & Your Estate
You, Your Family & Your Estate
 
Errenazimenduko pintura. Veneziako eskola ppt
Errenazimenduko pintura. Veneziako eskola pptErrenazimenduko pintura. Veneziako eskola ppt
Errenazimenduko pintura. Veneziako eskola ppt
 
Office 365 + Windows Azure (del 2)
Office 365 + Windows Azure (del 2)Office 365 + Windows Azure (del 2)
Office 365 + Windows Azure (del 2)
 
Global Conferencing Trends
Global Conferencing TrendsGlobal Conferencing Trends
Global Conferencing Trends
 
Innovation mentoring grant proposal 100113 rev 1
Innovation mentoring grant proposal 100113 rev 1Innovation mentoring grant proposal 100113 rev 1
Innovation mentoring grant proposal 100113 rev 1
 
Quesnel.Adolescent Literacy.Feb 2016
Quesnel.Adolescent Literacy.Feb 2016Quesnel.Adolescent Literacy.Feb 2016
Quesnel.Adolescent Literacy.Feb 2016
 
Qualicum engagement.novpptx
Qualicum   engagement.novpptxQualicum   engagement.novpptx
Qualicum engagement.novpptx
 
soal-pemrograman-b
soal-pemrograman-bsoal-pemrograman-b
soal-pemrograman-b
 
Goodxi
GoodxiGoodxi
Goodxi
 

Similar to ikh311-07

Chapter 05
Chapter 05Chapter 05
Chapter 05 Google
 
Lesson 2 Ppt V6
Lesson 2 Ppt V6Lesson 2 Ppt V6
Lesson 2 Ppt V6ipwk
 
Ganesh naik linux_kernel_internals
Ganesh naik linux_kernel_internalsGanesh naik linux_kernel_internals
Ganesh naik linux_kernel_internalsGanesh Naik
 
Ganesh naik linux_kernel_internals
Ganesh naik linux_kernel_internalsGanesh naik linux_kernel_internals
Ganesh naik linux_kernel_internalsnullowaspmumbai
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case studyLavanya G
 
Android Mind Reading: Android Live Memory Analysis with LiME and Volatility
Android Mind Reading: Android Live Memory Analysis with LiME and VolatilityAndroid Mind Reading: Android Live Memory Analysis with LiME and Volatility
Android Mind Reading: Android Live Memory Analysis with LiME and VolatilityJoe Sylve
 
Case study of BtrFS: A fault tolerant File system
Case study of BtrFS: A fault tolerant File systemCase study of BtrFS: A fault tolerant File system
Case study of BtrFS: A fault tolerant File systemKumar Amit Mehta
 
Computerhardware 130909042641-
Computerhardware 130909042641-Computerhardware 130909042641-
Computerhardware 130909042641-zeyneptsd
 
Lecture Notes for Device management in Operating Systems
Lecture Notes for Device management in Operating SystemsLecture Notes for Device management in Operating Systems
Lecture Notes for Device management in Operating Systemsgirmay Gebray
 
00 Hardware Of Personal Computer V1 1
00 Hardware Of Personal Computer V1 100 Hardware Of Personal Computer V1 1
00 Hardware Of Personal Computer V1 1Rajan Das
 
lec17-disks.ppt
lec17-disks.pptlec17-disks.ppt
lec17-disks.pptRandyGaray
 
Lecturedevicemanagement
LecturedevicemanagementLecturedevicemanagement
LecturedevicemanagementVikash Kumar
 
Lec3_Storage_Management.ppt
Lec3_Storage_Management.pptLec3_Storage_Management.ppt
Lec3_Storage_Management.pptDrAmarNathDhebla
 
Ch14 OS
Ch14 OSCh14 OS
Ch14 OSC.U
 

Similar to ikh311-07 (20)

Chapter 05
Chapter 05Chapter 05
Chapter 05
 
Chapter-05.ppt
Chapter-05.pptChapter-05.ppt
Chapter-05.ppt
 
5120224.ppt
5120224.ppt5120224.ppt
5120224.ppt
 
Lesson 2 Ppt V6
Lesson 2 Ppt V6Lesson 2 Ppt V6
Lesson 2 Ppt V6
 
Hard Disk Componets
Hard Disk ComponetsHard Disk Componets
Hard Disk Componets
 
Lecture 02 hardware
Lecture 02 hardwareLecture 02 hardware
Lecture 02 hardware
 
Ganesh naik linux_kernel_internals
Ganesh naik linux_kernel_internalsGanesh naik linux_kernel_internals
Ganesh naik linux_kernel_internals
 
Ganesh naik linux_kernel_internals
Ganesh naik linux_kernel_internalsGanesh naik linux_kernel_internals
Ganesh naik linux_kernel_internals
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
Android Mind Reading: Android Live Memory Analysis with LiME and Volatility
Android Mind Reading: Android Live Memory Analysis with LiME and VolatilityAndroid Mind Reading: Android Live Memory Analysis with LiME and Volatility
Android Mind Reading: Android Live Memory Analysis with LiME and Volatility
 
Case study of BtrFS: A fault tolerant File system
Case study of BtrFS: A fault tolerant File systemCase study of BtrFS: A fault tolerant File system
Case study of BtrFS: A fault tolerant File system
 
Common computer myth’s
Common computer myth’sCommon computer myth’s
Common computer myth’s
 
Presentation
PresentationPresentation
Presentation
 
Computerhardware 130909042641-
Computerhardware 130909042641-Computerhardware 130909042641-
Computerhardware 130909042641-
 
Lecture Notes for Device management in Operating Systems
Lecture Notes for Device management in Operating SystemsLecture Notes for Device management in Operating Systems
Lecture Notes for Device management in Operating Systems
 
00 Hardware Of Personal Computer V1 1
00 Hardware Of Personal Computer V1 100 Hardware Of Personal Computer V1 1
00 Hardware Of Personal Computer V1 1
 
lec17-disks.ppt
lec17-disks.pptlec17-disks.ppt
lec17-disks.ppt
 
Lecturedevicemanagement
LecturedevicemanagementLecturedevicemanagement
Lecturedevicemanagement
 
Lec3_Storage_Management.ppt
Lec3_Storage_Management.pptLec3_Storage_Management.ppt
Lec3_Storage_Management.ppt
 
Ch14 OS
Ch14 OSCh14 OS
Ch14 OS
 

More from Anung Ariwibowo (20)

isd314-06-association-mining
isd314-06-association-miningisd314-06-association-mining
isd314-06-association-mining
 
ikp213-unifikasi
ikp213-unifikasiikp213-unifikasi
ikp213-unifikasi
 
ikp213-06-horn-clause
ikp213-06-horn-clauseikp213-06-horn-clause
ikp213-06-horn-clause
 
ikp213-01-pendahuluan
ikp213-01-pendahuluanikp213-01-pendahuluan
ikp213-01-pendahuluan
 
ikd312-05-sqlite
ikd312-05-sqliteikd312-05-sqlite
ikd312-05-sqlite
 
ikd312-05-kalkulus-relasional
ikd312-05-kalkulus-relasionalikd312-05-kalkulus-relasional
ikd312-05-kalkulus-relasional
 
ikd312-04-aljabar-relasional
ikd312-04-aljabar-relasionalikd312-04-aljabar-relasional
ikd312-04-aljabar-relasional
 
ikd312-03-design
ikd312-03-designikd312-03-design
ikd312-03-design
 
ikd312-02-three-schema
ikd312-02-three-schemaikd312-02-three-schema
ikd312-02-three-schema
 
ikp213-02-pendahuluan
ikp213-02-pendahuluanikp213-02-pendahuluan
ikp213-02-pendahuluan
 
ikh311-08
ikh311-08ikh311-08
ikh311-08
 
ikh311-06
ikh311-06ikh311-06
ikh311-06
 
ikh311-05
ikh311-05ikh311-05
ikh311-05
 
ikp321-svn
ikp321-svnikp321-svn
ikp321-svn
 
ikh311-04
ikh311-04ikh311-04
ikh311-04
 
ikp321-05
ikp321-05ikp321-05
ikp321-05
 
imsakiyah-jakarta-1433-09
imsakiyah-jakarta-1433-09imsakiyah-jakarta-1433-09
imsakiyah-jakarta-1433-09
 
ikh311-03
ikh311-03ikh311-03
ikh311-03
 
ikp321-04
ikp321-04ikp321-04
ikp321-04
 
ikp321-03
ikp321-03ikp321-03
ikp321-03
 

Recently uploaded

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 

Recently uploaded (20)

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

ikh311-07

  • 1. Sistem Operasi IKH311 Masukan Luaran (Input/Output)
  • 3. Device Controllers  I/O devices have components: ● mechanical component ● electronic component  The electronic component is the device controller ● may be able to handle multiple devices  Controller's tasks ● convert serial bit stream to block of bytes ● perform error correction as necessary ● make available to main memory
  • 4. Principles of I/O Software Goals of I/O Software (1)  Device independence ● programs can access any I/O device ● without specifying device in advance – (floppy, hard drive, or CD-ROM)  Uniform naming ● name of a file or device a string or an integer ● not depending on
  • 9. Not Recently Used Page Replacement Algorithm  Each page has Reference bit, Modified bit  bits are set when page is referenced, modified  Pages are classified  not referenced, not modified  not referenced, modified
  • 10. Device-Independent I/O Software (1) Uniform interfacing for device drivers Buffering Error reporting Allocating and releasing dedicate devices Providing a deice-independent block size Functions of the device-independent I/O software 10
  • 11. FIFO Page Replacement Algorithm  Maintain a linked list of all pages  in order they came into memory  Page at beginning of list replaced  Disadvantage  page in memory the longest may be often used
  • 12. Device-Independent I/O Software (3) (a) Unbuffered input (b) Buffering in user space (c) Buffering in the kernel followed by copying to user space (d) Double buffering in the kernel 12
  • 13. Device-Independent I/O Software (4) Networking may involve many copies 13
  • 14. Disks Disk Hardware (1) Disk parameters for the original IBM PC floppy disk 14 and a Western Digital WD 18300 hard disk
  • 15. Disk Hardware (2)  Physical geometry of a disk with two zones  A possible virtual geometry for this disk 15
  • 16. Disk Hardware (3)  Raid levels 0 through 2  Backup and parity drives are shaded 16
  • 17. Disk Hardware (4)  Raid levels 3 through 5  Backup and parity drives are shaded 17
  • 18. Disk Hardware (5) Recording structure of a CD or CD-ROM 18
  • 19. Disk Hardware (6) Logical data layout on a CD-ROM 19
  • 20. Disk Hardware (7)  Cross section of a CD-R disk and laser ● not to scale  Silver CD-ROM has similar structure ● without dye layer ● with pitted aluminum layer instead of gold 20
  • 21. Disk Hardware (8) A double sided, dual layer DVD disk 21
  • 22. Disk Formatting (1) A disk sector 22
  • 23. Disk Formatting (2) An illustration of cylinder skew 23
  • 24. Disk Formatting (3)  No interleaving  Single interleaving  Double interleaving 24
  • 25. Disk Arm Scheduling Algorithms (1) • Time required to read or write a disk block determined by 3 factors 1. Seek time 2. Rotational delay 3. Actual transfer time • Seek time dominates • Error checking is done by controllers 25
  • 26. Disk Arm Scheduling Algorithms (2) Initial Pending position requests Shortest Seek First (SSF) disk scheduling algorithm 26
  • 27. Disk Arm Scheduling Algorithms (3) The elevator algorithm for scheduling disk requests 27
  • 28. Error Handling  A disk track with a bad sector  Substituting a spare for the bad sector  Shifting all the sectors to bypass the bad one 28
  • 29. Stable Storage Analysis of the influence of crashes on stable writes 29
  • 30. Pustaka  Avi Silberschatz, "Operating System Concepts"  http://codex.cs.yale.edu/avi/os- book/OS8/os8j/index.html  Andrew Tanenbaum, "Modern Operating Systems"  http://www.cs.vu.nl/~ast/books/mos2/  Harvey Deitel, "Operating Systems"  http://cs.nyu.edu/~yap/classes/os/resources/origin_of _PV.html  tjerdastangkas.blogspot.com/search/label/ikh311