Mechanism Design for Real-Time Scheduling Carl Bussema III 18 April 2005 Based on "Mechanism Design for Real-Time Scheduling" by Ryan Porter.

Slides:



Advertisements
Similar presentations
Real-Time Competitive Environments: Truthful Mechanisms for Allocating a Single Processor to Sporadic Tasks Anwar Mohammadi, Nathan Fisher, and Daniel.
Advertisements

6.896: Topics in Algorithmic Game Theory Lecture 20 Yang Cai.
Yang Cai Oct 01, An overview of today’s class Myerson’s Auction Recap Challenge of Multi-Dimensional Settings Unit-Demand Pricing.
Approximating optimal combinatorial auctions for complements using restricted welfare maximization Pingzhong Tang and Tuomas Sandholm Computer Science.
Seminar in Auctions and Mechanism Design Based on J. Hartline’s book: Approximation in Economic Design Presented by: Miki Dimenshtein & Noga Levy.
CSE 522 Real-Time Scheduling (4)
Approximation, Chance and Networks Lecture Notes BISS 2005, Bertinoro March Alessandro Panconesi University La Sapienza of Rome.
Prompt Mechanisms for Online Auctions Speaker: Shahar Dobzinski Joint work with Richard Cole and Lisa Fleischer.
An Approximate Truthful Mechanism for Combinatorial Auctions An Internet Mathematics paper by Aaron Archer, Christos Papadimitriou, Kunal Talwar and Éva.
Bidding Strategy and Auction Design Josh Ruffin, Dennis Langer, Kevin Hyland and Emmet Ferriter.
Multi-item auctions with identical items limited supply: M items (M smaller than number of bidders, n). Three possible bidder types: –Unit-demand bidders.
What I Really Wanted To Know About Combinatorial Auctions Arne Andersson Trade Extensions Uppsala University.
On Cheating in Sealed-Bid Auctions Ryan Porter Yoav Shoham Computer Science Department Stanford University.
Auction Theory Class 3 – optimal auctions 1. Optimal auctions Usually the term optimal auctions stands for revenue maximization. What is maximal revenue?
A Sufficient Condition for Truthfulness with Single Parameter Agents Michael Zuckerman, Hebrew University 2006 Based on paper by Nir Andelman and Yishay.
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Bounds on Code Length Theorem: Let l ∗ 1, l ∗ 2,..., l ∗ m be optimal codeword lengths for a source distribution p and a D-ary alphabet, and let L ∗ be.
Bundling Equilibrium in Combinatorial Auctions Written by: Presented by: Ron Holzman Rica Gonen Noa Kfir-Dahav Dov Monderer Moshe Tennenholtz.
Mechanism Design and the VCG mechanism The concept of a “mechanism”. A general (abstract) solution for welfare maximization: the VCG mechanism. –This is.
Resource Allocation, Deadlock and Banker’s Algorithm Supplementary Notes Dr. R. D. Kent Last modified: Dec. 11, 2006.
1 Ecole Polytechnque, Nov 7, 2007 Scheduling Unit Jobs to Maximize Throughput Jobs:  all have processing time (length) = 1  release time r j  deadline.
Multicast Networks Profit Maximization and Strategyproofness David Kitchin, Amitabh Sinha Shuchi Chawla, Uday Rajan, Ramamoorthi Ravi ALADDIN Carnegie.
Frugal Path Mechanisms by Aaron Archer and Eva Tardos Presented by Ron Lavi at the seminar: “Topics on the border of CS, Game theory, and Economics” CS.
Mechanism Design: Online Auction or Packet Scheduling Online auction of a reusable good (packet slots) Agents types: (arrival, departure, value) –Agents.
Competitive Analysis of Incentive Compatible On-Line Auctions Ron Lavi and Noam Nisan SISL/IST, Cal-Tech Hebrew University.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Ch 7: Deadlock Dr. Mohamed Hefeeda.
Topics in the border of economics and computation seminar Presented by: Avinatan Hasidim Yair Weinberger Gabrielle Demange, David gale, Matilda Sotomayor.
APPLICATIONS OF DIFFERENTIATION 4. In Sections 2.2 and 2.4, we investigated infinite limits and vertical asymptotes.  There, we let x approach a number.
CHP-4 QUEUE.
Auction Seminar Optimal Mechanism Presentation by: Alon Resler Supervised by: Amos Fiat.
Online Ascending Auctions for Gradually Expiring Items Ron Lavi and Noam Nisan SISL/IST, Caltech Hebrew University.
APPLICATIONS OF DIFFERENTIATION 4. A polynomial behaves near infinity as its term of highest degree. The polynomial behaves like the polynomial Near infinity.
1 Inference Rules and Proofs (Z); Program Specification and Verification Inference Rules and Proofs (Z); Program Specification and Verification.
1 Deterministic Auctions and (In)Competitiveness Proof sketch: Show that for any 1  m  n there exists a bid vector b such that Theorem: Let A f be any.
Auction Theory תכנון מכרזים ומכירות פומביות Topic 7 – VCG mechanisms 1.
By: Amir Ronen, Department of CS Stanford University Presented By: Oren Mizrahi Matan Protter Issues on border of economics & computation, 2002.
Scheduling policies for real- time embedded systems.
The Integers. The Division Algorithms A high-school question: Compute 58/17. We can write 58 as 58 = 3 (17) + 7 This forms illustrates the answer: “3.
Market Design and Analysis Lecture 5 Lecturer: Ning Chen ( 陈宁 )
Advanced Topics in Propositional Logic Chapter 17 Language, Proof and Logic.
Topic 2: Designing the “optimal auction” Reminder of previous classes: Discussed 1st price and 2nd price auctions. Found equilibrium strategies. Saw that.
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.
3.1 : Resource Management Part2 :Processor Management.
Competitive Queue Policies for Differentiated Services Seminar in Packet Networks1 Competitive Queue Policies for Differentiated Services William.
Chapter 5 Parameter estimation. What is sample inference? Distinguish between managerial & financial accounting. Understand how managers can use accounting.
Automated Mechanism Design Tuomas Sandholm Presented by Dimitri Mostinski November 17, 2004.
Real Time Operating Systems Schedulability - Part 2 Course originally developed by Maj Ron Smith 12/20/2015Dr Alain Beaulieu1.
6.853: Topics in Algorithmic Game Theory Fall 2011 Constantinos Daskalakis Lecture 22.
Anselm’s “1st” ontological argument Something than which nothing greater can be thought of cannot exist only as an idea in the mind because, in addition.
CSCI1600: Embedded and Real Time Software Lecture 23: Real Time Scheduling I Steven Reiss, Fall 2015.
1 Chapter 5-1 Greedy Algorithms Slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved.
Algorithmic Mechanism Design Shuchi Chawla 11/7/2001.
5 INTEGRALS.
Memory Management OS Fazal Rehman Shamil. swapping Swapping concept comes in terms of process scheduling. Swapping is basically implemented by Medium.
CS 361 – Chapter 10 “Greedy algorithms” It’s a strategy of solving some problems –Need to make a series of choices –Each choice is made to maximize current.
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Approximation Algorithms based on linear programming.
 This will explain how consumers allocate their income over many goods.  This looks at individual’s decision making when faced with limited income and.
