Trace-based performance analysis of scheduling bags of tasks in grids