Energy-efficient Algorithms for Ultrascale Systems