SlideServe
Menu
Préférences
© SlideServe · v2026

Introduction to computer networking

krista avatar
14 diapositives · 307 Views · Sep 19, 2014

This recitation explores the PIF (Push-Interactive Flooding) algorithm and its variant, PIFD, focusing on message propagation among nodes in a distributed system. The initial algorithm sets parameters for nodes and describes message sending protocols. We analyze claims related to message delivery, algorithm completion, and knowledge of termination among nodes. Central to this discussion is the behavior of nodes and the possibility of message exchanges based on system states. Through theoretical examples, we aim to clarify these concepts in distributed algorithms.

Introduction to computer networking - slide 1
01 / 14Introduction to computer networking
1 / 17

Télécharger la présentation

Introduction to computer networking
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Introduction to computer networking Distributed Algorithms Class Recitation

  2. Ex. 1 - PIF Revisited • Given the PIF algorithm: Init: l N(l)0; m0; p0 Upon receipt of MSGs(l) N(l)1 if m=0 then p1 send MSGsto all lN-{l} m1 if l’ holds N(l’)=1 then send MSGs to p m0 l’ N(l’)0 • Is it possible that a node i will send messages to all its neighbors except its parent, p, before node p has? • Is it possible for node i to send a message to its parent p before node j has finished sending messages to its neighbors?

  3. T=0

  4. T=3

  5. T=4

  6. T=5

  7. T=6

  8. T=7

  9. T=8

  10. T=11

  11. Ex. 2 • Given the PIFD algorithm, which is similar to the PIF algorithm, albeit with a second (other than the source) unique node D which behaves differently from the other nodes. For each of the following claims, determine whether the claim is true or false:

  12. The Claims • All the nodes will receive the message after a finite time period and all will have m=1 eventually. • The algorithm ends. i.e. there is a finite time after which no more messages are transferred. • The source node knows when the algorithm has finished • When the source node finishes the algorithm, the algorithm has ended.

  13. PIFD Algorithm For Node D: Init: Init: l N(l)0;m0; p0 Upon receipt of MSGs(l) N(l)1 if m=0 then p1 send MSGsto all neighbours m1

  14. The Claims Revisited • All the nodes will receive the message after a finite time period and all will have m=1 eventually. • The algorithm ends. i.e. there is a finite time after which no more messages are transferred. • The source node knows when the algorithm has finished • When the source node finishes the algorithm, the algorithm has ended.