• 検索結果がありません。

Hydrodynamic limit of move-to-front rules and LRU caching

N/A
N/A
Protected

Academic year: 2022

シェア "Hydrodynamic limit of move-to-front rules and LRU caching"

Copied!
2
0
0

読み込み中.... (全文を見る)

全文

(1)

1

Hydrodynamic limit of move-to-front rules and LRU caching

Tetsuya Hattori (Keio Univ.)

Kumiko Hattori (Tokyo Metropolitan Univ.) We study a hydrodynamic limit approach to move-to-front rules. Namely, we consider a stochastic process of particles aligned in a line, each of which jumps randomly to the top, and study a large particle number limit. A scaling limit of the joint empirical distribution of jump rate and position satisfies a system of Burgers type partial differential equations. Results are applied to the search cost probabilities for the least-recently-used caching in the data theory of computer sciences.

1. Move-to-front rules. Let N be a positive integer, and SN a set of all permutations of 1,2,· · ·, N, and define a Markov process

X(N)(t) = (X1(N)(t),· · ·, XN(N)(t)), t0,

with the state spaceSN , as follows. For eachi= 1,2, . . . , N, letτi,j(N),j = 1,2,· · ·, be an increasing sequence of random variables (jump times, to be specified shortly), and we define X(N)(t) to be constant in t for t ∈ {τi,j(N) | i = 1,2,· · ·, N, j = 1,2,· · ·}. At a jump time t=τi,j, we define Xi(N)(τi,j) = 1, and for i =i,

Xi(N) (τi,j) =Xi(N) (τi,j 0) +

1, if Xi(N )(τi,j 0)< Xi(N)(τi,j0), 0, if Xi(N )(τi,j 0)> Xi(N)(τi,j0).

For convenience, we put τi,0(N)= 0 (∀i), and we define i,j+1(N) −τi,j(N), j = 0,1,2,· · ·}

to be independent iniand j, identical in distribution for allj, whose distribution is the exponential distribution with parameterwi(N) >0: P[τi,1(N) > t] = exp(−w(N)i t).

Note that as in the standard Poisson process, with probability 1 the jump times are different for different (i, j). This completes the definition of the processX(N).

In the following, we regard X(N) as an N particle system aligned on a single line, with the suffix i in Xi(N)(t) standing for the label of the particle and Xi(N)(t) denoting the position (rank) of the particle i at time t.

2. Hydrodynamic limit. We embed SN R+ and scale by N to consider a particle system in an interval [0,1);Yi(N)(t) := 1

N(Xi(N)(t)1).Note thatyC(N)(t) = 1

N{i|τi,1 t} ∈[0,1) is the boundary of particles which jumped to the top position and those which has not jumped up to time t. In the following we denote by δa the unit distribution concentrated ona, and assumeλ(N) := 1

N

N

i=1

δw(N)

i →λ weakly as N → ∞, for a probability distribution λ.

Proposition 1([1]). yC(N)(t)→yC(t) := 1

0 e−wtλ(dw) (N → ∞, in prob.). 3 Consider a joint empirical distributionµ(N)t = 1

N

N

i=1

δ(w(N)

i ,Yi(N)(t)). Theorem 2([1]).Assume

0 (dw) < and λ({0}) = 0, and assume that the initial distribution µ(N)0 determined by the initial configuration Y(N)(0) = y(N) converges weakly to a distribution µ0 as N → ∞. Then for each t >0, there exists a deterministic distribution µt such that µ(N)t →µt asN → ∞. µt is given by

U(dw, y, t) :=µt(dw,[y,1)) =

λ(dw)e−wt0(y), y < yC(t), U(dw,yˆ(y, t),0)e−wt, y > yC(t),

(2)

2

where, t = t0(y) is the inverse function of y = yC(t), and ˆy(y, t) is the inverse function in y of yC(y, t) = 1

1

y

0 e−wtµ0(dw, dz). 3

The assumption

0 (dw)<∞ is unnecessary for the convergence at y >0.

