Experiment computation/overhead ratio

Text

Process a stream of floating point vectors (float []) by applying the same function f to all the items in the vectors. Function f defined as computing sin(sin(sin … (sin(x)) … )) (n times sin()) Random generated input vectors (m input vectors of up to k items each, the number of the items in each vector is picked up randomly in the range 100-1000).

  1. use a farm, sending a single vector per worker
  2. use a farm, sending k/nw (nw = number of workers in the farm) items per worker
  3. use a farm, sending c items per worker (c parameters from command line)

Figure out best implementation, using standard scheduling and auto-scheduling in the farm.