# Tight Bounds on Online Checkpointing Algorithms

**Authors:** Achiya Bar-On, Itai Dinur, Orr Dunkelman, Rani Hod, Nathan, Keller, Eyal Ronen, Adi Shamir

arXiv: 1704.02659 · 2019-06-20

## TL;DR

This paper establishes tight bounds on the discrepancy of online checkpointing algorithms, solving open problems for all large and small values of k, and introduces new applications of the problem.

## Contribution

It proves that ln(4) is the exact asymptotic bound for large k and provides optimal algorithms for small k, advancing understanding of online checkpointing.

## Key findings

- Discrepancy asymptotically equals ln(4) for large k.
- Optimal algorithms are identified for all k ≤ 10.
- New applications of online checkpointing are described.

## Abstract

The problem of online checkpointing is a classical problem with numerous applications which had been studied in various forms for almost 50 years. In the simplest version of this problem, a user has to maintain $k$ memorized checkpoints during a long computation, where the only allowed operation is to move one of the checkpoints from its old time to the current time, and his goal is to keep the checkpoints as evenly spread out as possible at all times.   Bringmann et al. studied this problem as a special case of an online/offline optimization problem in which the deviation from uniformity is measured by the natural discrepancy metric of the worst case ratio between real and ideal segment lengths. They showed this discrepancy is smaller than $1.59-o(1)$ for all $k$, and smaller than $\ln4-o(1)\approx1.39$ for the sparse subset of $k$'s which are powers of 2. In addition, they obtained upper bounds on the achievable discrepancy for some small values of $k$.   In this paper we solve the main problems left open in the above-mentioned paper by proving that $\ln4$ is a tight upper and lower bound on the asymptotic discrepancy for all large $k$, and by providing tight upper and lower bounds (in the form of provably optimal checkpointing algorithms, some of which are in fact better than those of Bringmann et al.) for all the small values of $k \leq 10$.   In the last part of the paper we describe some new applications of this online checkpointing problem.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1704.02659/full.md

## Figures

1 figure with captions in the complete paper: https://tomesphere.com/paper/1704.02659/full.md

## References

11 references — full list in the complete paper: https://tomesphere.com/paper/1704.02659/full.md

---
Source: https://tomesphere.com/paper/1704.02659