3. Burgers type equation. We succeeded in provingTheorem 2by guessing the explicit formula for µt correctly, and then by proving the convergence. The explicit formula hence is of importance, which we found as a solution to a following system of PDEs. Consider the case where there are at most countable types of jump rates; λ =

α

ραδfα, wherefα and ρα are positive constants, satisfying

α

ρα = 1.

Proposition 3([2]).Uα(y, t) :=U({fα}, y, t) =µt({fα},[y,1)) is a unique classical time global solution to the following initial value problem:

∂ Uα

∂t (y, t) +

β

fβUβ(y, t)∂ Uα

∂y (y, t) = −fαUα(y, t), (y, t) [0,1)×[0,∞), α = 1,2,· · ·, with boundary conditions Uα(0, t) = ρα, t 0,α = 1,2,· · ·. For each α, the initial data Uα(y,0) = Uα(y), 0 y < 1, are smooth, non-negative, non- decreasing, satisfying

β

fβUβ(0)<∞ and

β

Uβ(y) = 1−y. 3

This system is solved by a standard method of characteristic curves, with explicit formula containing inverse functions such as t0 of the characteristic curveyC. Hence the idea of hydrodynamic limit is of relevance to the results. (Incidentally, the method of characteristic curves gives time local solutions, while the assumptions on initial data satisfies no-shock wave condition, implying time global solution.)

4. Search cost. There is a large number of studies concerning move-to-front rule in the context of data theory in computer sciences. The LRU (least-recently- used) caching as a data allocation algorithm in computer memory or web page browsing is equivalent to move-to-front rule, with a data request corresponding to a particle jumping to the top position. The search cost CN defined as the position of the first requested data just before the request is of interest. See [4] for refer- ences. We have 1

NCN =YQ(N)(N)(t)(t), where Q(N)(t) is the label of the particle which jumped first after timet, to which we can applyTheorem 2to obtain, for example,

Nlim→∞Pt[ 1

NCN(t)> x] =

w µy,t(dw)dy w λ(dw) .

Stationary distribution E[ · ] forN <∞ has naturally been studied since the model’s first appearance in the literature [5]. By having the initial configurationy(N) distribute under E[ · ], we can handle the stationary distributionµ(N) = E[µ(N0 )] for the joint jump rate and position distribution in our framework. Theorem 2then implies, for example, lim

N→∞P[ 1

NCN > x] =

we−wt0(x)λ(dw)

(dw) .

References.

[1] K. Hattori, T. Hattori, Stochastic Processes & Applications119(2009) 966–979.

[2] K. Hattori, T. Hattori, Funkcialaj Ekvacioj (2009), to appear.

[3] K. Hattori, T. Hattori, preprint (2008).

[4] K. Hattori, T. Hattori, preprint (2009).

[1–4] available at http://web.econ.keio.ac.jp/staff/hattori/liamazn.htm. [5] M. L. Tsetlin, Russian Math. Surv. 18(4) (1963) 1–27.

参照

関連したドキュメント

For example, if the issuer chooses to terminate the contract at the first time that S exceeds some point a ∈ 0, K/η, then ηa &lt; K, and the holder will choose the payoff of

All complicated mathematical formulae should be given on separate lines and should not be spread out into the running text.. Never use the $ form of the math enviroment

C˘adariu and Radu applied the fixed point method to the investigation of Cauchy and Jensen functional equations.. In this paper, we will adopt the idea of C˘adariu and Radu to prove

If X, d is a complete metric space and T is a contraction on X, then the conclusion of the Banach- Caccioppoli contraction principle is that the sequence of successive approximations

Our analyses reveal that the estimated cumulative risk of HD symptom onset obtained from the combined data is slightly lower than the risk estimated from the proband data

Abstract: In this paper we develop the semifilter approach to the classical Menger and Hurewicz properties and show that the small cardinal g is a lower bound of the additivity

If a graph N, of nullity one, having x F as the non-zero part of the kernel eigenvector, is obtained, by adding s − 1 independent vertices, whose neighbors are vertices of F, then N

Polarity, Girard’s test from Linear Logic Hypersequent calculus from Fuzzy Logic DM completion from Substructural Logic. to establish uniform cut-elimination for extensions of