perf enhancement on slurm.