Energy-performance tradeoffs in multilevel checkpoint strategies