No Agent Left Behind: Dynamic Fair Division of Multiple Resources Ian Kash 1 Ariel Procaccia 2 Nisarg Shah 2 (Speaker) 1 MSR Cambridge 2 Carnegie Mellon.

Slides:



Advertisements
Similar presentations
Chapter Thirty-One Welfare Social Choice u Different economic states will be preferred by different individuals. u How can individual preferences be.
Advertisements

Announcement Paper presentation schedule online Second stage open
Ariel D. Procaccia (Microsoft)  A cake must be divided between several children  The cake is heterogeneous  Each child has different value for same.
Beyond Dominant Resource Fairness David Parkes (Harvard) Ariel Procaccia (CMU) Nisarg Shah (CMU)
Better Ways to Cut a Cake Steven Brams – NYU Mike Jones – Montclair State University Christian Klamler – Graz University Paris, October 2006.
CUTTING A BIRTHDAY CAKE Yonatan Aumann, Bar Ilan University.
Seminar In Game Theory Algorithms, TAU, Agenda  Introduction  Computational Complexity  Incentive Compatible Mechanism  LP Relaxation & Walrasian.
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
CPU Scheduling CPU Scheduler Performance metrics for CPU scheduling
Online Cake Cutting Toby Walsh NICTA and UNSW Sydney, Australia.
NOT JUST A CHILD’S PLAY CAKE CUTTING. How does one fairly divide goods among several people?
TRUTH, JUSTICE, AND CAKE CUTTING Yiling Chen, John K. Lai, David C. Parkes, Ariel D. Procaccia (Harvard SEAS) 1.
1 Better Scalable Algorithms for Broadcast Scheduling Ravishankar Krishnaswamy Carnegie Mellon University Joint work with Nikhil Bansal and Viswanath Nagarajan.
1 Truthful Mechanism for Facility Allocation: A Characterization and Improvement of Approximation Ratio Pinyan Lu, MSR Asia Yajun Wang, MSR Asia Yuan Zhou,
All Hands Meeting, 2006 Title: Grid Workflow Scheduling in WOSE (Workflow Optimisation Services for e- Science Applications) Authors: Yash Patel, Andrew.
Reciprocal Resource Fairness: Towards Cooperative Multiple-Resource Fair Sharing in IaaS Clouds School of Computer Engineering Nanyang Technological University,
TRUTH, JUSTICE, AND CAKE CUTTING Ariel Procaccia (Harvard SEAS) 1.
© 2008 Pearson Addison Wesley. All rights reserved Review Perfect Competition Market.
Mechanism Design: Online Auction or Packet Scheduling Online auction of a reusable good (packet slots) Agents types: (arrival, departure, value) –Agents.
Distributed Rational Decision Making Sections By Tibor Moldovan.
Complexity of Mechanism Design Vincent Conitzer and Tuomas Sandholm Carnegie Mellon University Computer Science Department.
Competitive Analysis of Incentive Compatible On-Line Auctions Ron Lavi and Noam Nisan SISL/IST, Cal-Tech Hebrew University.
Online Auctions in IaaS Clouds: Welfare and Profit Maximization with Server Costs Xiaoxi Zhang 1, Zhiyi Huang 1, Chuan Wu 1, Zongpeng Li 2, Francis C.M.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
Arbitrage in Combinatorial Exchanges Andrew Gilpin and Tuomas Sandholm Carnegie Mellon University Computer Science Department.
DEXA 2005 Quality-Aware Replication of Multimedia Data Yicheng Tu, Jingfeng Yan and Sunil Prabhakar Department of Computer Sciences, Purdue University.
Multi-Unit Auctions with Budget Limits Shahar Dobzinski, Ron Lavi, and Noam Nisan.
An Online Auction Framework for Dynamic Resource Provisioning in Cloud Computing Weijie Shi*, Linquan Zhang +, Chuan Wu*, Zongpeng Li +, Francis C.M. Lau*
E VALUATION OF F AIRNESS IN ICN X. De Foy, JC. Zuniga, B. Balazinski InterDigital
Mesos A Platform for Fine-Grained Resource Sharing in the Data Center Benjamin Hindman, Andy Konwinski, Matei Zaharia, Ali Ghodsi, Anthony Joseph, Randy.
Scheduling policies for real- time embedded systems.
Dominant Resource Fairness: Fair Allocation of Multiple Resource Types Ali Ghodsi, Matei Zaharia, Benjamin Hindman, Andy Konwinski, Scott Shenker, Ion.
Introduction to Matching Theory E. Maskin Jerusalem Summer School in Economic Theory June 2014.
Chapter 14: Fair Division Part 5 – Defining Fairness.
1 Scheduling The part of the OS that makes the choice of which process to run next is called the scheduler and the algorithm it uses is called the scheduling.
Energy Aware Consolidation for Cloud Computing Srikanaiah, Kansal, Zhao Usenix HotPower 2008.
August 16, 2010 MPREF’10 Dynamic House Allocation Sujit Gujar 1, James Zou 2 and David C. Parkes 2 5 th Multidisciplinary Workshop on Advances in Preference.
1 Job Scheduling for Grid Computing on Metacomputers Keqin Li Proceedings of the 19th IEEE International Parallel and Distributed Procession Symposium.
Guaranteed Smooth Scheduling in Packet Switches Isaac Keslassy (Stanford University), Murali Kodialam, T.V. Lakshman, Dimitri Stiliadis (Bell-Labs)
Towards Economic Fairness for Big Data Processing in Pay-as-you-go Cloud Computing Nanyang Technological University Shanjiang Tang, Bu-Sung Lee, Bingsheng.
Copyright © 2008 Pearson Addison-Wesley. All rights reserved. Chapter 4 Consumer and Firm Behavior: The Work-Leisure Decision and Profit Maximization.
1 Optimization Techniques Constrained Optimization by Linear Programming updated NTU SY-521-N SMU EMIS 5300/7300 Systems Analysis Methods Dr.
A Platform for Fine-Grained Resource Sharing in the Data Center
John Kubiatowicz and Anthony D. Joseph
Negotiating Socially Optimal Allocations of Resources U. Endriss, N. Maudet, F. Sadri, and F. Toni Presented by: Marcus Shea.
Presented by Qifan Pu With many slides from Ali’s NSDI talk Ali Ghodsi, Matei Zaharia, Benjamin Hindman, Andy Konwinski, Scott Shenker, Ion Stoica.
Dominant Resource Fairness: Fair Allocation of Multiple Resource Types Ali Ghodsi, Matei Zaharia, Benjamin Hindman, Andy Konwinski, Scott Shenker, Ion.
Mesos: A Platform for Fine-Grained Resource Sharing in the Data Center NSDI 11’ Benjamin Hindman, Andy Konwinski, Matei Zaharia, Ali Ghodsi, Anthony D.
CPU Scheduling Andy Wang Operating Systems COP 4610 / CGS 5765.
A pie that can’t be cut fairly Walter Stromquist Swarthmore College Fair Division Seminar Dagstuhl, Deutschland June 26, 2007.
Network Layer COMPUTER NETWORKS Networking Standards (Network LAYER)
Hierarchical Scheduling for Diverse Datacenter Workloads
CS 425 / ECE 428 Distributed Systems Fall 2016 Nov 10, 2016
CS 425 / ECE 428 Distributed Systems Fall 2017 Nov 16, 2017
Fair division Lirong Xia Oct 7, 2013.
The story of distributed constraint optimization in LA: Relaxed
Understanding and Exploiting Amazon EC2 Spot Instances
Intro to the Fair Allocation
Andy Wang Operating Systems COP 4610 / CGS 5765
COS 518: Advanced Computer Systems Lecture 14 Michael Freedman
Shanjiang Tang1, Bingsheng He2, Shuhao Zhang2,4, Zhaojie Niu3
Memory Management (1).
Matching and Resource Allocation
Cloud Computing Large-scale Resource Management
General Equilibrium (Social Efficiency)
Chapter 34 Welfare.
COMP755 Advanced Operating Systems
Chapter 34 Welfare Key Concept: Arrow’s impossibility theorem, social welfare functions Limited support of how market preserves fairness.
Satellite Packet Communications A UNIT -V Satellite Packet Communications.
Presentation transcript:

