16. State-Aware Resource Management Flashcards

1
Q

Stateful Resource Sequence

A
  1. Fetch new request
  2. Reconfigure resource (overhead)
  3. Serve request
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Utilization of a Stateful Resource

A
  • An inefficient scheduler will increase the utilization of a stateful resource
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Capacity of a Stateful Resource

A
  • An efficient scheduler will increase the capacity of a stateful resource
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Example Fairness Metric for Stateful Resource

A
  • The number of requests that are re-ordered before a request is served
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Seek Delay

A
  • The time it takes for the disk head to align with the cylinder of the disk container the block needed to be read/written
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Rotational Delay

A
  • The time it takes for the sector of the disk that contains the target block to rotate until it is under the disk head
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Transfer Time

A
  • The time it takes to read/write the desired block
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Shortest Scan First (SSF)

A
  • Select the request that is closest to the head position of the last processed request
  • Need disk geometry and head locations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Flaw of SSF

A
  • Spatially co-located requests can delay requests for far-away block indefinitely
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

SCAN

A
  • Selects the next request that is closer in space to the head but only in one direction (elevator)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Flaw of SCAN

A
  • In the worst case, the head might need to travel all the way up and all the way down before servicing a request at the bottom
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

C-SCAN

A
  • Identical to SCAN, but limits the direction of the head to one direction only
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Complete Fair Queuing (CFQ)

A
  1. Maintain one queue of requests per task, and assign a quantum of requests to be taken from each queue before moving on to the next queue, like RR
  2. Re-order the requests in the dispatch queue to minimize head movement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

DRAM - Activate

A
  • The entire row that is requested is copied onto a row buffer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

DRAM - Pre-Charge

A
  • The row currently in the buffer is put back in place
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

DRAM - First Ready, First Come First Served (FR-FCFS)

A
  • A different queue is defined for each bank
  • Keeps track of the row currently in the buffer
  • Re-orders requests in the bank queue to prioritize row hits
17
Q

Flaw of FR-FCFS

A
  • Can lead to starvation if the same row is repeatedly requested
18
Q

DRAM - Capped First Ready, First Come First Served (FR-FCFS + Cap)

A
  • The same as FR-FCFS, but no more than K row-hits can be re-ordered