

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Title: Distributed Systems – Unit 2 (Mutual Exclusion Algorithms) File Type: PDF (Handwritten Lecture Notes) Length: 25 Pages Subject Area: Distributed Systems / Computer Networks Course Level: Undergraduate / Diploma / Engineering Discipline: Computer Science / Information Technology / Software Engineering Language: English
Typology: Cheat Sheet
1 / 25
This page cannot be seen from the preview
Don't miss anything!


















qnd
eads
aLtain
ltats
thu lak
UNTT- 2
time
Ailes
Le
necessay
a
the muteal
becase
both sbed
a
mose
Qn
alkes
.
ufdat
Sycteme Va. distlbuk
belause.
seb lem Can
un fedta sle
THhe clau'fcatin
hound
These
Can
A
the
Caes
tho
goithime
algowthnd
Token bosed agothm
out
nfmatem mahtalhed
allosed
Can
the
Mutual Exclut'en ALgoihma,
wtcal
be
erchanges among
aston
Communi catiy folo
Valabe
Conttnues
tho
the
CS
Aiffea
Ae areh f th
nto
hae
token.
lbuted
buted
unugue koken^
(tRt vtLe
Sevelal
othe
Can
A
the
Cales
to
the
agoukm
nfrraton maintained
alguthin
bhaed
allosed.
and
wecutoM
the
Mutual Erelutim Algovj
en the
Cqn be
Contnues
tho
the
CS
Aeareh fo th
han
aueta
At
ueeeyive
thu bken
Syakem model
At
A
)
at
Requtumenti
tu
qn
nues
Can be
ca) FAedon (^) fhan dad (^) locks
ti
dtemind
failute , t
thue
faom stovationi
Cs
) Ereuting cs
Can
have sevtal
Alqueata
the
fautt- hluant
made
hore
thu tak
Btg should hat
here
ie
does not entt,
timl
o (^) tha
Caton
2
Undl
than
anel
Unde
"hus
A
load Condits
loue
ne
a
ib thu
aftus
ltats
Cenn u'de
the
sfnse ime
Load pefonanle
the putmane
wth
load
baing
fufmane
mos
Case
eRclton algotn datends
a
fot inutal
Condu'ont
ereCuted
Case ferfrmanl
netla
and
mutua er celon
pevking
netuc
t
t
kound bip
avg cs^
erelton tme)
th
theu
th
Aequat
th
Atati
Con dition
erelueion adgo.
have best qnd et caseg
load
leldom moe
attans (^) thu but (^) posihla
best
a
a &it.
a slt immid
erecute
value
Qnd
Symeboneaton /(T+£J
T
shoud
gant
enslon
th
enect
the
Contal
alt
4
a
s}ti
chold
ft
selease
3
Bottlunet
stg
at
2
msages
becs
them
Conthol queues
up the qnd
fia.t
the
Centol
Aequt
th Cs,
a
a
ReQueST
cs
the
CS
erecutoy
othe
n
Atalbued
mutua
el
A
simple
Solton
dctsbuted
Melual
A
a
LI: S; ha
ste
Ate
thu
a
ALCind
when
queul
th
fAom
t
RELEASE
flom the^ to^
o it^
quest ueue
Lamport' go achieves
Conulent
a
ot
all
tin Atanfe.
comeutn o
Condikn
conmey
when
medaje
thi
t
othe
t
enasing
thu
a
quet
S qnd
LI and
hoith
Qnd
t
Atgueet
Afuut.
sufjuse
Due
ohen
Coynnd Catm
Ayuat,
Fon eg
at AOme
(N-)
Condi on
CS UnvoCatbn.
as
thei
chanels
An optm'zatn
S;
Auzuat
Pestomance - Lambot's
CS
LI qnd
Conditom
to
mwt be
Syrehioniz ahon delay
S quat, 'u fesent in
queul
Li
RaUEsT (N-) REPLY
the
reutin
lea
hunt
thu
Lampet's algoutnm
betaen
t, boty Ci
hold ct
and
at
that at
thain tu
the
netant t
(N) RELEAS£
Can be otimized
3CH-1) and al-)
REPLY meg
'n
a
a
all
th
ty entel
cs,
Lt
s an
doe
have
ay
becae
to
Case
ntes
not
send
RePy
thu
ReQUEST meage
has
ereution
Thein
timeshms
n
this
abgovsm
entes
the
laet
all th
afond
when
the
withthunent
Jend REAY
pioty
Cie
amae
ine
atamp.
A
REPLY
msags bBecked
ony
th
quati
4
th
tu
eution
ntbge
flom
St Si
entes
thcs
all
th
Cs
had
eeid
REPLy
uat
Ereutg
th
caiti'al
detion
binestamp
Than
squating
and
no
th
a
REPLY
melage
S
S;
ceives
aVET
o
Perfos mance -
e
sala
Symehsonzatn dlay
ofbinieatoy
authoizatin
qnd
a
Beetian
and
entes
n th
mesags (^) fAom all th
aC-) neages pes cs
t
SL eute th
imtiut
net
algohn 'u T.
eneutaM
Calvalko pojased
R'cat-Aa
bage fson^
a erta G.
R
amportment to th
medietes
t a
Aends
numhes
Maekaun' algo klhn
cdange
consequontly
confue
.
Maekasa'
a
qnd
Can
mesage
Aceved
Sj.
Can
REPLY medeg
s)
has
REPLY
a
ony send
betlen
send
Algosithwm
Out
RELEASE
S) Cah
tes
that
tw
fum ynandaty
sends a^
hal
Ricat
a
othe
ayo
in
ways
thu sty:
ban
chosen dyeh that
a sti that
REPLY mesage
3
mesages
lends
faom
hent
sufose
Aent
th
acesses
Phoof- he
coMetns
thu
th
ite
erecutlon
RELEASE () mesage
Macfaua' ago
waiting
REaUeST f^
dete
consdutabin(74)
th
S
REPLY mesags
Send
that
utes
nt
ony
afku
eing
RePLy
all
to
then
qnd S, a
then
aLhere mutual eneleton
thu
both
tes n Ru
les fosante
Synchionzation
Assume theu
iavoke muta
The
pabden o^
dad doaes
And
in the
at
Wat t
th
do
dadlocba
othe
qnd
ercluelon
poi'se hat du
has ben
tes
Auquet seb
sgust
ts
a
Lopad
becanse
Sjk:
eeto
SA
moa
.
Cforuing
Si