No Agent Left Behind: Dynamic Fair Division of Multiple Resources Ian Kash 1 Ariel Procaccia 2 Nisarg Shah 2 (Speaker) 1 MSR Cambridge 2 Carnegie Mellon University

Allocation of Multiple Resources Without Money Allocating computational resources (CPU, RAM etc.)  Organizational clusters (CMU, MSR, and many others)  Federated clouds  NSF Supercomputing Centers Today: fixed bundles (slots)  Allocated using single resource abstraction Highly inefficient when users have heterogeneous demands 2

DRF Mechanism [Ghodsi et. al., ‘11] Idea: Assume structure on user demands Proportional demands (a.k.a. Leontief preferences) Example:  User wishes to execute multiple instances of a job  Each instance needs (1 unit RAM, 2 units CPU)  Indifferent between (2, 4) and (2, 5)  Happier with (2.1, 4.2) 3 Ghodsi, A., Zaharia, M., Hindman, B., Konwinski, A., Shenker, S., & Stoica, I. “Dominant resource fairness: fair allocation of multiple resource types.”, USENIX NSDI, 2011.

DRF Mechanism 4 Total 1 2 Dominant Resource Fairness = Equalize largest shares (a.k.a. dominant shares)

Problem with DRF Assumes all agents are present from the beginning and all the job information is known upfront Our relaxation to dynamic setting :  Agents arriving over time  Job information of an agent only revealed upon arrival Initiate the study of dynamic fair division  Huge literature on fair division, but mostly static settings  Almost no work on fair division in dynamic environments  Contribution to fair division theory 5

