Bulk Synchronous Parallel - The Cost of A BSP Algorithm

The Cost of A BSP Algorithm

The cost of a superstep is determined as the sum of three terms; the cost of the longest running local computation, the cost of global communication between the processors, and the cost of the barrier synchronisation at the end of the superstep. The cost of one superstep for processors:


max_{i = 1}^{p}(w_i) + max_{i=1}^{p}(h_i g) + l
where is the cost for the local computation in process, and is the number of messages sent or received by process . Note that homogeneous processors are assumed here. It is more common for the expression to be written as where and are maxima. The cost of the algorithm then, is the sum of the costs of each superstep.


W + Hg + Sl = \sum_{s=1}^{S}w_s + g \sum_{s=1}^{S}h_s + Sl
where is the number of supersteps.

, and are usually modelled as functions, that vary with problem size. These three characteristics of a BSP algorithm are usually described in terms of asymptotic notation, e.g. .

Read more about this topic:  Bulk Synchronous Parallel

Famous quotes containing the word cost:

    Each is under the most sacred obligation not to squander the material committed to him, not to sap his strength in folly and vice, and to see at the least that he delivers a product worthy the labor and cost which have been expended on him.
    Anna Julia Cooper (1859–1964)