1
Today
- How is data saved in the hard disk?
- Magnetic disk
- Disk speed parameters
- Disk Scheduling
- RAID Structure
Today How is data saved in the hard disk? Magnetic disk Disk speed - - PowerPoint PPT Presentation
Today How is data saved in the hard disk? Magnetic disk Disk speed parameters Disk Scheduling RAID Structure 1 CS 4410 Operating Systems Mass-Storage Structure Summer 2013 Cornell University 2 Secondary Storage Save
1
2
Summer 2013 Cornell University
3
4
5
6
7
– Transfer rate: the rate at which data flow between the drive and the computer. – Positioning time:
Track Sector Seek Time Rotational latency
8
9
arrays of logical blocks.
1 2 bytes.
apped sequentially onto disk sectors.
st sector of 1 st track of the outermost cylinder.
ented within track, then within tracks of the cylinder, then across cylinders, from
ranslation is theoretically possible, but usually difficult.
ight be defective.
ber of sectors per track is not a constant.
10
layers.
elocity.
ypically HDDs.
Num ber of sectors per track.
layers.
from
elocity
ypically CDs, D VDs.
11
12
13
– 98, 183, 37, 122, 14, 124, 65, 67
14
15
16
the disk.
17
18
different disk), parallel I/O can improve access time.
with reliability / availability.
addition to Striping
19
20
Stripe 0 Stripe 4 Stripe 3 Stripe 1 Stripe 2 Stripe 8 Stripe 10 Stripe 11 Stripe 7 Stripe 6 Stripe 5 Stripe 9
data disks
21
data disks mirror copies
Stripe 0 Stripe 4 Stripe 3 Stripe 1 Stripe 2 Stripe 8 Stripe 10 Stripe 11 Stripe 7 Stripe 6 Stripe 5 Stripe 9 Stripe 0 Stripe 4 Stripe 3 Stripe 1 Stripe 2 Stripe 8 Stripe 10 Stripe 11 Stripe 7 Stripe 6 Stripe 5 Stripe 9
22
data disks
Bit 0 Bit 3 Bit 1 Bit 2 Bit 4 Bit 5 Bit 6
ECC disks
23
data.
data disks Parity disk
Bit 0 Bit 3 Bit 1 Bit 2 Parity
24
data disks Parity disk
Stripe 0 Stripe 3 Stripe 1 Stripe 2 P0-3 Stripe 4 Stripe 8 Stripe 10 Stripe 11 Stripe 7 Stripe 6 Stripe 5 Stripe 9 P4-7 P8-11
25
data and parity disks
Stripe 0 Stripe 3 Stripe 1 Stripe 2 P0-3 Stripe 4 Stripe 8 P8-11 Stripe 10 P4-7 Stripe 6 Stripe 5 Stripe 9 Stripe 7 Stripe 11
26