Topic Disks file system devices Rotational Media Track
- Slides: 19
Topic: Disks – file system devices
Rotational Media Track Sector Arm Cylinder Head Platter Access time = seek time + rotational delay + transfer time seek time = 5 -15 milliseconds to move the disk arm and settle on a cylinder rotational delay = 8 milliseconds for full rotation at 7200 RPM: average delay = 4 ms transfer time = 1 millisecond for an 8 KB block at 8 MB/s Bandwidth utilization is less than 50% for any noncontiguous access at a block grain.
Rotational Media Track Sector Arm Cylinder Head Platter Access time = seek time + rotational delay + transfer time + spinup time seek time = 5 -15 milliseconds to move the disk arm and settle on a cylinder rotational delay = 8 milliseconds for full rotation at 7200 RPM: average delay = 4 ms transfer time = 1 millisecond for an 8 KB block at 8 MB/s Spinup/spindown time = ~1 second Bandwidth utilization is less than 50% for any noncontiguous access at a block grain.
What to do about Disks? • Avoid them altogether! Caching Ø Disk scheduling – Idea is to reorder outstanding requests to minimize seeks. • Layout on disk – Placement to minimize disk overhead Ø Build a better disk (or substitute) – Example: RAID
Disk Scheduling (Seek Time) • Assuming there are sufficient outstanding requests in request queue • Focus is on seek time - minimizing physical movement of head. • Simple model of seek performance Seek Time = startup time (e. g. 3. 0 ms) + N (number of cylinders ) * per-cylinder move (e. g. . 04 ms/cyl)
Policies • Generally use FCFS as baseline for comparison 1, 3, 2, 4, 3, 5, 0 • Shortest Seek First (SSTF) -closest FCFS SSTF – danger of starvation • Elevator (SCAN) - sweep in one direction, turn around when no requests beyond – handle case of constant arrivals at same position • C-SCAN - sweep in only one direction, return to 0 SCAN – less variation in response CSCAN
Rotational Latency • Order requests according to sectors and service them as they rotate under read head
Rotational Latency • Order requests according to sectors and service them as they rotate under read head
Rotational Latency • Order requests according to sectors and service them as they rotate under read head
Rotational Latency • Order requests according to sectors and service them as they rotate under read head
Build a Better Disk? • “Better” has typically meant density to disk manufacturers - bigger disks are better. • I/O Bottleneck - a speed disparity caused by processors getting faster more quickly • One idea is to use parallelism of multiple disks – Striping data across disks – Reliability issues - introduce redundancy
RAID Redundant Array of Inexpensive Disks Striped Data (RAID Levels 2 and 3) Parity Disk
RAID Level 5 0 5 10 1 6 11 2 7 P 2 3 P 1 8 P 0 4 9 block numbers Distribute parity info as well as data over all disks
MEMS-based Storage Comparing MEMS-based storage with disks – Request scheduling – Data layout – Fault tolerance – Power management
• Settling time after X seek • Spring factor - non-uniform over sled positions • Turnaround time
Data on Media Sled
Disk Analogy • 16 tips • Mx. N = 3 x 280 • Cylinder – same x offset • 4 tracks of 1080 bits, 4 tips • Each track – 12 sectors of 80 bits (8 encoded bytes) • Logical blocks striped across 2 sectors
Logical Blocks and LBN • Sectors are smaller than disk • Multiple sectors can be accessed concurrently • Bidirectional access
Comparison MEMS • Positioning – X and Y seek (0. 2 -0. 8 ms) • Settling time 0. 2 ms • Seeks near edges take longer due to springs, turnarounds depend on direction – it isn’t just distance to be moved. • More parts to break • Access parallelism Disk • Seek (1 -15 ms) and rotational delay • Settling time 0. 5 ms • Seek times are relatively constant functions of distance • Constant velocity rotation occurring regardless of accesses
- File-file yang dibuat oleh user pada jenis file di linux
- Rotational equilibrium example problems
- Second condition of equilibrium
- Remote file access in distributed file system
- In a file-oriented information system, a transaction file
- Tower of hanoi 4 disks
- Raid redundant array of inexpensive disks
- A computer that serves one user at a time
- Types of floppy disks
- Output device
- Types of external memory
- Redundancy array of independent disk
- Disks of polycarbonate plastic from a supplier are analyzed
- Aka.ms/sqlcapacity
- Disks and tapes can be stored ------- a library. eng101
- Raid nedir
- Holger brock
- Conquest data disks
- Clincher sentence examples
- Broad and specific topic examples