Load Balancing: Particle Exercise (Extension)

For this exercise, continue by building upon your work for the previous exercise. You will now work to create measurable imbalance so that load balancers have something meaningful to fix.

  1. Let m × m be the chare-array dimensions and k the baseline number of particles per chare. Update the number of particles per chare to be N_{x,y} = k + \frac{k(x + y)}{m}.
  2. Build with tracing enabled using the -tracemode projections flag.
  3. Install projections, and focus on the time profile view to see how the imbalance affects performance and efficiency.

Variants: Instructors may choose to use a different formula for introducing imbalance