Process Scheduling. Scheduling Strategies Scheduling strategies can broadly fall into two categories  Co-operative scheduling is where the currently.
Lecturer 5: Process Scheduling Process Scheduling  Criteria & Objectives Types of Scheduling  Long term  Medium term  Short term CPU Scheduling Algorithms.
False-name Bids “The effect of false-name bids in combinatorial
CprE 458/558: Real-Time Systems
Batch Scheduling Algorithms
Chapter 6: CPU Scheduling
Process Scheduling B.Ramamurthy 2/23/2019.
Process Scheduling B.Ramamurthy 2/23/2019.
Process Scheduling B.Ramamurthy 4/11/2019.
Process Scheduling B.Ramamurthy 4/7/2019.
The End Of The Line For Static Cyclic Scheduling?
Auction Theory תכנון מכרזים ומכירות פומביות
Presentation transcript:

Mechanism Design for Real-Time Scheduling Carl Bussema III 18 April 2005 Based on "Mechanism Design for Real-Time Scheduling" by Ryan Porter

Teaser Definition of problem Previous results Designing a mechanism Restricted cases Conclusions and questions

Clueless: Problem Definition I Online real-time scheduling (uniprocessor) Jobs released at various times, no knowledge of upcoming jobs Jobs released at various times, no knowledge of upcoming jobs Goal: complete highest value of jobs before their deadlines Goal: complete highest value of jobs before their deadlines Zero value if job not complete by deadline Compare results to optimal performance if all jobs known from start Compare results to optimal performance if all jobs known from start Formally define a job to have a release time r, a length ℓ, a value v, and a deadline d Formally define a job to have a release time r, a length ℓ, a value v, and a deadline d

