Week 8 - Clocks Flashcards

(12 cards)

1
Q

State the 2 types of clocks

A

Hardware
Logical

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

What is every clock subject to?

A

Drift rate

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

When talking about clocks, what does δ represent?

A

The skew of synchronisation

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

Two clocks are said to be δ-synchronised at clock time if and only if

A

The absolute difference in times are less than δ

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

A set of clocks are well-synchronised if an only if

A

Any two non-faulty nodes are δ-synchronised

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

How is clock synchronisation implemented?

A

Each node implements a virtual clock that has bounds for skew and drift rate

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

State the 2 requirements for a reliable time source

A

Time must be distributed frequently enough to bound skew
No node is required to implement too much adjustment in a single resynchronisation action

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

Two events are said to be concurrent if

A

A did not happen before B and B did not happen before A

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

Why don’t clock syntonisation algorithms with a single reliable time source work?

A

Clocks can not go backwards and shoot forwards in time, with a single RTS there will be latency between the request for the time being sent and the node receiving the response.

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

What is the Berkeley algorithm for clock synchronisation?

A

Time server polls each client periodically
Server computes the average
Server gives client an amount of time to gradually add or subtract from its clock

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

What are the three properties a convergence function must satisfy?

A

Monotonicity - Preserves the given order
Translation Invariance - Produces exactly the same response, regardless of how its input is shifted
Accuracy Preservation

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

State 4 examples of convergence functions

A

Egocentric average
Fast convergence algorithm
Fault-tolerant midpoint - The midpoint of the range spanned by the arguments after the highest k
and lowest k have been discarded
Fault-tolerant average - The average of arguments after the highest k and lowest k values have been discarded

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