Formal Model Simple yet interesting Agents arrive at different times (steps), do not depart  Total number of agents known in advance Agents’ demands are proportional, revealed at arrival  Each agent requires every resource Dynamic Allocation Mechanism  At every step k  Input: k reported demands  Output: An allocation over the k present agents Irrevocability of resources! 6

PropertyStatic (DRF)Dynamic (Desired) Envy freenessEF: No swaps.EF: No swaps at any step. Sharing incentivesSI: At least as good as equal split. SI: At least as good as equal split to every present agent at all steps. StrategyproofnessSP: No gains by misreporting. SP: No gains at any step by misreporting. Pareto optimalityPO : No “better” allocation. DPO: At any step k, no “better” allocation using k/n share of each resource. Desiderata Properties of DRF and desired dynamic generalizations 7

Impossibility Envy freeness + Dynamic Pareto optimality = Impossible  DPO requires allocating too much  Later agents might envy earlier agents Dropping either of them completely  trivial mechanisms! Relax one at a time… 8

1. Relaxing Envy Freeness Envy impossible to avoid if efficiency (DPO) required  But unfair if an agent is allocated resources while being envied  Dynamic Envy Freeness (DEF)  If agent i envies agent j, then j must have arrived before i did, and must not have been allocated any resources since i arrived Comparison to Forward EF ([Walsh, ’11]) : An agent may only envy agents that arrived him  Forward EF is strictly weaker  Easy to satisfy by dictatorship 9 Walsh, T. "Online cake cutting." Algorithmic Decision Theory, 2011.

Mechanism DynamicDRF  Agent k arrives  Start with (previous) allocation of step k-1  Keep allocating to all agents having the minimum “dominant” (largest) share at the same rate  Until a k/n fraction of at least one resource is allocated (Constrained) Water-filling  dynamic adaptation of DRF Theorem : DynamicDRF satisfies relaxed envy freeness (DEF) along with the other properties (DPO, SI, SP). 10

DynamicDRF illustrated 11 Total (1,ε)(ε,1) (1,ε) agents, 2 resources

2. Relaxing DPO Sometimes total fairness desired Naïve approach: Wait for all the agents to arrive and then do a static envy free and Pareto optimal allocation  Can we allocate more resources early?  Cautious Dynamic Pareto Optimality (CDPO)  In every step, allocate as much as possible while ensuring EF can be achieved in the end irrespective of the future demands. Constrained water-filling mechanism Theorem : CautiousLP satisfies relaxed dynamic Pareto optimality (CDPO) along with the other properties (EF, SI, SP). 12

Experimental Evaluation DynamicDRF and CautiousLP under two natural objectives  Maximize the sum of dominant shares (utilitarian, maxsum)  Maximize the minimum dominant share (egalitarian, maxmin) Comparison with provable lower and upper bounds Data: traces of real workloads on a Google compute cell  7 hours period in 2011, 2 resources (CPU and RAM) 13

Experimental Results 14 Maxsum objective 100 agents Maxmin objective 100 agents

Discussion Allowing zero demands  Trivial mechanisms for SI+DPO+SP no longer work  Unable to settle possibility of SI+DPO+SP in this case Allowing agent departures and revocability of resources  No re-arrivals → same mechanism (water-filling) for freed resources  Departures with re-arrivals  Pareto optimality requires allocating resources freed on a departure  Need to revoke when the departed agent re-arrives 15

Take-Away Simplified model to capture the essence of fair division techniques for resource allocation in dynamic environments Essence: constrained water-filling works well! In the future: develop more realistic models, use this essence to design better dynamic allocation mechanisms 16