Checkpointing Models for Tasks with Widely Different Processing Times