Optimizing performance under thermal and power constraints for HPC data centers