The Online Pause and Resume Problem: Optimal Algorithms and An Application to Carbon-Aware Load Shifting
Open Access
- 7 December 2023
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Measurement and Analysis of Computing Systems
- Vol. 7 (3) , 1-32
Abstract
We introduce and study the online pause and resume problem. In this problem, a player attempts to find the k lowest (alternatively, highest) prices in a sequence of fixed length T, which is revealed sequentially. At each time step, the player is presented with a price and decides whether to accept or reject it. The player incurs aswitching cost whenever their decision changes in consecutive time steps, i.e., whenever they pause or resume purchasing. This online problem is motivated by the goal of carbon-aware load shifting, where a workload may be paused during periods of high carbon intensity and resumed during periods of low carbon intensity and incurs a cost when saving or restoring its state. It has strong connections to existing problems studied in the literature on online optimization, though it introduces unique technical challenges that prevent the direct application of existing algorithms. Extending prior work on threshold-based algorithms, we introducedouble-threshold algorithms for both the minimization and maximization variants of this problem. We further show that the competitive ratios achieved by these algorithms are the best achievable by any deterministic online algorithm. Finally, we empirically validate our proposed algorithm through case studies on the application of carbon-aware load shifting using real carbon trace data and existing baseline algorithms.Keywords
All Related Versions
Funding Information
- National Science Foundation (DGE-1745301, CAREER-2045641, CNS-2102963, CNS-2106299, CNS-2146814, CNS-1518941, CPS-2136197, CPS-2136199, NGSDI-2105494, NGSDI-2105648, 1908298, 2020888, 2021693, 2045641, 2213636, and 2211888)
- U.S. Department of Energy (Computational Science Graduate Fellowship)
This publication has 32 references indexed in Scilit:
- Online algorithms for conversion problems: A surveySurveys in Operations Research and Management Science, 2014
- Energy-efficient scheduling in multi-core serversComputer Networks, 2014
- Renewable and cooling aware workload management for sustainable data centers2012
- Online algorithms for geographical load balancing2012
- Greening geographical load balancingACM SIGMETRICS Performance Evaluation Review, 2011
- Server farms with setup costsPerformance Evaluation, 2010
- The effect of the charging protocol on the cycle life of a Li-ion batteryJournal of Power Sources, 2006
- Optimal Search and One-Way Trading Online AlgorithmsAlgorithmica, 2001
- M/M/1 Queues with Switching Costs and Hysteretic Optimal ControlOperations Research, 1999
- On convex body chasingDiscrete & Computational Geometry, 1993