Proactive temperature balancing for low cost thermal management in MPSoCs