• Keine Ergebnisse gefunden

Model & Synchronizing w/o Faults

N/A
N/A
Protected

Academic year: 2021

Aktie "Model & Synchronizing w/o Faults"

Copied!
10
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Model & Synchronizing w/o Faults

(2)

network G = (V,E)

node = state machine with hardware clock

edge = communication link (message passing)

Model

(3)

- arbitrary deterministic computations

- computation times satisfy (known) bounds

- hardware clock runs at rates between 1 and ϑ:

t – t' ≤ H

v

(t) – H

v

(t') ≤ ϑ(t – t')

goal: compute logical clocks such that

H

v

(t) – H

v

(t') ≤ L

v

(t) – L

v

(t') ≤ (1 + μ)(H

v

(t) – H

v

(t'))

Model: What Nodes Can Do

(4)

- communication by message passing

- messages sent as result of computations - transmission times satisfy (known) bounds

- (end-to-end) delay, i.e., message transmission + computation time, is between d-u and d - delay d, uncertainty u, and drift ϑ are known

and can be used in computations

Model: How Communication Works

(5)

- fix network G = (V,E) and algorithm

- fix H

v

(and a wake-up time) for each node - (inductively) fix delay of each sent message - this specifies an execution

Model: Executions

(6)

- fix network G = (V,E) and algorithm

- fix H

v

(and a wake-up time) for each node - (inductively) fix delay of each sent message - this specifies an execution*

Model: Executions

*event-driven; events are:

- waking up (initialization) - receiving a message

- reaching specified value of Hv

(7)

IMPORTANT NOTICE:

Delays include computations, so the time a

message is “received” equals the time when any immediately triggered messages are sent!

Model: Executions

*event-driven; events are:

- waking up (initialization) - receiving a message

- reaching specified value of Hv

(8)

Example: Max Algorithm

- getH() returns H

v

(t)

- all nodes are assumed to wake up at time 0

(9)

Example: Max Algorithm

Theorem The Max Algorithm guarantees

maxv,w ϵ V{Lv(t)-Lw(t)} ≤ ϑdD + (ϑ-1)T at time t ≥ dD + T,

where D is the network diameter of G.

D = 3

(10)

Example: Max Algorithm

Proof sketch:

- every T (logical) time v broadcast Lv

- receiving nodes adjust their clock (if needed) and broadcast, too (if they still need to)

- in the dD time for a value to spread, v‘s clock advances by at most ϑdD

- (ϑ-1)T is added to account for the broadcast interval T

Theorem The Max Algorithm guarantees

maxv,w ϵ V{Lv(t)-Lw(t)} ≤ ϑdD + (ϑ-1)T at time t ≥ dD + T,

where D is the network diameter of G.

Referenzen

ÄHNLICHE DOKUMENTE

In unsrer Seele gibt es einen Winkel, in dem wir alle Poeten sind. Was mit unsrer Kindheit und unsrer Heimat zusammenhängt, lebt in uns mit so zauberhaften Farben, daß der größte

[r]

die dem th¯ınamiddha- entsprechende Form th¯ın. agiddhi- bekam die Uminterpretation von ‘der Zustand, in dem sich das Gehirn tief im Schlaf befindet aber der K¨ orper t¨ atig

Falls die Frist durch das Verschulden eines Bevollmächtigten versäumt werden sollte, würde dieses Verschulden Ihnen zugerechnet werden. Text für Landesjugendämter oder für

Die drei Berufsfelderkundungstage gewähren im Idealfall Einblick in drei verschiedene Berufsfelder..

Shift + ← Ein Zeichen nach links markieren Shift + → Ein Zeichen nach rechts markieren Shift +↑ Eine Zeile nach oben markieren Shift +↓ Ein Zeile nach

Nehmen Sie Ihre Frau oder Ihre beste Freundin und schließen sich uns an, zu einer Nacht der „grenzenlosen Liebe“ mit Walter Herron Reynolds III und The Soul Symphonics.. Bon

Le SAG correspond au niveau d'affaissement de la suspension sous l'effet du poids du pilote.. Pour une suspension plus ferme, réduire le SAG, pour une suspension plus souple