Clueless: Problem Definition II Mechanism design Each jobs released to a different self- interested agent Each jobs released to a different self- interested agent Agent gets value v if its job finishes before d Agent gets value v if its job finishes before d Agent submits job with some type (r′, ℓ′, v′, d′) Agent submits job with some type (r′, ℓ′, v′, d′) Scale values as needed so no job has v < ℓ Server decides schedule from what it's told Server decides schedule from what it's told Server charges agents some price p Server charges agents some price p Goal: Design competitive mechanism with dominant strategy Goal: Design competitive mechanism with dominant strategy

A Different World: Motivation Problem traditionally considered in non- strategic setting Jobs released directly to server; no chance to lie; no payments required Jobs released directly to server; no chance to lie; no payments required Strategic setting makes more sense with modern environments like grid computing RT setting allows model to be used for mission-critical applications

The Others: Previous results Most previous work focused on non- strategic settings Express competitive ratios based on k =  max /  min, where  is v/ℓ for any job For k = 1, a 4-competitive algorithm exists For k = 1, a 4-competitive algorithm exists For k ≥ 1, a (1+√k) 2 - competitive algorithm exists For k ≥ 1, a (1+√k) 2 - competitive algorithm exists Both bounds also shown tight for deterministic algorithms Both bounds also shown tight for deterministic algorithms

Step by Step: Designing a Mechanism Agents being self-motivated want to profit Encourage participation: Non-participants get 0 utility Non-participants get 0 utility Participants get at least 0 utility Participants get at least 0 utility System must be designed to handle this System must be designed to handle this Competitive performance easier if truthfulness ensured Design system such that lying can't increase utility and may decrease it Design system such that lying can't increase utility and may decrease it

CSI * : An example (I) *CSI = Conflicting Schedule Illustrated Consider jobs in the table (ℓ = v  k = 1) Deciding to preempt: Use some metric to assign priority Use some metric to assign priority This example: find expected loss based on “what could be done by new job’s deadline” This example: find expected loss based on “what could be done by new job’s deadline” Don't preempt if expected loss under desired ratio Don't preempt if expected loss under desired ratio This example, 2 waits for 1 and is preempted by 3 This example, 2 waits for 1 and is preempted by 3 Job riririri didididi ℓiℓiℓiℓi vivivivi

CSI: Example revisited (II) If instead, job 2 lies about its deadline, an algorithm might preempt job 1 for it, so 2 would finish before 3 arrives Job riririri didididi lililili vivivivi

The Practice: Porter's Mechanism At every time t, run the job i with highest priority = v i ′ + √k (e i (t))  min e i (t) is elapsed processing time for job i by t e i (t) is elapsed processing time for job i by tNotice: Priority based on reported value and elapsed processing time (k and  min are independent of any single job) Priority based on reported value and elapsed processing time (k and  min are independent of any single job) Priority of a job only increases when active Priority of a job only increases when active Requires a priori knowledge of k and  min Requires a priori knowledge of k and  min

The Price is Right: Payment Scheme Agents whose jobs are completed by deadlines must pay server the minimum value that would have completed their job, given everything else all agents reported This is similar to a second-price auction This is similar to a second-price auction These agents then have utility = v – p These agents then have utility = v – p Agents aware of this charging scheme and will abide by it (could demand v up front and use refund) Agents aware of this charging scheme and will abide by it (could demand v up front and use refund) Other agents pay nothing (therefore have zero utility) Thus we satisfy Individual Rationality: agents will voluntarily participate because it can only help

To Tell the Truth: Preventing Lies—Overview Agents could lie about 4 things: Release time Release time Prohibit: claiming r′ < r Length Length Prohibit: claiming ℓ´ < ℓ Value Value Deadline Deadline Necessary to show under- or over-stating any of these is not beneficial

To Tell the Truth: Preventing Lies to Improve Because of 2 nd -price auction, lying about value can't help Claiming an early release time or a shorter length are prohibited Claiming a later deadline could possibly help We avoid this by "holding" jobs on the server until reported deadline, only then return to agent We avoid this by "holding" jobs on the server until reported deadline, only then return to agent Thus agents will not get their jobs by their real deadlines, and thus get no utility Thus agents will not get their jobs by their real deadlines, and thus get no utility More interesting is the problem of lying to worsen

Law & Order: Proof of Truthfulness – r i (I) Ground rule: can't declare r′ < r Assume for some reported (r i ′, ℓ i ′, v i ′, d i ′) job i finishes before d, but not under (r i, ℓ i ′, v i ′, d i ′) ℓ′ ≥ ℓ by ground rules, d′ < d by rationality ℓ′ ≥ ℓ by ground rules, d′ < d by rationality We will show this is impossible

