SlideShare ist ein Scribd-Unternehmen logo
1 von 43
© NZSE   1   © AUT
Learning Objectives
 Features of dedicated, shared, and virtual devices
 Differences between sequential and direct access media
 Concepts of blocking and buffering and how they improve
  I/O performance
 Roles of seek time, search time, and transfer time in
  calculating access time
 Strengths and weaknesses of common seek strategies,
  including FCFS, SSTF, SCAN, LOOK and how they compare
 Different levels of RAID and what sets each apart from
  the others

© NZSE                     2                        © AUT
© NZSE   3   © AUT
Types of Devices
Dedicated Devices                             Shared Devices
 Device assigned to one job at a              Device assigned to several
   time                                         processes
     For entire time job is active (or           Example: direct access storage
      until released)                              device (DASD)
     Example: tape drives, printers,                 Processes share DASD
      and plotters                                     simultaneously
                                                      Requests interleaved
 Disadvantage
    Inefficient if device is not used
                                               Device manager supervision
     100%                                         Controls interleaving
    Allocated for duration of job’s                  Predetermined policies
     execution                                         determine conflict resolution

 © NZSE                                   4                                     © AUT
Types of Devices
Virtual Devices
 Dedicated and shared device combination
 Dedicated devices transformed into shared devices
    Example: printer
            Converted by spooling program
 Spooling
    Speeds up slow dedicated I/O devices
    Example: universal serial bus (USB) controller
            Interface between operating system, device drivers, applications,
             and devices attached via USB host
© NZSE                                  5                                © AUT
Types of Devices
Storage media
 Two groups
    Sequential access media
            Records stored sequentially
    Direct access storage devices (DASD)
            Records stored sequentially
            Records stored using direct access files
 Vast differences
    Speed and share-ability


© NZSE                                  6               © AUT
Sequential Access Storage Media
 Magnetic tape
   Early computer systems: routine secondary storage
   Today’s use: routine archiving and data backup
   Records stored serially
            Record length determined by application program
            Record identified by position on tape
            Record access
              Tape mount

              Fast-forwarded to record

            Time-consuming process

© NZSE                                7                        © AUT
Sequential Access Storage Media



 Tape density: characters recorded per inch
    Depends upon storage method (individual or blocked)
 Tape reading/writing mechanics
    Tape moves under read/write head when needed

© NZSE                       8                             © AUT
Sequential Access Storage Media
 Interrecord gap (IRG)
    ½ inch gap inserted between each record
    Same size regardless of records it separates
 Blocking: group records into blocks
 Transfer rate: (tape density) x (transport speed)
 Interblock gap (IBG)
    ½ inch gap inserted between each block
    More efficient than individual records and IRG



© NZSE                         9                      © AUT
Sequential Access Storage Media




© NZSE         10             © AUT
Sequential Access Storage Media
 Blocking advantages
    Fewer I/O operations needed
    Less wasted tape
 Blocking disadvantages
    Overhead and software routines needed for blocking,
     deblocking, and record keeping
    Buffer space wasted
            When only one logical record needed



© NZSE                                11                   © AUT
Sequential Access Storage Media


 Advantages
    Low cost, compact storage capabilities, good for magnetic
     disk backup and long-term archival
 Disadvantages
    Access time
            Poor for routine secondary storage
    Poor for interactive applications

© NZSE                                 12                  © AUT
Direct Access Storage Devices
 Directly read or write to specific disk area
    Random access storage devices
 Four categories
    Magnetic disks
    Optical discs
    Flash memory
    Magneto-optical disks
 Access time variance
    Not as wide as magnetic tape
    Record location directly affects access time

© NZSE                         13                   © AUT
Fixed-Head Magnetic Disk Storage
 Looks like a large CD or DVD
    Covered with magnetic film
    Formatted
            Both sides (usually) in concentric circles called tracks
    Data recorded serially on each track
      Fixed read/write head positioned over data

 Advantages
    Fast (more so than movable head)
 Disadvantages
    High cost and reduced storage

