Caching Game Dec. 9, 2003 Byung-Gon Chun, Marco Barreno 1 - - PowerPoint PPT Presentation

caching game
SMART_READER_LITE
LIVE PREVIEW

Caching Game Dec. 9, 2003 Byung-Gon Chun, Marco Barreno 1 - - PowerPoint PPT Presentation

Caching Game Dec. 9, 2003 Byung-Gon Chun, Marco Barreno 1 Contents Motivation Game Theory Problem Formulation Theoretical Results Simulation Results Extensions 2 Motivation Server Server Server Server


slide-1
SLIDE 1

1

Caching Game

  • Dec. 9, 2003

Byung-Gon Chun, Marco Barreno

slide-2
SLIDE 2

2

Contents

  • Motivation
  • Game Theory
  • Problem Formulation
  • Theoretical Results
  • Simulation Results
  • Extensions
slide-3
SLIDE 3

3

Motivation

Server Server Server Server

Wide-area file systems, web caches, p2p caches, distributed computation

slide-4
SLIDE 4

4

Game Theory

  • Game

– Players – Strategies S = (S1, S2, …, SN) – Preference relation of S represented by a payoff function (or a cost function)

  • Nash equilibrium

– Meets one deviation property – Pure strategy and mixed strategy equilibrium

  • Quantification of the lack of coordination

– Price of anarchy : C(WNE)/C(SO) – Optimistic price of anarchy : C(BNE)/C(SO)

slide-5
SLIDE 5

5

Caching Model

  • n nodes (servers) (N)
  • m objects (M)
  • distance matrix that models a underlying

network (D)

  • demand matrix (W)
  • placement cost matrix (P)
  • (uncapacitated)
slide-6
SLIDE 6

6

Selfish Caching

  • N: the set of nodes, M: the set of objects
  • Si: the set of objects player i places

S = (S1, S2, …, Sn)

  • Ci: the cost of node i
slide-7
SLIDE 7

7

Cost Model

  • Separability for uncapacitated version

– we can look at individual object placement separately – Nash equilibria of the game is the crossproduct of nash equilibria of single object caching game.

slide-8
SLIDE 8

8

Selfish Caching (Single Object)

  • Si : 1, when replicating the object

0, otherwise

  • Cost of node i
slide-9
SLIDE 9

9

Socially Optimal Caching

  • Optimization of a mini-sum facility location

problem

  • Solution: configuration that minimizes the

total cost

  • Integer programming – NP-hard

) (

1

s c

n i i

=

slide-10
SLIDE 10

10

Major Questions

  • Does a pure strategy Nash equilibrium

exist?

  • What is the price of anarchy in general or

under special distance constraints?

  • What is the price of anarchy under different

demand distribution, underlying physical topology, and placement cost ?

slide-11
SLIDE 11

11

Major Results

  • Pure strategy Nash equilibria exist.
  • The price of anarchy can be bad. It is O(n).

– The distribution of distances is important. – Undersupply (freeriding) problem

  • Constrained distances (unit edge distance)

– For CG, PoA = 1. For star, PoA ≤ 2. – For line, PoA is O(n1/2 ) – For D-dimensional grid, PoA is O(n1-1/(D+1))

  • Simulation results show phase transitions, for

example, when the placement cost exceeds the network diameter.

slide-12
SLIDE 12

12

Existence of Nash Equilibrium

  • Proof (Sketch)
slide-13
SLIDE 13

13

Price of Anarchy – Basic Results

slide-14
SLIDE 14

14

Inefficiency of a Nash Equilibrium

n/2 nodes n/2 nodes α-1 C(WNE) = α + (α-1)n/2 C(SO) = 2α PoA =

α α α 2 2 / ) 1 ( n − +

slide-15
SLIDE 15

15

Special Network Topology

  • For CG, PoA = 1
  • For star, PoA ≤ 2
slide-16
SLIDE 16

16

Special Network Topology

  • For line, PoA = O(n1/2)
slide-17
SLIDE 17

17

Simulation Methodology

  • Game simulations to compute Nash equilibria
  • Integer programming to compute social optima
  • Underlying topology – transit-stub (1000 physical

nodes), power-law (1000 physical nodes), random graph, line, and tree

  • Demand distribution – Bernoulli(p)
  • Different placement cost and read-write ratio
  • Different number of servers
  • Metrics – PoA, Latency, Number of replicas
slide-18
SLIDE 18

18

Varying Placement Cost

(Line topology, n = 10)

slide-19
SLIDE 19

19

Varying Demand Distribution

(Transit-stub topology, n = 20)

slide-20
SLIDE 20

20

Different Physical Topology

(Power-law topology (Barabasi-Albert model), n = 20)

slide-21
SLIDE 21

21

Varying Read-write Ratio

(Transit-stub topology, n = 20)

Percentage of writes

slide-22
SLIDE 22

22

Questions?

slide-23
SLIDE 23

23

Different Physical Topology

(Transit-stub topology, n = 20)

slide-24
SLIDE 24

24

Extensions

  • Congestion

– d’ = d + β (#access) → PoA ≤ α/β

  • Payment

– Access model – Store model [Kamalika Chaudhuri/Hoeteck Wee] => Better price of anarchy from cost sharing?

slide-25
SLIDE 25

25

Ongoing and future work

  • Theoretical analysis under

– Different distance constraints – Heterogeneous placement cost – Capacitated version – Demand random variables

  • Large-scale simulations with realistic

workload traces

slide-26
SLIDE 26

26

Related Work

  • Nash Equilibria in Competitive Societies, with

Applications to Facility Location, Traffic Routing and Auctions [Vetta 02]

  • Cooperative Facility Location Games

[Goemans/Skutella 00]

  • Strategyproof Cost-sharing Mechanisms for Set

Cover and Facility Location Games [Devanur/Mihail/Vazirani 03]

  • Strategy Proof Mechanisms via Primal-dual

Algorithms [Pal/Tardos 03]