Paging with dynamic memory capacity

04/22/2013
by   Enoch Peserico, et al.
0

We study a generalization of the classic paging problem that allows the amount of available memory to vary over time - capturing a fundamental property of many modern computing realities, from cloud computing to multi-core and energy-optimized processors. It turns out that good performance in the "classic" case provides no performance guarantees when memory capacity fluctuates: roughly speaking, moving from static to dynamic capacity can mean the difference between optimality within a factor 2 in space and time, and suboptimality by an arbitrarily large factor. More precisely, adopting the competitive analysis framework, we show that some online paging algorithms, despite having an optimal (h,k)-competitive ratio when capacity remains constant, are not (3,k)-competitive for any arbitrarily large k in the presence of minimal capacity fluctuations. In this light it is surprising that several classic paging algorithms perform remarkably well even if memory capacity changes adversarially - even without taking those changes into explicit account! In particular, we prove that LFD still achieves the minimum number of faults, and that several classic online algorithms such as LRU have a "dynamic" (h,k)-competitive ratio that is the best one can achieve without knowledge of future page requests, even if one had perfect knowledge of future capacity fluctuations (an exact characterization of this ratio shows it is almost, albeit not quite, equal to the "classic" ratio k/(k-h+1)). In other words, with careful management, knowing/predicting future memory resources appears far less crucial to performance than knowing/predicting future data accesses.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/10/2022

Knapsack Secretary Through Boosting

We revisit the knapsack-secretary problem (Babaioff et al.; APPROX 2007)...
research
07/12/2022

Capacity-Insensitive Algorithms for Online Facility Assignment Problems on a Line

In the online facility assignment problem OFA(k,ℓ), there exist k server...
research
03/07/2022

Online Matching with Convex Delay Costs

We investigate the problem of Min-cost Perfect Matching with Delays (MPM...
research
06/09/2020

Online Page Migration with ML Advice

We consider online algorithms for the page migration problem that use pr...
research
11/29/2017

Online Knapsack Problem under Expected Capacity Constraint

Online knapsack problem is considered, where items arrive in a sequentia...
research
01/26/2019

Competitive Online Optimization under Inventory Constraints

This paper studies online optimization under inventory (budget) constrai...
research
09/01/2022

Online Demand Scheduling with Failovers

Motivated by cloud computing applications, we study the problem of how t...

Please sign up or login with your details

Forgot password? Click here to reset