© NZSE                                   14                             © AUT
Movable-Head Magnetic Disk
Storage
 One read/write head floats over disk surface (e.g. HDD)
    Disks can be single platter or part of disk pack (stack of platters)
 Disk pack platter
    Two recording surfaces
    Surface formatted with
     concentric tracks (1000+
     tracks with high-capacity disks)
    Track surface number
             Track zero: outermost concentric circle on each surface
             Center: contains highest-numbered track
     Arm moves over all heads in unison

 © NZSE                                     15                          © AUT
Optical Disc Storage
                     Design difference
                        Magnetic disk
                           Concentric tracks of
                            sectors
                           Spins at constant angular
                            velocity (CAV)
                           Wastes storage space but
                            fast data retrieval




© NZSE         16                                © AUT
Optical Disc Storage
                     Design features
                        Optical disc
                           Single spiralling track of
                            same-sized sectors running
                            from center to disc rim
                           Spins at constant linear
                            velocity (CLV)
                           More sectors and more
                            disc data




© NZSE         17                               © AUT
Optical Disc Storage
 Two important performance measures
    Sustained data-transfer rate
            Speed to read massive data amounts from disc
            Measured in megabytes per second (MBps)
            Crucial for applications requiring sequential access
    Average access time
      Average time to move head to specific disc location
      Expressed in milliseconds (ms)

 Third feature
    Cache size (hardware)
            Buffer to transfer data blocks from disc

© NZSE                                  18                          © AUT
CD, DVD, and Blu-Ray Technology
 Data recorded as zeros and
   ones
     Pits: indentations
     Lands: flat areas
 Reads with low-power laser
    Light strikes land and
     reflects to photodetector
    Pit is scattered and
     absorbed
    Photodetector converts
     light intensity into digital
     signal

 © NZSE                             19   © AUT
CD, DVD, and Blu-Ray Technology
 Contains several layers
    Gold reflective layer and dye layer
    Permanent marks on dye layer
 Data read on standard discs using a low-power beam
 Data written, changed, erased using a high-powered laser
    Uses phase change technology
            Amorphous and crystalline phase states
    Record data: beam heats up disc
      State changes from crystalline to amorphous

    Erase data: low-energy beam to heat up pits
      Loosens alloy to return to original crystalline state

© NZSE                                20                       © AUT
CD, DVD, and Blu-Ray Technology
 Compact Disc (CD) and Digital Versatile Disc (DVD)
 CD-/DVD-Recordable technology (CD-R/DVD-R)
    Records data using write-once technique
    Data cannot be erased or modified
 CD-/DVD-Rewritable technology (CD-RW/DVD-RW)
    Data can be written, changed, and erased multiple times
 CD-ROM/DVD-ROM
    Similar in design, shape, size
    Differs in data capacity
            Dual-layer, single-sided DVD holds 13 CDs
            Single-layer, single-sided DVD holds 8.6 GB (MPEG video compression)
    Differs in laser wavelength
      Uses red laser (smaller pits, tighter spiral)

© NZSE                                    21                                 © AUT
Blu-Ray Disc (BD) Technology
   Same physical size as CD/DVD
   Smaller pits
   More tightly wound tracks
   Use of blue-violet laser allows multiple layers
   50GB-500GB
   432 Mbps
   Formats:
     BD-ROM,
     BD-R (writable), BD-RE (rewritable)
     BD-R DL, BD-RE DL (dual-layer)
© NZSE                         22                     © AUT
Flash Memory Storage
 Electronically erasable programmable read-only memory
  (EEP)
    Nonvolatile and removable
    Emulates random access
      Difference: data stored securely (even if removed)

 Data stored on microchip card or “key”
    Compact flash, smart cards, memory sticks
    Often connected through USB port
 Write data: electric charge sent through floating gate
 Erase data: strong electrical field (flash) applied

© NZSE                            23                        © AUT
Magnetic Disk Drive Access Times
 File access time factors
    Seek time (slowest)
            Time to position read/write
             head on track
    Search time
      Rotational delay (latency)
      Time to rotate DASD
      Rotate until desired record under read/write head

    Transfer time (fastest)
      Time to transfer data
      Secondary storage to main memory transfer


