Storage Flashcards

1
Q

Disk Physical Structure

A
  • Platters (the round part), tracks (circular sections of the platter), sectors (segments of the track), cylinders (same track across multiple platters)
  • Read/write head moves horizontally from one track to another
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Disk Physical Structure

A
  • Platters (the round part), tracks (circular sections of the platter), sectors (segments of the track), cylinders (same track across multiple platters)
  • Read/write head moves horizontally from one track to another
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Disk is viewed and a ____ of logical blocks

A

One-dimensional array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Each block is one…

A

…sector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Array of blocks is mapped into…

A

…sequential sectors on the disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Block Address

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Disk Scheduling

A
  • Processes issue kernel read/write requests
  • Kernel maps these requests to logical block addresses
  • These requests are sent to the disk controller
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Disk is viewed and a ____ of logical blocks

A

One-dimensional array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Each block is one…

A

…sector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Array of blocks is mapped into…

A

…sequential sectors on the disk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Block Address

A

cylinder, track, sector

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Look

A

-Arm only goes as far as the last request in each direction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Accessing a Block

A
  • Move the head to the desired track (seek time)
  • Wait for the desired sector to rotate under the head (rotational latency time)
  • Transfer the block to a local buffer, then to main memory (transfer time)
  • Try to minimize seek time, which is proportional to the distance moved by the head
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Disk Scheduling Algorithms

A
  • First Come, First Served
  • Shortest Seek Time First
  • Scan/Circular Scan
  • Look/Circular Look
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Shortest Seek Time First (SSTF)

A
  • Select request with minimum seek time from current position
  • May lead to starvation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Scan

A
  • Disk arm moves from one end of the list to the other, servicing requests as it encounters them
  • Circular scan treats the cylinder as a circular list, providing a more uniform wait time
17
Q

Look

A

-Arm only goes as far as the last request in each direction

18
Q

Selecting a Disk-Scheduling Algorithm

A
  • Performance depends on the number/type of requests
  • Requests for I/O can be influenced by the file allocation method
  • SSTF is common and has a “natural” appeal
  • SCAN/C-SCAN perform better for systems that put a heavy load on the disk
  • SSTF and C-LOOK are reasonable for the default algorithm