P3L4 Flashcards

1
Q

Read/Writer Locks

A

Specify the type of access

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

Monitors

A

Shared resource
Entry procedure
Possible condition variables

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

Serializers

A

define priorities

hide explicit signaling and explicit cond. variables

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

Path expressions

A

use appropriate reg. exp. to capture synchronization

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

barriers

A

block all threads until n threads arrive

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

rendevous points

A

wait for multiple threads

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

RCU

A

Optimistic wait-free sync

read, copy, update lock part of Linux kernel

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

Atomic Instructions

A

test_and_set
read_and_increment
compare_and_swap

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

SMP

A

Shared Memory Multiprocessors (Symmetric Multiprocessors)

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

bus-based SMP

A

only 1 reference can be in flight

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

NCC

A

Non-cache coherence (must fix in software)

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

CC

A

Cache coherent (done in HW)

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

WI

A

Write Invalidate

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

WU

A

Write update (update immediately after)

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

Spinlock Performance Metrics

A
  1. Reduce latency
  2. Reduce waiting time
  3. Reduce contention
How well did you know this?
1
Not at all
2
3
4
5
Perfectly