Two Holes Make a Difference: Deterministic Paging with Delay and Deadlines
Darya Melnyk, Linda Thelen, Yuyi Wang
Abstract
In this paper, we study online paging with delay or deadlines. In online paging with delay, an online algorithm manages a cache of size k and needs to serve incoming requests by adding the requested pages to the cache. In addition, it has the option to delay serving incoming requests at a cost that depends on the delay. We propose a new online algorithm, which combines a threshold rule with first-in, first-out (FIFO) replacement, and show that it is (2k+2)-competitive for cache size k. This result corrects a previously published claim that the competitive ratio is exactly 2k+1 regardless of the number of holes (pages outside the cache). However, in the case of one hole, we show that the FIFO rule with a different threshold is indeed (2k+1)-competitive, giving a tight result. In the case of deadlines, the same analysis gives a deadline-triggered algorithm that is (k+1)-competitive in general and k-competitive if there is only one hole. Moreover, we show that the second hole makes paging with deadlines strictly harder than classical paging, where the competitive ratio is independent of the number of holes. For paging with deadlines, we prove a deterministic lower bound of k+12, already for two holes. We show that, as a consequence, no threshold-triggered algorithm can achieve a competitive ratio less than 2k+32 in general.
Create a lesson
Related papers
Settling the Approximability of Submodular Facility Location
Adam N. Elmachtoub, Bento Natura, Meike Neuwohner
Bipartite Matching with Few Rounds of Demand Queries
Shravan Mehra, Sagnik Mukhopadhyay, Vihan Shah
Selecting the 7th Smallest of 16 Elements Takes Exactly 28 Comparisons
Jonathan Cremer
Exploring Minimal Blocking Sets for Kernelization Lower Bounds for F-Minor Deletion
Ahmed Ghazy, Jakob Greilhuber, Tim A. Hartmann
Semi-Streaming Estimation of the Held--Karp Bound and Graph-Metric TSP Cost
Sharareh Alipour
Sublinear-Time and Semi-Streaming Algorithms for Path Cover and TSP
Sharareh Alipour, Ali Nowzari