Tuning parallel applications in parallel