copyright © 2006 keio university computer architecture lecture 6: lecture 6: basics of i/o and...

30
Copyright © 2006 Keio University Computer Architecture Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter Rodney Van Meter 2009/11/10 2009/11/10 [email protected] [email protected] http://www.sfc.wide.ad.jp/aqua/ http://www.sfc.wide.ad.jp/aqua/

Upload: virginia-kelley

Post on 26-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

        Copyright © 2006 Keio University

Computer ArchitectureComputer ArchitectureLecture 6: Lecture 6: Basics of I/O and Storage SystemsRodney Van MeterRodney Van Meter2009/11/102009/11/[email protected]@sfc.wide.ad.jphttp://www.sfc.wide.ad.jp/aqua/http://www.sfc.wide.ad.jp/aqua/

Page 2: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Platter, Spindle, Arm, and Head

Page 3: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Copyright © 2006 Keio University      | 3

Revised Class Schedule

• 第 6 回  11月 10日 入出力Lecture 6, November 10: Basics of I/O and Storage Systems

• 11月 17日 休講November 17: No class!

• 11月 24日 休講November 24: No class! (ORF! Please come.)

• 第 7 回  12月 1 日 プロセッサー:パイプラインの基本Lecture 7, December 1: Processors: Basics of Pipelining

• 第 8 回  12月 8 日 メモリ:キャッシュLecture 8, December 8: Memory: Caching and Memory Hierarchy

• 第 9 回  12月 12日(土曜日!) メモリ:仮想記録Lecture 9, December 12 (Saturday!): Memory: Virtual Memory

• 第 10回  12月 15日 Lecture 10, December 15: Systems: Shared-Memory Multiprocessors

• 第 11回  12月 22日 Lecture 11, December 15: Systems: Distributed-Memory Multiprocessors and Interconnection Networks

• 第 12回  1 月 12日  RAID: ストレージの並列と安全性Lecture 12, January 12: RAID: Parallelism and Protection in Storage Systems

• 第 13回  1 月 19日 Lecture 13, January 19: The Future and the Past: Review

Page 4: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Copyright © 2006 Keio University      | 4

Outline• What's a Disk Drive?

• The Importance of a Disk Drive• The Insides of a Disk Drive• The Access Time Gap• Disk Drive Trends• A Little History• The Basics of a Bus• Homework

Page 5: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

What’s a Disk Drive?

Page 6: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Copyright © 2006 Keio University      | 6

What’s Important About a Disk Drive?

• Expensive• Consume lots of power• Performance bottleneck• Fragile

But they hold your data without power (they are nonvolatile), for a long time!  Lots and lots of data!

Page 7: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Moore’s Law

Page 8: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Growth of Capacity Over Two Decades

Page 9: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Global Disk Shipments (in TB)

Page 10: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

What’s a Disk Drive?

Page 11: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Anatomy of a Hard Drive

Page 12: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

The Platter(s)

Page 13: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

The Platters: 3 Disks, 6 Arms & Heads

Page 14: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Platter, Spindle, Arm, and Head

Page 15: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Arm, Slider & Read/Write Head

Page 16: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

The Head on the Slider

Page 17: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Magnetic Media & R/W Head

Page 18: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Cyclinder, Head, Sector (CHS)

Page 19: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Video: Arm Moving

Video courtesy of Jun Takei, Intel

Page 20: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Video: Arm Moving (2)

Video courtesy of Jun Takei, Intel

Page 21: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Growth of Capacity Over Two Decades

Page 22: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Transfer Rate

Page 23: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Access Time Gap

Page 24: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

A Little History: The RAMAC

Page 25: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

A Little History: The RAMAC

Page 26: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

RAMAC Delivery!

Page 27: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Copyright © 2006 Keio University      | 27

Bus

• Shared bandwidth• Requires addressing• Transactions• Arbitration: priority, fairness• Limitations: width, length (capacitance, 電気容量 )• Types: memory, peripheral• Standardization

Page 28: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Buses: System Diagram

Page 29: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Buses: System Diagram

Page 30: Copyright © 2006 Keio University Computer Architecture Lecture 6: Lecture 6: Basics of I/O and Storage Systems Rodney Van Meter 2009/11/10rdv@sfc.wide.ad.jp

Copyright © 2006 Keio University      | 30

Homework

• 1. Add a new type of disk drive to the table available on my web page.

• 2. For your drive, calculate:– A. How long to read entire disk sequentially?– B. How long to read the whole thing in random order, 512 bytes at a time?

• 3. Tell me who controls the specification for each of the following buses:– A. Frontside bus– B. Memory bus– C. PCI– D. SCSI