Accounting for load variation in energy-efficient data centers