© NZSE                                 24                  © AUT
Communication Among Devices
 Problems to resolve
    Know which components are busy/free
            Solved by structuring interaction between units
    Accommodate requests during heavy I/O traffic
            Handled by buffering records and queuing requests
    Accommodate speed disparity between CPU and I/O
         devices
            Handled by buffering records and queuing requests




© NZSE                                 25                        © AUT
Communication Among Devices
 Direct memory access (DMA)
    Allows control unit main memory access directly
    Transfers data without the intervention of CPU
    Used for high-speed devices (disk)
 Buffers
    Temporary storage areas in main memory, channels, control
     units
    Improves data movement synchronization
            Between relatively slow I/O devices and very fast CPU
    Double buffering: processing of record by CPU while
         another is read or written by channel
© NZSE                                 26                            © AUT
Communication Among Devices




© NZSE      27          © AUT
Device Handler Seek Strategies
 Predetermined device handler
    Determines device processing order
    Goal: minimize seek time
 Types
    First-come, first-served (FCFS), shortest seek time first (SSTF),
     SCAN (including LOOK, N-Step SCAN, C-SCAN, and C-LOOK)
 Scheduling algorithm goals
    Minimize arm movement
    Minimize mean response time
    Minimize variance in response time

 © NZSE                            28                               © AUT
Device Handler Seek Strategies
 First-Come, First-Served (FCFS)
    On average: does not meet three seek strategy goals
    Disadvantage: extreme arm movement




© NZSE                        29                           © AUT
Device Handler Seek Strategies
 Shortest Seek Time First (SSTF)
    Request with track closest to one being served
    Minimizes overall seek time
    Postpones traveling to out of way tracks




© NZSE                        30                      © AUT
Device Handler Seek Strategies
 SCAN
    Directional bit
            Indicates if arm moving toward/away from disk center
    Algorithm moves arm methodically
            From outer to inner track, services every request in its path
            If reaches innermost track, reverses direction and moves toward
             outer tracks
            Services every request in its path




© NZSE                                 31                               © AUT
Device Handler Seek Strategies
 LOOK
    Arm does not go to either edge
            Unless requests exist
    Eliminates indefinite postponement




© NZSE                               32   © AUT
Device Handler Seek Strategies
 N-Step SCAN
    Holds all requests until arm starts on way back
            New requests grouped together for next sweep
 C-SCAN (Circular SCAN)
    Arm picks up requests on path during inward sweep
    Provides more uniform wait time
 C-LOOK
    Inward sweep stops at last high-numbered track request
    No last track access unless required

