Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Example of a parallel acceleration anomaly

What is an example of a parallel acceleration anomaly? ie. A task that when run over p processors, results in a speedup greater than p.

like image 927
Joel Avatar asked Jun 25 '09 07:06

Joel


1 Answers

Consider a matrix algorithm that for the purposes of parallelization is modified in such a way that every computing node is assigned a region of the matrix and only operates on this region.

If with one node the region doesn't fit into cache (because it's the whole matrix) and with multiple nodes it starts fitting into cache (the more nodes the smaller is the region) accessing data becomes much faster and this might (but not always will) result in abnormal acceleration.

like image 137
sharptooth Avatar answered Sep 19 '22 19:09

sharptooth