• Keine Ergebnisse gefunden

Exercise 1: Aggregation in the MPC Model (15 Points)

N/A
N/A
Protected

Academic year: 2022

Aktie "Exercise 1: Aggregation in the MPC Model (15 Points)"

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

University of Freiburg Dept. of Computer Science Prof. Dr. F. Kuhn

S. Faour, P. Schneider

Theory of Distributed Systems Exercise Sheet 12

Due: Wednesday, 23rd of July 2021, 12:00 noon

Exercise 1: Aggregation in the MPC Model (15 Points)

Assume you are given a number ofM ∈O NS logSN

machines, whereN is the number ofaggregation messages that are collectively stored by the machines Mi, i∈ {1, . . . , M}. Each machine Mi has a memory large enough to store S such messages. By definition of the MPC model every machine can send and receive at mostS aggregation messages per round.

Each aggregation message m has an aggregation value vm, a target machine tm and an aggregation group gm. All messages in the same group go to the same target and each machine is the target of not more than one aggregation group. The aggregation problem is solved when every target machine tm learns an aggregation message m that has minimal value among all aggregation messages of its aggregation group gm. Formulate an algorithm that solves said aggregation problem in O(logSN) rounds such that no machine sends or receives more thanS/2 messages per roundin expectation.

Simplifications: You may assume that the intial aggregation messages are stored on dNSe machines and none of those machines is a target of an aggregation message. This means that machines can be partitioned intoO(logSN) levels with a separate level for sources and targets of aggregation messages, respectively. You may further assume that we have sufficient long string of “public random bits”, which can be used to make random decisions that are the same for all machines, (since all machines utilize the same random bit string).

Exercise 2: Implement a Phase of Bor˚ uvka’s Algorithm (5 Points)

In class, we sketched how to implement one phase of Bor˚uvka’s MST algorithm in the strongly sublinear regime S = nα for some constant 0 < α < 1. Argue in more detail how this can be done in O(1) rounds, given that we can solve the above aggregation problem.

Referenzen

ÄHNLICHE DOKUMENTE

(Use 4 ancilla bits to store the syndromes β l and apply the corresponding correction steps depending on the ancilla values.).. d) Implement this circuit in

[r]

Recall that the polynomial ring R [x] is a subring of the ring of formal power series RJ

In this exercise we want to show that the model construction for FO 2 -formulae from the lecture is optimal in the following sense: in general it does not suffice to take only

For your implementation use the given template for iterative schemes that we will provide on the webpage as well as an initial

Numerical Algorithms for Visual Computing III: Optimisation.. Michael Breuß and Kai Uwe Hagenburg

Prove that the Douglas-Rachford Splitting (14.18) is a valid splitting scheme.

However, each time you apply it, do not forget to check that the hypotheses of the rule are satisfied (in relation to this see the bonus question on the back).. please