Energy efficiency in large-scale distributed systems