Law & Order: Proof of Truthfulness – r i (II) Consider case with truthful r: Let t p be the first time i is preempted; t a be time I abandoned (not enough time left) Let t p be the first time i is preempted; t a be time I abandoned (not enough time left) Claim: all jobs that execute during (t p,t a ] either arrive during that same time and have higher priority at their release than i or are I If a job x was released before t p, clearly i has priority over x, because at some point before t p, i ran instead of x If a job x was released before t p, clearly i has priority over x, because at some point before t p, i ran instead of x If a job z is released during the interval, then by definition it has lower priority at its release If a job z is released during the interval, then by definition it has lower priority at its release Inactive jobs do not increase in priority, so the claim holds Inactive jobs do not increase in priority, so the claim holds

Law & Order: Proof of Truthfulness – r i (III) Now consider case where agent declares r i ′ > r i S must change during (t p, t a ] vs. when r i declared S must change during (t p, t a ] vs. when r i declared i can't run longer outside this range when r i ′ > r i The change could be any job for another, not necessarily i Call t c first time change occurs, y c job running then under original S. How can any job have higher priority at t c than y c under S′? Call t c first time change occurs, y c job running then under original S. How can any job have higher priority at t c than y c under S′? Before t p the job ran longer under S′ (had to replace i)—won’t increase priority enough to outweigh a job that beats I at t p Before t p the job ran longer under S′ (had to replace i)—won’t increase priority enough to outweigh a job that beats I at t p During (t p,t c ) the job ran longer under S′ (again has to replace or be i). Contradicts “first time change occurs.” During (t p,t c ) the job ran longer under S′ (again has to replace or be i). Contradicts “first time change occurs.” Since no job can have higher priority than y c at t c under S′ than under S, no change can occur, and a later release time can’t help Since no job can have higher priority than y c at t c under S′ than under S, no change can occur, and a later release time can’t help

Law & Order: Proof of Truthfulness – ℓ i & d i Recall: ℓ′ d i unhelpful Only effect these have is on defining set of "available" jobs Incomplete: those with elapsed time < ℓ′ Incomplete: those with elapsed time < ℓ′ Abandoned: elapsed time + time to d′ ≤ ℓ′ Abandoned: elapsed time + time to d′ ≤ ℓ′ If job completes with ℓ′ and d′, the 1 st condition must become false before 2 nd becomes true If job completes with ℓ′ and d′, the 1 st condition must become false before 2 nd becomes true Declaring earlier release and later deadline will only make "incomplete" false earlier and "abandoned" false later, so it will not help to lie about these.

NUMB3RS: Competitive Ratio Proofsketch (recall k=  max /  min,  =v/ℓ): List only jobs completed by schedule and divide time into intervals (t f open,t f close ]: List only jobs completed by schedule and divide time into intervals (t f open,t f close ]: t f close = time when job f finished; t f open = t f-1 close (0 for t 1 ) Prove no interval length ≥ (1+1/√k)v f (induction) Prove no interval length ≥ (1+1/√k)v f (induction) Prove max OPT can get per interval for jobs we abandoned is (1+√k)v f (we wouldn't have abandoned them) Prove max OPT can get per interval for jobs we abandoned is (1+√k)v f (we wouldn't have abandoned them) Give OPT per interval: Give OPT per interval: k times interval length (almost entire interval on max. dense job) + bonus for doing some job we abandoned (short, dense) + v f (it might finish this later) Add results: (t f close - t f open )k + v f + (1+ √k)v f ≤ ((1+ √k)² +1)v f Add results: (t f close - t f open )k + v f + (1+ √k)v f ≤ ((1+ √k)² +1)v f v f is what we achieve each interval; so ratio is O((1+ √k)² +1) v f is what we achieve each interval; so ratio is O((1+ √k)² +1)

The Outer Limits: Special case If k=1 and agents can't lie about length, payments will no longer be required to keep agents honest Proof mirrors above, only simpler Same as above, achieves 5-competitive ratio, but has advantage of not needing payments

Happy Days: Conclusion Porter also proves his bound is a lower bound for any deterministic online mechanism with non-negative payments RT grid computing increasingly popular Need for competitive scheduling algorithms Need for competitive scheduling algorithms Insights here show strategic setting not significantly worse than non-strategic

Unsolved Mysteries Extend results to multiprocessor environment? Apply strategic concepts to bidding for CPU time in resource augmentation environment (online algorithm gets faster CPU(s) than OPT)? Find better bound with randomized mechanisms? Would knowing exact range of densities instead of just  min and k lead to stronger bound? Your questions?

The A-Team: Reference [1] Porter, Ryan. Mechanism Design for Real-Time Scheduling. In Proc. of the ACM Conference on Electronic Commerce (EC'04), 2004