International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for Dynamic Page Migration Marcin Bieńkowski.

Slides:



Advertisements
Similar presentations
Friedhelm Meyer auf der Heide
Advertisements

Xiaoming Sun Tsinghua University David Woodruff MIT
The Contest between Simplicity and Efficiency in Asynchronous Byzantine Agreement Allison Lewko The University of Texas at Austin TexPoint fonts used in.
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Page Migration in Dynamic Networks Marcin Bienkowski Friedhelm Meyer auf der.
Tight Bounds for Online Class- constrained Packing Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir The Technion IIT.
Distributed Computing 1. Lower bound for leader election on a complete graph Shmuel Zaks ©
Online Algorithms Amrinder Arora Permalink:
Institute of Computer Science University of Wroclaw Geometric Aspects of Online Packet Buffering An Optimal Randomized Algorithm for Two Buffers Marcin.
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Competitive Analysis.
An Optimal Lower Bound for Buffer Management in Multi-Queue Switches Marcin Bieńkowski.
Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97.
Online Algor ithm Paging and Caching. Caching (paging) Structure of data storage Cache memory : Static RAM Level 1 Cache Level 2 Cache Main memory Hard.
Evaluation of Algorithms for the List Update Problem Suporn Pongnumkul R. Ravi Kedar Dhamdhere.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
On the limits of partial compaction Anna Bendersky & Erez Petrank Technion.
1 Complexity of Network Synchronization Raeda Naamnieh.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
1 Ecole Polytechnque, Nov 7, 2007 Scheduling Unit Jobs to Maximize Throughput Jobs:  all have processing time (length) = 1  release time r j  deadline.
Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks Marcin Bieńkowski Joint work with: Jarek Byrka (Centrum voor Wiskunde.
Online Algorithms Motivation and Definitions Paging Problem Competitive Analysis Online Load Balancing.
The k-server Problem Study Group: Randomized Algorithm Presented by Ray Lam August 16, 2003.
1 Streaming Computation of Combinatorial Objects Ziv Bar-Yossef U.C. Berkeley Omer Reingold AT&T Labs – Research Ronen.
Ecole Polytechnique, Nov 7, Online Job Scheduling Marek Chrobak University of California, Riverside.
Randomized Competitive Analysis for Two Server Problems Wolfgang Bein Kazuo Iwama Jun Kawahara.
Ecole Polytechnique, Nov 11, List Scheduling on Related Machines processors Related machines: machines may have different speeds  0.25 
Evaluation of Algorithms for the List Update Problem Suporn Pongnumkul R. Ravi Kedar Dhamdhere.
Competitive Analysis of Incentive Compatible On-Line Auctions Ron Lavi and Noam Nisan SISL/IST, Cal-Tech Hebrew University.
1 Analysis of Link Reversal Routing Algorithms Srikanta Tirthapura (Iowa State University) and Costas Busch (Renssaeler Polytechnic Institute)
Competitive Paging Algorithms Amos Fiat, Richard Karp, Michael Luby, Lyle McGeoch, Daniel Sleator, Neal Young presented by Seth Phillips.
A General Approach to Online Network Optimization Problems Seffi Naor Computer Science Dept. Technion Haifa, Israel Joint work: Noga Alon, Yossi Azar,
Priority Models Sashka Davis University of California, San Diego June 1, 2003.
Online Function Tracking with Generalized Penalties Marcin Bieńkowski Institute of Computer Science, University of Wrocław, Poland Stefan Schmid Deutsche.
 On-line problem  Input arrives one at a time, and a decision is made (and cannot be changed).  In the minADM problem: lightpaths arrive one at a time,
Paging for Multi-Core Shared Caches Alejandro López-Ortiz, Alejandro Salinger ITCS, January 8 th, 2012.
Minimizing Cache Usage in Paging Alejandro Salinger University of Waterloo Joint work with Alex López-Ortiz.
Approximation Algorithms for Stochastic Combinatorial Optimization Part I: Multistage problems Anupam Gupta Carnegie Mellon University.
A Theoretical Study of Optimization Techniques Used in Registration Area Based Location Management: Models and Online Algorithms Sandeep K. S. Gupta Goran.
Competitive On-Line Admission Control and Routing By: Gabi Kliot Presentation version.
Throughput Competitive Online Routing Baruch Awerbuch Yossi Azar Serge Plotkin.
Yossi Azar Tel Aviv University Joint work with Ilan Cohen Serving in the Dark 1.
1 By: MOSES CHARIKAR, CHANDRA CHEKURI, TOMAS FEDER, AND RAJEEV MOTWANI Presented By: Sarah Hegab.
Online Paging Algorithm By: Puneet C. Jain Bhaskar C. Chawda Yashu Gupta Supervisor: Dr. Naveen Garg, Dr. Kavitha Telikepalli.
Randomized Online Algorithm for Minimum Metric Bipartite Matching Adam Meyerson UCLA.
Online Algorithms. Introduction An offline algorithm has a full information in advance so it can compute the optimal strategy to maximize its profit (minimize.
Minimizing Cache Usage in Paging Alejandro López-Ortiz, Alejandro Salinger University of Waterloo.
1 Tight Bounds for Delay-Sensitive Aggregation Yvonne Anne Oswald Stefan Schmid Roger Wattenhofer Distributed Computing Group LEA.
FORS 8450 Advanced Forest Planning Lecture 11 Tabu Search.
Jennifer Campbell November 30,  Problem Statement and Motivation  Analysis of previous work  Simple - competitive strategy  Near optimal deterministic.
A Optimal On-line Algorithm for k Servers on Trees Author : Marek Chrobak Lawrence L. Larmore 報告人:羅正偉.
CS 484 Load Balancing. Goal: All processors working all the time Efficiency of 1 Distribute the load (work) to meet the goal Two types of load balancing.
Introduction to the k-Server Problem Marcel Birkner.
International Graduate School of Dynamic Intelligent Systems, University of Paderborn Fighting Against Two Adversaries: Page Migration in Dynamic Networks.
Buffering problems Moran Feldman Technion Based on joint work with Seffi Naor.
Jaroslaw Kutylowski 1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Maintaining Communication Between an Explorer and a Base.
COMMUNICATING VIA FIREFLIES: GEOGRAPHIC ROUTING ON DUTY-CYCLED SENSORS S. NATH, P. B. GIBBONS IPSN 2007.
IPTPS 2005 Mirek Korzeniowski: Page 1 International Graduate School of Dynamic Intelligent Systems HEINZ NIXDORF INSTITUT University of Paderborn Algorithms.
Scheduling Parallel DAG Jobs to Minimize the Average Flow Time K. Agrawal, J. Li, K. Lu, B. Moseley.
Online Bipartite Matching with Augmentations Presentation by Henry Lin Joint work with Kamalika Chaudhuri, Costis Daskalakis, and Robert Kleinberg.
Summary of lectures Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture Slides Recurrence and Master Theorem (Chapter 4). Lecture Slides.
Course Description Algorithms are: Recipes for solving problems.
On Scheduling in Map-Reduce and Flow-Shops
Analysis of Link Reversal Routing Algorithms
University of Pittsburgh
Online Algorithms via Projections set cover, paging, k-server
György Dósa – M. Grazia Speranza – Zsolt Tuza:
Compact routing schemes with improved stretch
Course Description Algorithms are: Recipes for solving problems.
An Optimal Lower Bound for Buffer Management in Multi-Queue Switches
Competitively Chasing Convex Bodies
Presentation transcript:

International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for Dynamic Page Migration Marcin Bieńkowski Mirosław Dynia Mirosław Korzeniowski

2 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski  An online problem (of data management in a network)  processors in a metric space  One indivisible memory page of size in the local memory of one processor (initially at ) Problem description v1v1 v2v2 v3v3 v4v4 v7v7 v6v6 v5v5

3 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Page Migration  Discrete time steps  Input: a sequence of processor numbers, dictated by an adversary  - processor which wants to access (read or write) one unit of data from the memory page.  After serving a request an algorithm may move the page to a new processor. v1v1 v2v2 v3v3 v4v4 v7v7 v6v6 v5v5

4 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Dynamic Page Migration Page migration, but additionally nodes are mobile  Input sequence:  denotes positions of all the nodes in step  The adversary can move each processor only within a ball of diameter 1 centered at the current position.  Configuration  Nodes are moved to configuration  Request is issued at  Algorithm serves the request  Algorithm (optionally) moves the page

5 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Cost model Goal: Compute (online) a schedule of page movements to minimize total cost of communication Cost model:  The page is at node  Serving a request issued at costs.  Moving the page to node costs. Performance metric: We measure the efficiency of an algorithm by standard competitive analysis – competitive ratio

6 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Previous work  For Page Migration there existed algorithms attaining competitive ratio (with almost matching lower bounds) Awerbuch, Bartal, Charikar, Chrobak, Indyk, Fiat, Larmore, Lund, Reingold, Westbrook, Yan,...  For Dynamic Page Migration [BKM04]: AlgorithmLower bound Deterministic: Randomized: Adaptive-online adversary Randomized: Oblivious adversary

7 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Our contribution New results for Dynamic Page Migration: AlgorithmLower bound Deterministic: Randomized: Adaptive-online adversary Randomized: Oblivious adversary

8 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Marking scheme  We divide input sequence into intervals of length.  Marking scheme: Epoch 1 : a cost in current epoch of an algorithm which remains at If, then becomes marked Epoch ends when all nodes are marked  Marking and epochs are independent from the algorithm  Any algorithm in one epoch has cost

9 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Deterministic algorithm MARK MARK remains at one node till becomes marked, then it chooses not yet marked node and moves to. Epoch 1 Phase 1Phase 2Phase 3Phase 4 There are at most n phases in one epoch

10 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Analysis of MARK (1) Technique:  We run OPT and MARK “in parallel” on an input sequence.  We define a potential in time step :  For each epoch we will prove: MARK is - competitive.

11 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Analysis of MARK (2) Closer look at one phase : In all but last interval:   Lemma: Intuition: almost all requests are close to If is large at the end of, it means that is far away from, and thus far away from the requests.

12 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Analysis of MARK (3) Closer look at one phase :  We compute statistics in  Gravity center (GC) – the node optimizing communication cost if requests were issued at  Jump set – a ball of diameter centered at GC  Lemma: If node is outside jump set, then  In fact, MARK chooses some node from not marked nodes of jump set!

13 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Analysis of MARK (4) If an algorithm at the end of phase moves to any node from jump set, then we can show: Crucial Lemma: (In the proof we use standard techniques from page migration algorithm analysis + worst-case analysis of node movement)   Each epoch has at most phases and 

14 International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for DPM / M. Bienkowski Randomized algorithm R-MARK MARK remains at one node till becomes marked, then it chooses not yet marked node and moves to. R-MARK remains at one node till becomes marked, then it chooses randomly not yet marked node and moves to. Epoch 1  In the worst case we still have phases  But on average –  In each phase worst-case bounds apply R-MARK is -competitive

International Graduate School of Dynamic Intelligent Systems, University of Paderborn Thank you for your attention.