Dynamic Service Placement in Geo-Distributed Clouds
3.6 Competition Among Multiple Providers
3.6.3 Game Analysis
In Game theory, the outcome of a game is captured by the concept of Nash equilibrium (NE), which is an equilibrium state where no player can selfishly improve its cost without violating constraints. We now characterize the Nash equilibrium (NE) of the resource competition game. The NE refers to the stable outcome of the competition, where no service provider can improve its cost by unilaterally changing its server allocation over time. Formally, the resource competition game can be represented as a N -player dynamic non-cooperative game Ξ. Notice that as our controller relies on the MPC framework for dynamic resource allocation, we need to introduce a new version of NE for control strategies using the MPC framework. We first start with the following general definitions:
Definition 1 (η-Nash Equilibrium [27]). Let Iki be the information set of a service provider i at time k under a given information structure ηi, and Γi is the set of all admissible policies of service provider i under ηi. The policy {γi∗, i ∈ N } is an η−Nash equilibrium of the game Ξ, where ui = γi∗(Iki) and η = {ηi, i ∈ N } if Ji(γi∗, γ−i∗) ≤ Ji(γi, γ−i∗), for all admissible policies γi ∈ Γi and for all i ∈ N , where γ−i∗= {γj : j 6= i, j ∈ N }.
Definition 1 provides a general description of NE under a given information structure (IS) ηi. The dynamic game Ξ can admit different NEs under different information struc-tures η. Typical information strucstruc-tures are, for example, open-loop IS, where the policy is only dependent on the initial conditions, and the perfect-state feedback IS, where the policy depends on the perfect measurement of the system state. The IS under MPC algo-rithms in Algorithm 1 can be deemed a special mixture between open-loop IS and feedback IS since at each stage each service provider computes within a window in an open-loop manner but the initial condition of the computation is the current state known to service providers. With this special IS, we can define NE under MPC-type computations for our resource competition game.
Definition 2 (W-MPC Nash Equilibrium). Let Wi be the prediction window of service provider i and every service provider adopts MPC as outlined in Algorithm 1. The dynamic non-cooperative game Ξ admits W−MPC Nash Equilibrium, W = {Wi, i ∈ N }, if the sequences ui∗ := {ui∗k, 0 ≤ k ≤ K} obtained under MPC algorithms satisfy Ji(ui∗, u−i∗) ≤ Ji(ui, u−i∗), for all admissible sequences ui ∈ Ui and for all i ∈ N , where Ui is the set of admissible control sequences under MPC algorithms, and u−i∗ = {uj, j 6= i, j ∈ N }.
Note that NE solutions may not be unique, and hence we let U∗ to denote the set of NE solutions u∗ := {ui, u−i} that satisfy Definition 2. The W−MPC Nash equilibrium
{ui∗, i ∈ N } can be used to compare with the optimal MPC solution {ui◦, i ∈ N } to the solution of the following Social Welfare Problem (SWP):
min
{u1,...,uN}
X
i∈N
Ji(u1, ..., uN)
subject to equation (3.21) and (3.22). The NE is defined as:
Ji(u∗) = min
ui∈RLV Ji(ui, u−i∗) ∀i ∈ N
The price of anarchy (PoA) ρMPC and the price of stability (PoS) ξMPC of the dynamic non-cooperative game Ξ under centralized MPC Algorithm 1 are defined by
ρMPC = sup
where {ui◦, i ∈ N } is the optimal solution to (SWP) obtained by the MPC algorithm 2, and {ui∗, i ∈ N } is the W−MPC Nash equilibrium of the game Ξ. The metrics ξMPC and ρMPC are measures of the best-case and worse-case efficiency loss of the game, respectively.
It is easy to observe that both ρMPC and ξMPC are always greater or equal to 1.
Theorem 1. Assume that the prediction horizon of each service provider i, i ∈ N , is the same, i.e., Wi = W and W is also the prediction window used for (SWP). Then, the price of stability ξMPC of the game Ξ is equal to 1, i.e., there exists a NE solution that yields no efficiency loss under the common knowledge of the capacity constraint.
Proof. Since each service provider uses window size W in the MPC algorithm, at time k each service provider i solves the following problem:
{u0,..,uminW −1} JWi =
Since xik = xi0+Pk−1
Each service provider faces an internal constraint shown above. We can associate each internal constraint with Lagrange multipliers µi, i ∈ N and the coupled constraint with ν.
The Lagrangian of service provider i is given by
Li = Ji− µi(x0+
k−1
X
k0=0
uk0) (3.24)
On the other hand, the SWP problem can be captured by the following problem at every time k:
By associating Lagrangian multipliers ˜µi, i ∈ N and with constraints (3.26), we have the Lagrangian of the social welfare problem
L =X strictly convex and separable in i, the W −horizon social welfare problem admits a unique solution, which also corresponds to the solution of each convex subproblem associated with Li. Hence, the social optimal solution is a NE at every k and the result follows.
Theorem 2. The price of anarchy ρMPC of the game Ξ is unbounded.
Figure 3.4: Example illustrating the PoA of the game
Proof. We provide an example to illustrate that the price of anarchy is unbounded even when demand of each service provider remains static over time. Consider the scenario illustrated by Figure3.4: there are two data centers serving demand from a single location v. The data centers have capacities C1 = 100 and C2 = 200 respectively. The distance to each data center are d1v = c, d2v= c respectively, where c and are constants. Both data centers lease resources at the same unit price p, i.e., p1k = p2k = p ∀k ≥ 0. Furthermore, There are two service providers in the game. Their SLAs are ¯d1 = (1 + + 1)c and d¯2 = (K + 1 + +1)c, respectively, where K ≥ 1 is a constant. For both service providers, a single server can process requests at rate µ = 1c. The demand from location v for both service providers are D1 = c(1+)100 , D2 = 100
c(1+K+11 ). More over, assume all servers have identical size and πi(P
i∈N sixik) = ζ(P
i∈Nsixik− C)+ , where ζ ∈ R+ is a large constant.
Now, consider the following allocation for both service providers: service provider 2 serves all its demands using capacities in DC 1, and service provider 1 serves all its demands from DC2. It is easy to see this is a NE, as there is no free capacity in DC 1 for service provider 1. The total cost of this NE is JN E1=P
i∈NJi = (1 +1)100p. Now consider another NE, where service provider 1 uses all the capacities in DC 1, and service provider 2 serves all its demands from DC 2. The total cost of this NE is JN E2= 100(1 + 1+
1 K+
1+K+11 )p. As → 0, we have ρMPC ≥ lim→0 JN E1
JN E2 = lim→0 1+1 1+1+ 12K
= ∞.