Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks Marcin Bieńkowski Joint work with: Jarek Byrka (Centrum voor Wiskunde.

Slides:



Advertisements
Similar presentations
Friedhelm Meyer auf der Heide
Advertisements

Friedhelm Meyer auf der Heide 1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Algorithmic Aspects of Dynamic Intelligent Systems.
Friedhelm Meyer auf der Heide 1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Local Strategies for Building Geometric Formations.
Online Algorithm Huaping Wang Apr.21
HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Page Migration in Dynamic Networks Marcin Bienkowski Friedhelm Meyer auf der.
Lindsey Bleimes Charlie Garrod Adam Meyerson
Scalable and Dynamic Quorum Systems Moni Naor & Udi Wieder The Weizmann Institute of Science.
Class-constrained Packing Problems with Application to Storage Management in Multimedia Systems Tami Tamir Department of Computer Science The Technion.
Replication Strategies in Unstructured Peer-to-Peer Networks Edith Cohen Scott Shenker This is a modified version of the original presentation by the authors.
1 Maximal Independent Set. 2 Independent Set (IS): In a graph G=(V,E), |V|=n, |E|=m, any set of nodes that are not adjacent.
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)
By Lydia E. Kavraki, Petr Svestka, Jean-Claude Latombe, Mark H. Overmars Emre Dirican
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.
2007/3/6 1 Online Chasing Problems for Regular n-gons Hiroshi Fujiwara* Kazuo Iwama Kouki Yonezawa.
Evaluation of Algorithms for the List Update Problem Suporn Pongnumkul R. Ravi Kedar Dhamdhere.
Dynamic Power Management for Systems with Multiple Power Saving States Sandy Irani, Sandeep Shukla, Rajesh Gupta.
Network Design Adam Meyerson Carnegie-Mellon University.
Parallel Routing Bruce, Chiu-Wing Sham. Overview Background Routing in parallel computers Routing in hypercube network –Bit-fixing routing algorithm –Randomized.
Online Algorithms Motivation and Definitions Paging Problem Competitive Analysis Online Load Balancing.
Online Oblivious Routing Nikhil Bansal, Avrim Blum, Shuchi Chawla & Adam Meyerson Carnegie Mellon University 6/7/2003.
Bit Complexity of Breaking and Achieving Symmetry in Chains and Rings.
The k-server Problem Study Group: Randomized Algorithm Presented by Ray Lam August 16, 2003.
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.
Network Design with Concave Cost Functions Kamesh Munagala, Stanford University.
A Local Facility Location Algorithm Supervisor: Assaf Schuster Denis Krivitski Technion – Israel Institute of Technology.
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)
S. Suri, M, Waldvogel, P. Warkhede CS University of Washington Profile-Based Routing: A New Framework for MPLS Traffic Engineering.
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.
CS401 presentation1 Effective Replica Allocation in Ad Hoc Networks for Improving Data Accessibility Takahiro Hara Presented by Mingsheng Peng (Proc. IEEE.
1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Christian Schindelhauer Algorithms for Radio Networks Winter Term 2005/2006.
Online Function Tracking with Generalized Penalties Marcin Bieńkowski Institute of Computer Science, University of Wrocław, Poland Stefan Schmid Deutsche.
Improved results for a memory allocation problem Rob van Stee University of Karlsruhe Germany Leah Epstein University of Haifa Israel WADS 2007 WAOA 2007.
Minimizing Cache Usage in Paging Alejandro Salinger University of Waterloo Joint work with Alex López-Ortiz.
DEXA 2005 Quality-Aware Replication of Multimedia Data Yicheng Tu, Jingfeng Yan and Sunil Prabhakar Department of Computer Sciences, Purdue University.
Approximation Algorithms for Stochastic Combinatorial Optimization Part I: Multistage problems Anupam Gupta Carnegie Mellon University.
International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for Dynamic Page Migration Marcin Bieńkowski.
A Theoretical Study of Optimization Techniques Used in Registration Area Based Location Management: Models and Online Algorithms Sandeep K. S. Gupta Goran.
Online Oblivious Routing Nikhil Bansal, Avrim Blum, Shuchi Chawla & Adam Meyerson Carnegie Mellon University 6/7/2003.
Network Aware Resource Allocation in Distributed Clouds.
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.
Online Algorithms. Introduction An offline algorithm has a full information in advance so it can compute the optimal strategy to maximize its profit (minimize.
1 Optimal Oblivious Routing in Hole-Free Networks Costas Busch Louisiana State University Malik Magdon-Ismail Rensselaer Polytechnic Institute.
1 Oblivious Routing in Wireless networks Costas Busch Rensselaer Polytechnic Institute Joint work with: Malik Magdon-Ismail and Jing Xi.
Minimizing Cache Usage in Paging Alejandro López-Ortiz, Alejandro Salinger University of Waterloo.
1 Online algorithms Typically when we solve problems and design algorithms we assume that we know all the data a priori. However in many practical situations.
PODC Distributed Computation of the Mode Fabian Kuhn Thomas Locher ETH Zurich, Switzerland Stefan Schmid TU Munich, Germany TexPoint fonts used in.
Jennifer Campbell November 30,  Problem Statement and Motivation  Analysis of previous work  Simple - competitive strategy  Near optimal deterministic.
1 Costas Busch Õ(Congestion + Dilation) Hot-Potato Routing on Leveled Networks Costas Busch Rensselaer Polytechnic Institute.
Facility Location in Dynamic Geometric Data Streams Christiane Lammersen Christian Sohler.
On Selfish Routing In Internet-like Environments Lili Qiu (Microsoft Research) Yang Richard Yang (Yale University) Yin Zhang (AT&T Labs – Research) Scott.
Basic Linear Algebra Subroutines (BLAS) – 3 levels of operations Memory hierarchy efficiently exploited by higher level BLAS BLASMemor y Refs. FlopsFlops/
A Optimal On-line Algorithm for k Servers on Trees Author : Marek Chrobak Lawrence L. Larmore 報告人:羅正偉.
APPROX and RANDOM 2006 Online Algorithms to Minimize Resource Reallocation and Network Communication Sashka Davis, UCSD Jeff Edmonds, York University,
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.
Towards a Scalable and Robust DHT Baruch Awerbuch Johns Hopkins University Christian Scheideler Technical University of Munich.
Smart Sleeping Policies for Wireless Sensor Networks Venu Veeravalli ECE Department & Coordinated Science Lab University of Illinois at Urbana-Champaign.
Jaroslaw Kutylowski 1 HEINZ NIXDORF INSTITUTE University of Paderborn Algorithms and Complexity Maintaining Communication Between an Explorer and a Base.
IPTPS 2005 Mirek Korzeniowski: Page 1 International Graduate School of Dynamic Intelligent Systems HEINZ NIXDORF INSTITUT University of Paderborn Algorithms.
Presentation transcript:

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks Marcin Bieńkowski Joint work with: Jarek Byrka (Centrum voor Wiskunde en Informatica, NL) Mirek Dynia (University of Paderborn, DE) Mirek Korzeniowski (Technical University of Wroclaw, PL) Friedhelm Meyer auf der Heide (University of Paderborn, DE)

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 2 Data management problem How to store and manage data items in a network, so that arbitrary sequences of accesses to (parts of) data items can be served efficiently?

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 3  Build a large data center  Not scalable (building larger storage does not help)  Fixed place for data is always bad! Rich engineer’s solution

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 4 Poor CS’s solution  Use the memory of the network nodes  Replicate and remove copies of data on demand  Use locality of requests Widely explored problem, many variants. A classical, most basic variant: Page Migration

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 5  nodes in a metric space  One copy of one indivisible memory page of size at the local memory of one node  Each pair of nodes can communicate directly, cost of communication ~ distance Page Migration (1) v1v1 v2v2 v3v3 v4v4 v7v7 v6v6 v5v5

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 6 Page Migration (2) Problem: nodes want to access the shared object (page) In one step t:  wants to read / write one unit of data from the page  After serving a request an algorithm may optionally move the whole page to a new processor Input: sequence Output: sequence of page migrations minimizing total cost Decisions have to be made online! v1v1 v2v2 v3v3 v4v4 v7v7 v6v6 v5v5 cost = movement cost =

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 7 Page Migration (competitive analysis)  Input sequence is created by a request adversary  Performance metric = competitive analysis: competitive ratio  Previous research -> -competitive algorithms

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 8 Page migration: randomized algorithm Algorithm CF (coin-flipping) [Westbrook ‘92] Observation: CF exploits the locality of requests Theorem: CF is 3-competitive In each step after serving a request issued at, move page to with probability.

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 9 CF competitiveness (1) General idea  We run CF and OPT “in parallel” on the same input  Define a potential  In each step, we show

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 10 CF competitiveness (2)  Request occurs at  Assumption: OPT does not move the page

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 11 Page migration in static networks is EASY What about dynamic ones?

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 12 What network dynamics can we allow?  node failures?  link failures? OK, what is the weakest possible model of network changes? Allow small changes in the costs of communication no chance for algorithm!

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 13 Page Migration in Dynamic Networks Page Migration, but with mobile nodes In one step t:  The network adversary may move each processor only within a ball of diameter 1 centered at the current position  Configuration in step t-1  Nodes are moved  Request is issued at  Algorithm serves the request  Algorithm (optionally) moves the page

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 14 Can any algorithm be O(1)-competitive in dynamic model? Not even close.

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 15 Lower bound for two nodes For the deterministic case:   time decision point Lower bound of Movement is fixed

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 16 Our results Deterministic algorithms competitive ratio = [SPAA 04, STACS 05, MFCS 05] Randomized algorithms competitive ratio = [SPAA 04, ESA 05]

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 17 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 at least

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 18 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

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 19 Analysis of MARK (1)  We define a potential function:  For each phase, we prove:  Fix any epoch  MARK is -competitive.

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 20 Nothing interesting here,  Consider, but with all nodes at positions from step  Gravity center (GC) – the node optimizing cost in  Jump set – a ball of diameter centered at GC For these nodes these nodes are marked MARK chooses a node from Jump set Analysis of MARK (2) Closer look at one phase : If MARK moves to GC … to other nodes from JumpSet AND nodes are moving

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 21 Randomized algorithm R-MARK 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

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 22 Outlook Good news: we provided optimal algorithms Bad news: optimal competitive ratios grow with and some function of

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 23 Outlook (2)  Our weak model appeared to be very difficult: two adversaries (requests and network) fight against the online algorithm, and may even cooperate  Is it a realistic scenario? Probably not. How can we weaken the cooperation between adversaries? Possible solution: replace one of the adversaries by a stochastic process. Competitive ratios are greatly reduced!

Institute of Computer Science University of Wroclaw Thank you for your attention!

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 25 Results on static page migration The best known bounds: AlgorithmLower bound Deterministic [Bartal, Charikar, Indyk ‘96][Chrobak, Larmore, Reingold, Westbrook ‘94] Randomized: Oblivious adversary [Westbrook ‘91][Chrobak, Larmore, Reingold, Westbrook ‘94] Randomized: Adaptive-online adversary [Westbrook ‘91]

Institute of Computer Science University of Wroclaw Page Migration in Dynamic Networks / M. Bienkowski 26 Randomized algorithm for two nodes Algorithm EDGE [ -competitive ] In each step after serving a request issued at, move page to with probability, where function plot