Chapter 12- Secondary-Storage Structure.ppt
《Chapter 12- Secondary-Storage Structure.ppt》由会员分享,可在线阅读,更多相关《Chapter 12- Secondary-Storage Structure.ppt(27页珍藏版)》请在麦多课文档分享上搜索。
1、Chapter 12: Secondary-Storage Structure,12.1 Overview of Mass Storage Structure 12.2 Disk Structure 12.3 Disk Attachment 12.4 Disk Scheduling 12.5 Disk Management 12.6 Swap-Space Management 12.7 RAID Structure Disk Attachment 12.8 Stable-Storage Implementation 12.9 Tertiary Storage DevicesOperating
2、System IssuesPerformance Issues,Objectives,Describe the physical structure of secondary and tertiary storage devices and the resulting effects on the uses of the devices Explain the performance characteristics of mass-storage devices Discuss operating-system services provided for mass storage, inclu
3、ding RAID and HSM (hierarchical storage management),12.1 Overview of Mass Storage Structure,Magnetic disks provide bulk of secondary storage of modern computers Drives rotate at 60 to 200 times per second (3600 to 12000 rpm) Transfer rate is rate at which data flow between drive and computer (400Mb-
4、6Gb/sec) Positioning time (random-access time) is time to move disk arm to desired cylinder (seek time, 4 micro seconds) and time for desired sector to rotate under the disk head (rotational latency, 3 micro seconds) Example: Hitachi Ultrastar C10K300 (http:/.tw/news/hardware/0,2000085676,20137089,0
5、0.htm) Head crash results from disk head making contact with the disk surface Normally cannot be repaired,Overview,Disks can be removable Held in plastic case Drive attached to computer via I/O bus Buses vary, including EIDE, ATA, SATA, USB, FC (Fiber Channel), SCSI Host controller in computer uses
6、bus to talk to disk controller built into drive or storage array using memory-mapped I/O ports Disk controllers usually have built-in cache (MB),Moving-head Disk Machanism,Magnetic tape Was early secondary-storage medium Relatively permanent and holds large quantities of data Access time slow Random
7、 access 1000 times slower than disk Mainly used for backup, storage of infrequently-used data, transfer medium between systems Kept in spool and wound or rewound past read-write head Once data under head, transfer rates comparable to disk 20-200GB typical storage Common technologies are 4mm, 8mm, 19
8、mm, inch, inch, LTO-2 and SDLT,12.2 Disk Structure,Disk drives are addressed as large 1-dimensional arrays of logical blocks, where the logical block is the smallest unit of transfer. A logical block is usually of size 512 bytesThe 1-dimensional array of logical blocks is mapped into the sectors of
9、the disk sequentially. Sector 0 is the first sector of the first track on the outermost cylinder. Mapping proceeds in order through that track, then the rest of the tracks in that cylinder, and then through the rest of the cylinders from outermost to innermost.,In practice, it is difficult to conver
10、t a logical block number into cylinder, track, sector : defective sectors and the number of sectors per track is not a constant CD-ROM and DVD-ROM increase their rotation speed as the head moves from the outer to inner tracks to keep the same data rate (the density of bits per track is constant, con
11、stant linear velocity, CLV) In some disks, the rotation speed is constant, and the density of bits decreases from inner tracks to outer tracks to keep the data rate constant (constant angular velocity, CAV),12.3 Disk Attachment,Host-attached storage accessed through I/O ports talking to I/O busses I
12、DE, ATA, SATA, SCSI, FC SCSI itself is a bus, up to 16 devices on one cable, SCSI initiator requests operation and SCSI targets perform tasks Each target can have up to 8 logical units (disks attached to device controller FC is high-speed serial architecture Can be switched fabric with 24-bit addres
13、s space the basis of storage area networks (SANs) in which many hosts attach to many storage units Can be arbitrated loop (FC-AL) of 126 devices,Network-Attached Storage (NAS),NAS is storage made available over a network rather than over a local connection (such as a bus) NFS (Unix) and CIFS (Window
14、s) are common protocols Implemented via remote procedure calls (RPCs) between host and storage New ISCSI protocol uses IP network to carry the SCSI protocol so that hosts could treat NAS as directly attached,Storage Area Network (SAN),Common in large storage environments becoming more common Multipl
15、e hosts attached to multiple storage arrays flexible FC is the most common SAN interconnect InfiniBand is an emerging alternative SAN bus architecture,12.4 Disk Scheduling,The operating system is responsible for using hardware efficiently for the disk drives, this means having a fast access time and
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CHAPTER12SECONDARYSTORAGESTRUCTUREPPT
