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:

    The Fountaine of parents duties is Love....Great reason there is why this affection should be fast fixed towards their children. For great is that paine, cost, and care, which parents must undergoe for their children. But if love be in them, no paine, paines, cost or care will seeme too much.
    William Gouge (20th century)