Uploaded by Keshav

Lecture-9. Chandy Lamports Global State Algorithm (2)

advertisement
Chandy-lamprefs Gbl tde Kecordig Algothm
dastibueted bykte has a berf cegf sunni
mumber of dfleret physicoa
servens Theje procen
Eac
C aa
Ch
CormunCote
uyhg teet
wrh
each otor
va
Communictjon
meaing. These prbcetg
prncesi
wemy
merkar have ashared
acommn phytiCa
poce
clock,
hs makeg The
f d e t i nirng he frtctanead
APrres
A
Ve e
mule wecord
tmeage
but a
be
be neludded
wouldn
globad ate kfat.
(leeal)
te
oun
hoet
are
at a
tranirt
eCordecd
n
channel
Bare and
would be inreot
a
tem
Hate
actual
aonce ta
honce
delivered.
i
mea
r
a
n
s
i
t
Her tke ne
Chan
an
Lanpot
qnc
were
Capture
algethm o
Tha
t
msistent
pr prpe
obal tte of
to
a olsibucted Aysterr
behind proposed algorthn a t f
h e man idea
Knos
One
+
Apecia
a
have
pmcex
hon
A
that
Cam
meX eaga
bean
Cord
meag
thothave been Aert b
ansth
glos tde f ha yten
eceived
ha
e
Calle) MARKER f usedto hhtate
he
an prce
he l s ecte ecoreng algritm f
Maker raveRes ha dtribctea ter acvo a
CommuntCohon channel
Cancd
ne
Caulse each
proèB to rerd
osn cte .
AhteAtcte
ertire t e
ReCordleal
the enod.
Sfecte 1
CA emP
Sc
200
C 2 Cm P
A
s2:B
SJade 2
C1! Tranler So
2
450
C2 em
SA A
4
AumptHon4
here
ae
and
te
Bam
rder
as
and
FIFO
pch
Aystem.
are
channe,
hey
he
n
e
n h
Communi Cotion
Communi Coctioy
The
1he
rocexe
O nOn a a
a
dytribtted
dytti
butted
Ahare
memery4 clock.
share
pcexe3
numbers
pmite
etis
f
not
untdtrectonal
are
There
do
they
he
are
There
Th
finite
intte
numbe
menege
Sent.
Se&
are
and
ehanhe and
channe
ordered.
bettwen
Tecetved
receiveol
any tww
the
Alcph
1.
Proces
Aends
aa
Ip
an
along C e e Jending an
qlong C
receivin
proce h a
Tt
h
Recod
emptAeaLence
thas
Proce
F
awn
local stede
an
m
a
nu.
ate
ollouwsha
proce
masker
of inComig channel C1,
8ending rule.
Teded
alveady
s
ete
aj tha
ckannel C
nComng
Hate of
Record. ke
channel
CL
nel C1
chan
alomg
along
e
ceived
of mexags
Jeguence
and beore
recorded
a
te o
atex h
kEAlatf
along CA 4e
recesved
mavKes
he
Neud
o
recorcling
Ater
reCorded
yet
încomng ehannel ci
tecte
otker
proce .
a
r
ule
Ran
b
ate.
marKer
meages
MarKer
PDceMP.
aon loe
P
octaoing channel Cfron pmoce
P
each
Te
b.
iule fen a
%
Te Corcda
Rendn
MarKer
PrOcey P
hae
globad
r e Covelhg
(
Ochekpontfr
CGar
bag
t
)
an
Collechon
be
ue n
deadlock and er mnerhton
detection
t
also
ajo
Ralppaln
ofher
debuggihg.
Download