Distributed computing



Download 0,86 Mb.
bet13/38
Sana24.04.2022
Hajmi0,86 Mb.
#578449
1   ...   9   10   11   12   13   14   15   16   ...   38
Bog'liq
distcomp

MODEL

  • Links are bidirectional. A message traverses a single link.
  • All nodes have distinct ids. Each node knows immediate neighbors
  • Messages incur arbitrary but finite delay.
  • FIFO discipline on links, i.e., messages are received in the order they are sent.

PRELIMINARY: ESTABLISH A SPANNING TREE

  • Some node establishes itself as the leader (e.g. node x establishes a spanning tree for its broadcasts, so x is root).
  • That node sends out a “request for children” to its neighbors in the graph.
  • When a node n receives “request for children” from node m
  • if m is the first node that sent n this message, then n responds “ACK and you’re my parent”; sends request for children to its other neighbors else n responds “ACK”

TERMINATING THE SPANNING TREE

  • A node that determines that it is a leaf sends up an “I’m all done” message to its parent.
  • Each non-root parent sends an “I’m all done” message to its parent once it has received such message from all its children.
  • When the root receives “I’m all done” from its children, then it is done.

BROADCAST WITH FEEDBACK

  • A given node s would like to pass message X to all other nodes in the network and be informed that all nodes have received the message.
  • Algorithm:
  • Construct the spanning tree and then send X along the tree.
  • Have each node send an acknowledgement to its parent after it has received an acknowledgement from its children.

PROCESS TERMINATION

  • Def: Detect the completion of a collection of non-interacting tasks, each of which is performed on a distinct processor.
  • When a leaf finishes its computation, it sends an “I am terminated” message to its parent.
  • When an internal node completes it has received an “I am terminated” message from all of its children, it sends such a message to its parent.
  • When the root completes and has received an “I am terminated” message from all of its children, all tasks have been completed.
  • 5
  • 4
  • 3
  • 2
  • 4
  • 1
  • 4

Download 0,86 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   ...   38




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish