1 / 14

Understanding Disk Storage and I/O Architecture in Computer Systems

This chapter delves into the intricacies of disk storage and I/O connections in computer architecture. Covering essential concepts such as non-volatile storage, magnetic disk structures, RAID configurations, and various I/O bus types, it provides insights into the operational metrics like rotational latency and data transfer rates. The section also highlights the differences between traditional hard disks and solid-state drives (SSD), discussing performance implications, cost factors, and durability considerations. It aims to equip readers with a foundational understanding of efficient data management in computing systems.

sierra
Télécharger la présentation

Understanding Disk Storage and I/O Architecture in Computer Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 6: 22540 - Computer Arch. & Org. (2) Disk Storage

  2. I/O Connection Interrupts Processor Cache Memory I/O Interconnect MainMemory I/OController I/OController I/OController I/ODevices Network Disk Disk

  3. Magnetic Disk • Nonvolatile • Tracks & Sectors • Recorded Information • Sector Number, Gap, Data, ECC, Gap, Next Sector Num. • Rotational Latency • 5400 RPM  (½ rotation / 5400) = 5.6 ms • Transfer Time • Sector: ≈ 100 MB/s • Cache: ≈ 375 MB/s = 3 Gbps SATA-2

  4. Disk Interface • Advanced Technology Attachment • SATA (Serial) • Small Computer Systems Interface • SCSI (Parallel) • SAS (Serial Attached SCSI)

  5. Flash Storage • Semiconductor • Non Volatile (EEPROM) • Faster, Smaller and Lower Power • Higher Cost • Block R/W • Wearout (10,000 ~ 100,000 Writes per Cell) • Wear Leveling (Remap Blocks) • Solid State Disk (SSD) • Hybrid Hard Disk

  6. Busses • Processor-Memory Bus • Short, High Speed and Matched Width • I/O Bus • Can be Lengthy and Connect Many Types • Often Have a Wide Range Bandwidth

  7. I/O Transaction • Two Parts • Sending Memory Address • Sending or Receiving Data • Synchronous • All Devices on the Bus Run on the Same Clock Rate • Clock Skew Limits Length • Asynchronous • External: Firewire, USB, etc. • Internal: PCI Express, SATA, etc. • Handshaking

  8. Parallelism & I/O • Redundant Array of Inexpensive Disks (RAID) • RAID 0 Striping BLK 0 BLK 2 BLK 4 BLK 6 BLK 1 BLK 3 BLK 5 BLK 7

  9. Parallelism & I/O • Redundant Array of Inexpensive Disks (RAID) • RAID 0 Striping • RAID 1 Mirroring BLK 0 BLK 1 BLK 2 BLK 3 BLK 0 BLK 1 BLK 2 BLK 3

  10. Parallelism & I/O • Redundant Array of Inexpensive Disks (RAID) • RAID 0 Striping • RAID 1 Mirroring • RAID 2 Error Detection & Correction Code Bit 0 Bit 2 Bit 4 Bit 6 Bit 1 Bit 3 Bit 5 Bit 7 Parity Parity Parity Parity

  11. Parallelism & I/O • Redundant Array of Inexpensive Disks (RAID) • RAID 0 Striping • RAID 1 Mirroring • RAID 2 Error Detection & Correction Code • RAID 3 Bit-Interleaved Parity Byte 0 Byte 2 Byte 4 Byte 6 Byte 1 Byte 3 Byte 5 Byte 7 Parity Parity Parity Parity

  12. Parallelism & I/O • Redundant Array of Inexpensive Disks (RAID) • RAID 0 Striping • RAID 1 Mirroring • RAID 2 Error Detection & Correction Code • RAID 3 Bit-Interleaved Parity • RAID 4 Block-Interleaved Parity BLK 0 BLK 2 BLK 4 BLK 6 BLK 1 BLK 3 BLK 5 BLK 7 Parity Parity Parity Parity

  13. Parallelism & I/O • Redundant Array of Inexpensive Disks (RAID) • RAID 0 Striping • RAID 1 Mirroring • RAID 2 Error Detection & Correction Code • RAID 3 Bit-Interleaved Parity • RAID 4 Block-InterleavedParity • RAID 5 Distributed Block- Interleaved Parity BLK 0 BLK 2 Parity BLK 6 BLK 1 Parity BLK 4 BLK 7 Parity BLK 3 BLK 5 Parity

  14. Chapter 6 The End

More Related