© NZSE                                33                    © AUT
Summary (cont'd.)




© NZSE        34    © AUT
© NZSE   35   © AUT
RAID
 Physical disk drive set viewed as single logical unit
    Preferable over few large-capacity disk drives
 Improved I/O performance
 Improved data recovery
    Disk failure event
 Introduces redundancy
    Helps with hardware failure recovery
 Significant factors in RAID level selection
    Cost, speed, system’s applications
 Increases hardware costs
© NZSE                        36                          © AUT
© NZSE   37   © AUT
Level Zero
 Uses data striping (not considered true RAID)
    No parity and error corrections
    No error correction/redundancy/recovery
 Benefits
    Devices appear as one logical unit
    Best for large data quantity non-critical data




© NZSE                                 38             © AUT
Level One
 Uses data striping (considered true RAID)
    Mirrored configuration (backup)
            Duplicate set of all data (expensive)
    Provides redundancy and improved reliability




© NZSE                                   39          © AUT
Level Five
 Distributes parity strips across disks
    If all the parity bits were in one disk (Level Four), all
     write/rewrite operations will cause a bottleneck on the
     parity disk
 Disadvantage
    Complicated to regenerate data from failed device




© NZSE                          40                           © AUT
Nested RAID Levels
 Combines multiple RAID levels (complex)




© NZSE                     41               © AUT
© NZSE   42   © AUT
References
 McHoes, A.M., and Flynn, I.M. (2011). Chapter 7: Device Management.
   Understanding Operating Systems, 6th ed. USA: Course Technology. pp. 203-240.




 © NZSE                                 45                                   © AUT

Weitere ähnliche Inhalte

Was ist angesagt?

Computer storage devices
Computer storage devicesComputer storage devices
Computer storage devicesssuser1eca7d
 
Chap1 secondary storage
Chap1 secondary storageChap1 secondary storage
Chap1 secondary storageraksharao
 
The future of optical storage x rg zech (slide share)
The  future of optical storage x rg zech (slide share)The  future of optical storage x rg zech (slide share)
The future of optical storage x rg zech (slide share)rgzech
 
Secondary Storage
Secondary Storage Secondary Storage
Secondary Storage Kak Yong
 
Data storage devices
Data storage devicesData storage devices
Data storage devicesYukiNF
 
secondary storage devices
secondary storage devicessecondary storage devices
secondary storage devicesSrijan Jaiswal
 
Data Storage Devices Holography
Data Storage Devices HolographyData Storage Devices Holography
Data Storage Devices HolographyRam Dutt Shukla
 
Chapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalChapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalPratik Pradhan
 
Data Storage Devices
Data Storage DevicesData Storage Devices
Data Storage DevicesPaco140899
 
Secondary storage
Secondary storageSecondary storage
Secondary storageAmni Muin
 

Was ist angesagt? (20)

Computer storage devices
Computer storage devicesComputer storage devices
Computer storage devices
 
Chap1 secondary storage
Chap1 secondary storageChap1 secondary storage
Chap1 secondary storage
 
Secondary storage
Secondary storageSecondary storage
Secondary storage
 
The future of optical storage x rg zech (slide share)
The  future of optical storage x rg zech (slide share)The  future of optical storage x rg zech (slide share)
The future of optical storage x rg zech (slide share)
 
Secondary storage devices
Secondary storage devicesSecondary storage devices
Secondary storage devices
 
Media Storage
Media StorageMedia Storage
Media Storage
 
Secondary Storage
Secondary Storage Secondary Storage
Secondary Storage
 
secondary storage devices
secondary storage devicessecondary storage devices
secondary storage devices
 
S tora ge devices
S tora ge devicesS tora ge devices
S tora ge devices
 
Data storage devices
Data storage devicesData storage devices
Data storage devices
 
Backing Storage
Backing StorageBacking Storage
Backing Storage
 
ISDD Back Up Strategies
ISDD Back Up StrategiesISDD Back Up Strategies
ISDD Back Up Strategies
 
secondary storage devices
secondary storage devicessecondary storage devices
secondary storage devices
 
Backing Storage
Backing StorageBacking Storage
Backing Storage
 
Secondary Storage
Secondary StorageSecondary Storage
Secondary Storage
 
Data Storage Devices Holography
Data Storage Devices HolographyData Storage Devices Holography
Data Storage Devices Holography
 
Clickhereforfullpaper
ClickhereforfullpaperClickhereforfullpaper
Clickhereforfullpaper
 
Chapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and RetrievalChapter 8 - Multimedia Storage and Retrieval
Chapter 8 - Multimedia Storage and Retrieval
 
Data Storage Devices
Data Storage DevicesData Storage Devices
Data Storage Devices
 
Secondary storage
Secondary storageSecondary storage
Secondary storage
 

Ähnlich wie It6.6005 wk 3-2 - device management

Understanding operating systems 5th ed ch07
Understanding operating systems 5th ed ch07Understanding operating systems 5th ed ch07
Understanding operating systems 5th ed ch07BarrBoy
 
secondarystoragedevices_by_sarthak_goel.pptx
secondarystoragedevices_by_sarthak_goel.pptxsecondarystoragedevices_by_sarthak_goel.pptx
secondarystoragedevices_by_sarthak_goel.pptxSarthakGoel39
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device ManagementDamian T. Gordon
 
Ch14 OS
Ch14 OSCh14 OS
Ch14 OSC.U
 
Secondary storage tutorial
Secondary storage tutorialSecondary storage tutorial
Secondary storage tutorialMarvin Burke
 
Chapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage SystemsChapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage SystemsWayne Jones Jnr
 
OS Slide Ch12 13
OS Slide Ch12 13OS Slide Ch12 13
OS Slide Ch12 13庭緯 陳
 
Secondary storage devices
Secondary storage devicesSecondary storage devices
Secondary storage devicesSrijan Jaiswal
 
Secondary storage devices
Secondary storage devicesSecondary storage devices
Secondary storage devicesSamiksha Pun
 
storage and file structure
storage and file structurestorage and file structure
storage and file structureSheshan Sheniwal
 
Operating System for Undergraduates. level 200 course
Operating System for Undergraduates. level 200 courseOperating System for Undergraduates. level 200 course
Operating System for Undergraduates. level 200 courseReubenMawukoDordunu
 
Secondary Storage
Secondary StorageSecondary Storage
Secondary Storagepy7rjs
 
Mass storage structurefinal
Mass storage structurefinalMass storage structurefinal
Mass storage structurefinalmarangburu42
 
DIRECT ACCESS STORAGE DEVICES
DIRECT ACCESS STORAGE DEVICESDIRECT ACCESS STORAGE DEVICES
DIRECT ACCESS STORAGE DEVICESStaus Nyongesa
 

Ähnlich wie It6.6005 wk 3-2 - device management (20)

Understanding operating systems 5th ed ch07
Understanding operating systems 5th ed ch07Understanding operating systems 5th ed ch07
Understanding operating systems 5th ed ch07
 
Disks.
Disks.Disks.
Disks.
 
secondarystoragedevices_by_sarthak_goel.pptx
secondarystoragedevices_by_sarthak_goel.pptxsecondarystoragedevices_by_sarthak_goel.pptx
secondarystoragedevices_by_sarthak_goel.pptx
 
Operating Systems: Device Management
Operating Systems: Device ManagementOperating Systems: Device Management
Operating Systems: Device Management
 
DB_ch11
DB_ch11DB_ch11
DB_ch11
 
sheet 3 answers.docx
sheet 3 answers.docxsheet 3 answers.docx
sheet 3 answers.docx
 
OSCh14
OSCh14OSCh14
OSCh14
 
OS_Ch14
OS_Ch14OS_Ch14
OS_Ch14
 
Ch14 OS
Ch14 OSCh14 OS
Ch14 OS
 
Secondary storage tutorial
Secondary storage tutorialSecondary storage tutorial
Secondary storage tutorial
 
Chapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage SystemsChapter 12 - Mass Storage Systems
Chapter 12 - Mass Storage Systems
 
OS Slide Ch12 13
OS Slide Ch12 13OS Slide Ch12 13
OS Slide Ch12 13
 
Secondary storage devices
Secondary storage devicesSecondary storage devices
Secondary storage devices
 
Secondary storage devices
Secondary storage devicesSecondary storage devices
Secondary storage devices
 
storage and file structure
storage and file structurestorage and file structure
storage and file structure
 
MS-CIT Unit 7.pptx
MS-CIT Unit 7.pptxMS-CIT Unit 7.pptx
MS-CIT Unit 7.pptx
 
Operating System for Undergraduates. level 200 course
Operating System for Undergraduates. level 200 courseOperating System for Undergraduates. level 200 course
Operating System for Undergraduates. level 200 course
 
Secondary Storage
Secondary StorageSecondary Storage
Secondary Storage
 
Mass storage structurefinal
Mass storage structurefinalMass storage structurefinal
Mass storage structurefinal
 
DIRECT ACCESS STORAGE DEVICES
DIRECT ACCESS STORAGE DEVICESDIRECT ACCESS STORAGE DEVICES
DIRECT ACCESS STORAGE DEVICES
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 

Kürzlich hochgeladen (20)

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

It6.6005 wk 3-2 - device management

  • 1. © NZSE 1 © AUT
  • 2. Learning Objectives  Features of dedicated, shared, and virtual devices  Differences between sequential and direct access media  Concepts of blocking and buffering and how they improve I/O performance  Roles of seek time, search time, and transfer time in calculating access time  Strengths and weaknesses of common seek strategies, including FCFS, SSTF, SCAN, LOOK and how they compare  Different levels of RAID and what sets each apart from the others © NZSE 2 © AUT
  • 3. © NZSE 3 © AUT
  • 4. Types of Devices Dedicated Devices Shared Devices  Device assigned to one job at a  Device assigned to several time processes  For entire time job is active (or  Example: direct access storage until released) device (DASD)  Example: tape drives, printers,  Processes share DASD and plotters simultaneously  Requests interleaved  Disadvantage  Inefficient if device is not used  Device manager supervision 100%  Controls interleaving  Allocated for duration of job’s  Predetermined policies execution determine conflict resolution © NZSE 4 © AUT
  • 5. Types of Devices Virtual Devices  Dedicated and shared device combination  Dedicated devices transformed into shared devices  Example: printer  Converted by spooling program  Spooling  Speeds up slow dedicated I/O devices  Example: universal serial bus (USB) controller  Interface between operating system, device drivers, applications, and devices attached via USB host © NZSE 5 © AUT
  • 6. Types of Devices Storage media  Two groups  Sequential access media  Records stored sequentially  Direct access storage devices (DASD)  Records stored sequentially  Records stored using direct access files  Vast differences  Speed and share-ability © NZSE 6 © AUT
  • 7. Sequential Access Storage Media  Magnetic tape  Early computer systems: routine secondary storage  Today’s use: routine archiving and data backup  Records stored serially  Record length determined by application program  Record identified by position on tape  Record access  Tape mount  Fast-forwarded to record  Time-consuming process © NZSE 7 © AUT
  • 8. Sequential Access Storage Media  Tape density: characters recorded per inch  Depends upon storage method (individual or blocked)  Tape reading/writing mechanics  Tape moves under read/write head when needed © NZSE 8 © AUT
  • 9. Sequential Access Storage Media  Interrecord gap (IRG)  ½ inch gap inserted between each record  Same size regardless of records it separates  Blocking: group records into blocks  Transfer rate: (tape density) x (transport speed)  Interblock gap (IBG)  ½ inch gap inserted between each block  More efficient than individual records and IRG © NZSE 9 © AUT
  • 10. Sequential Access Storage Media © NZSE 10 © AUT
  • 11. Sequential Access Storage Media  Blocking advantages  Fewer I/O operations needed  Less wasted tape  Blocking disadvantages  Overhead and software routines needed for blocking, deblocking, and record keeping  Buffer space wasted  When only one logical record needed © NZSE 11 © AUT
  • 12. Sequential Access Storage Media  Advantages  Low cost, compact storage capabilities, good for magnetic disk backup and long-term archival  Disadvantages  Access time  Poor for routine secondary storage  Poor for interactive applications © NZSE 12 © AUT
  • 13. Direct Access Storage Devices  Directly read or write to specific disk area  Random access storage devices  Four categories  Magnetic disks  Optical discs  Flash memory  Magneto-optical disks  Access time variance  Not as wide as magnetic tape  Record location directly affects access time © NZSE 13 © AUT
  • 14. Fixed-Head Magnetic Disk Storage  Looks like a large CD or DVD  Covered with magnetic film  Formatted  Both sides (usually) in concentric circles called tracks  Data recorded serially on each track  Fixed read/write head positioned over data  Advantages  Fast (more so than movable head)  Disadvantages  High cost and reduced storage © NZSE 14 © AUT
  • 15. Movable-Head Magnetic Disk Storage  One read/write head floats over disk surface (e.g. HDD)  Disks can be single platter or part of disk pack (stack of platters)  Disk pack platter  Two recording surfaces  Surface formatted with concentric tracks (1000+ tracks with high-capacity disks)  Track surface number  Track zero: outermost concentric circle on each surface  Center: contains highest-numbered track  Arm moves over all heads in unison © NZSE 15 © AUT
  • 16. Optical Disc Storage  Design difference  Magnetic disk  Concentric tracks of sectors  Spins at constant angular velocity (CAV)  Wastes storage space but fast data retrieval © NZSE 16 © AUT
  • 17. Optical Disc Storage  Design features  Optical disc  Single spiralling track of same-sized sectors running from center to disc rim  Spins at constant linear velocity (CLV)  More sectors and more disc data © NZSE 17 © AUT
  • 18. Optical Disc Storage  Two important performance measures  Sustained data-transfer rate  Speed to read massive data amounts from disc  Measured in megabytes per second (MBps)  Crucial for applications requiring sequential access  Average access time  Average time to move head to specific disc location  Expressed in milliseconds (ms)  Third feature  Cache size (hardware)  Buffer to transfer data blocks from disc © NZSE 18 © AUT
  • 19. CD, DVD, and Blu-Ray Technology  Data recorded as zeros and ones  Pits: indentations  Lands: flat areas  Reads with low-power laser  Light strikes land and reflects to photodetector  Pit is scattered and absorbed  Photodetector converts light intensity into digital signal © NZSE 19 © AUT
  • 20. CD, DVD, and Blu-Ray Technology  Contains several layers  Gold reflective layer and dye layer  Permanent marks on dye layer  Data read on standard discs using a low-power beam  Data written, changed, erased using a high-powered laser  Uses phase change technology  Amorphous and crystalline phase states  Record data: beam heats up disc  State changes from crystalline to amorphous  Erase data: low-energy beam to heat up pits  Loosens alloy to return to original crystalline state © NZSE 20 © AUT
  • 21. CD, DVD, and Blu-Ray Technology  Compact Disc (CD) and Digital Versatile Disc (DVD)  CD-/DVD-Recordable technology (CD-R/DVD-R)  Records data using write-once technique  Data cannot be erased or modified  CD-/DVD-Rewritable technology (CD-RW/DVD-RW)  Data can be written, changed, and erased multiple times  CD-ROM/DVD-ROM  Similar in design, shape, size  Differs in data capacity  Dual-layer, single-sided DVD holds 13 CDs  Single-layer, single-sided DVD holds 8.6 GB (MPEG video compression)  Differs in laser wavelength  Uses red laser (smaller pits, tighter spiral) © NZSE 21 © AUT
  • 22. Blu-Ray Disc (BD) Technology  Same physical size as CD/DVD  Smaller pits  More tightly wound tracks  Use of blue-violet laser allows multiple layers  50GB-500GB  432 Mbps  Formats:  BD-ROM,  BD-R (writable), BD-RE (rewritable)  BD-R DL, BD-RE DL (dual-layer) © NZSE 22 © AUT
  • 23. Flash Memory Storage  Electronically erasable programmable read-only memory (EEP)  Nonvolatile and removable  Emulates random access  Difference: data stored securely (even if removed)  Data stored on microchip card or “key”  Compact flash, smart cards, memory sticks  Often connected through USB port  Write data: electric charge sent through floating gate  Erase data: strong electrical field (flash) applied © NZSE 23 © AUT
  • 24. Magnetic Disk Drive Access Times  File access time factors  Seek time (slowest)  Time to position read/write head on track  Search time  Rotational delay (latency)  Time to rotate DASD  Rotate until desired record under read/write head  Transfer time (fastest)  Time to transfer data  Secondary storage to main memory transfer © NZSE 24 © AUT
  • 25. Communication Among Devices  Problems to resolve  Know which components are busy/free  Solved by structuring interaction between units  Accommodate requests during heavy I/O traffic  Handled by buffering records and queuing requests  Accommodate speed disparity between CPU and I/O devices  Handled by buffering records and queuing requests © NZSE 25 © AUT
  • 26. Communication Among Devices  Direct memory access (DMA)  Allows control unit main memory access directly  Transfers data without the intervention of CPU  Used for high-speed devices (disk)  Buffers  Temporary storage areas in main memory, channels, control units  Improves data movement synchronization  Between relatively slow I/O devices and very fast CPU  Double buffering: processing of record by CPU while another is read or written by channel © NZSE 26 © AUT
  • 28. Device Handler Seek Strategies  Predetermined device handler  Determines device processing order  Goal: minimize seek time  Types  First-come, first-served (FCFS), shortest seek time first (SSTF), SCAN (including LOOK, N-Step SCAN, C-SCAN, and C-LOOK)  Scheduling algorithm goals  Minimize arm movement  Minimize mean response time  Minimize variance in response time © NZSE 28 © AUT
  • 29. Device Handler Seek Strategies  First-Come, First-Served (FCFS)  On average: does not meet three seek strategy goals  Disadvantage: extreme arm movement © NZSE 29 © AUT
  • 30. Device Handler Seek Strategies  Shortest Seek Time First (SSTF)  Request with track closest to one being served  Minimizes overall seek time  Postpones traveling to out of way tracks © NZSE 30 © AUT
  • 31. Device Handler Seek Strategies  SCAN  Directional bit  Indicates if arm moving toward/away from disk center  Algorithm moves arm methodically  From outer to inner track, services every request in its path  If reaches innermost track, reverses direction and moves toward outer tracks  Services every request in its path © NZSE 31 © AUT
  • 32. Device Handler Seek Strategies  LOOK  Arm does not go to either edge  Unless requests exist  Eliminates indefinite postponement © NZSE 32 © AUT
  • 33. Device Handler Seek Strategies  N-Step SCAN  Holds all requests until arm starts on way back  New requests grouped together for next sweep  C-SCAN (Circular SCAN)  Arm picks up requests on path during inward sweep  Provides more uniform wait time  C-LOOK  Inward sweep stops at last high-numbered track request  No last track access unless required © NZSE 33 © AUT
  • 35. © NZSE 35 © AUT
  • 36. RAID  Physical disk drive set viewed as single logical unit  Preferable over few large-capacity disk drives  Improved I/O performance  Improved data recovery  Disk failure event  Introduces redundancy  Helps with hardware failure recovery  Significant factors in RAID level selection  Cost, speed, system’s applications  Increases hardware costs © NZSE 36 © AUT
  • 37. © NZSE 37 © AUT
  • 38. Level Zero  Uses data striping (not considered true RAID)  No parity and error corrections  No error correction/redundancy/recovery  Benefits  Devices appear as one logical unit  Best for large data quantity non-critical data © NZSE 38 © AUT
  • 39. Level One  Uses data striping (considered true RAID)  Mirrored configuration (backup)  Duplicate set of all data (expensive)  Provides redundancy and improved reliability © NZSE 39 © AUT
  • 40. Level Five  Distributes parity strips across disks  If all the parity bits were in one disk (Level Four), all write/rewrite operations will cause a bottleneck on the parity disk  Disadvantage  Complicated to regenerate data from failed device © NZSE 40 © AUT
  • 41. Nested RAID Levels  Combines multiple RAID levels (complex) © NZSE 41 © AUT
  • 42. © NZSE 42 © AUT
  • 43. References  McHoes, A.M., and Flynn, I.M. (2011). Chapter 7: Device Management. Understanding Operating Systems, 6th ed. USA: Course Technology. pp. 203-240. © NZSE 45 © AUT

Hinweis der Redaktion

  1. http://www.dtidata.com/resourcecenter/hard-drive-recovery.jpg
  2. http://di1-2.shoppingshadow.com/images/pi/f5/3b/85/20694538-260x260-0-0_Sony+EDM+5200B.jpg
  3. http://www.blu-raydisc.com/Assets/Picture/dvd2-15224.gif
  4. http://www.bookcoverco.com.au/images/cdlayers.jpghttp://volga.eng.yale.edu/uploads/CDsAndDVDs/crystal-vs-amorphous.gif
  5. http://www.gogonomo.com/wp-content/uploads/2009/01/floating_gate_transistor.png
  6. http://2.bp.blogspot.com/_gD6l0n9hYbA/SecIpYYTBGI/AAAAAAAAA6Q/qWf7DSpAmQY/s400/Rotational+latency+and+seek+time.jpg
  7. http://www.itblogs.in/files/media/Disk-scheduling-scan_scheduling.JPG