Online Parallel Paging with Optimal Makespan

被引:2
作者
Agrawal, Kunal [1 ]
Bender, Michael A. [2 ]
Das, Rathish [3 ]
Kuszmaul, William [4 ]
Peserico, Enoch [5 ]
Scquizzato, Michele [5 ]
机构
[1] Washington Univ St Louis, St Louis, MO 63130 USA
[2] SUNY Stony Brook, Stony Brook, NY USA
[3] Univ Waterloo, Waterloo, ON, Canada
[4] MIT, Cambridge, MA USA
[5] Univ Padua, Padua, Italy
来源
PROCEEDINGS OF THE 34TH ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, SPAA 2022 | 2022年
基金
加拿大自然科学与工程研究理事会;
关键词
Paging; parallel paging; multicores; online algorithms;
D O I
10.1145/3490148.3538577
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The classical paging problem can be described as follows: given a cache that can hold up to k pages (or blocks) and a sequence of requests to pages, how should we manage the cache so as to maximize performance-or, in other words, complete the sequence as quickly as possible. Whereas this sequential paging problem has been well understood for decades, the parallel version, where the cache is shared among p processors each issuing its own sequence of page requests, has been much more resistant. In this problem we are given p request sequences R-1, R-2, . . . , R-p, each of which accesses a disjoint set of pages, and we ask the question: how should the paging algorithm manage the cache to optimize the completion time of all sequences (i.e., the makespan). As for the classical sequential problem, the goal is to design an online paging algorithm that achieves an optimal competitive ratio, using O(1) resource augmentation. In a recent breakthrough, Agrawal et al. [SODA '21] showed that the optimal (deterministic) competitive ratio C for this problem is in the range Omega(log p) <= C <= O(log(2) p). This paper closes that gap, showing how to achieve a competitive ratio C = O(log p). Our techniques reveal surprising combinatorial differences between the problem of optimizing makespan and that of optimizing the closely related metric of mean completion time; and yet our algorithm manages to be simultaneously asymptotically optimal for both tasks.
引用
收藏
页码:205 / 216
页数:12
相关论文
共 24 条
[1]   Brief Announcement: Green Paging and Parallel Paging [J].
Agrawal, Kunal ;
Bender, Michael A. ;
Das, Rathish ;
Kuszmaul, William ;
Peserico, Enoch ;
Scquizzato, Michele .
PROCEEDINGS OF THE 32ND ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES (SPAA '20), 2020, :493-495
[2]  
Agrawal Kunal, 2021, P 2021 ACM SIAM S DI
[3]   Application-controlled paging for a shared cache [J].
Barve, RD ;
Grove, EF ;
Vitter, JS .
SIAM JOURNAL ON COMPUTING, 2000, 29 (04) :1290-1303
[4]   A STUDY OF REPLACEMENT ALGORITHMS FOR A VIRTUAL-STORAGE COMPUTER [J].
BELADY, LA .
IBM SYSTEMS JOURNAL, 1966, 5 (02) :78-&
[5]  
BORODIN A., 1998, Online Computation and Competitive Analysis
[6]  
CAO P, 1994, PROCEEDINGS OF THE SUMMER 1994 USENIX CONFERENCE, P171
[7]  
Chrobak M., 2010, SIGACT NEWS, V41, P114
[8]   How to Manage High-Bandwidth Memory Automatically [J].
Das, Rathish ;
Agrawal, Kunal ;
Bender, Michael A. ;
Berry, Jonathan ;
Moseley, Benjamin ;
Phillips, Cynthia A. .
PROCEEDINGS OF THE 32ND ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES (SPAA '20), 2020, :187-199
[9]  
Das Rathish, 2001, THESIS STATE U NEW Y
[10]  
DeLayo Daniel, 2022, P 34 ACM S PARALLELI