Caching in Information-Centric Networking

18
Caching in Information-Centric Networking Sen Wang, Jun Bi, Zhaogeng Li, Xu Yang, Jianping Wu Network Research Center, Tsinghua University AsiaFI 2011 Summer School Aug 8th, 2011

description

Caching in Information-Centric Networking. Sen Wang, Jun Bi, Zhaogeng Li, Xu Yang, Jianping Wu Network Research Center, Tsinghua University AsiaFI 2011 Summer School Aug 8th, 2011. Introduction. ICN is becoming an important direction of the Future Internet Architecture research - PowerPoint PPT Presentation

Transcript of Caching in Information-Centric Networking

Page 1: Caching in Information-Centric Networking

Caching in Information-Centric Networking

Sen Wang, Jun Bi, Zhaogeng Li, Xu Yang, Jianping WuNetwork Research Center, Tsinghua University

AsiaFI 2011 Summer SchoolAug 8th, 2011

Page 2: Caching in Information-Centric Networking

Introduction

• ICN is becoming an important direction of the Future Internet Architecture research– PSIRP, NetInf, PURSUIT, CCN, DONA and NDN.

• In-network caching is considered as one of the most significant properties of ICN

• But so far, cache policy for ICN is still explored little

Page 3: Caching in Information-Centric Networking

Basic Communication and Caching Paradiam

• Requests are sent to original content objects by name routing

• Any router along the routing path has the content object in cache can respond to the request

• While forwarding a content, an intermediate router can choose to cache the content according to its own caching policy.

Page 4: Caching in Information-Centric Networking

Problem Statement

• Consider the static case• Given an ICN network

– the request rate from each router to each content– the storage capacitiy of each router– a set of initial contents and an assignment of resident

routers of these contents • Optimizing Objective

– find a feasible assignment of caching copies of each content to routers in order to minimize the overall resource comsumption of the network.

Page 5: Caching in Information-Centric Networking

MILP Formulation

• Objective Function: minimizing the overall average hops

• Capacity Constraints

• Introduce extra variables to linearize the objective fuction:

– Objective Function :

Page 6: Caching in Information-Centric Networking

Theoretical Analysis• Theorem 1: If an assignment A is among the

optimal cache assignments, it must have the property that any content cached in node n, its request rate is not smaller than that of any content cached in nodes which reside in the subtree rooted at node n.

• Algorithm 1 greedily caches the contents with maximum request rate from the root node of the spanning tree to the leaf nodes– The resulting content assignment follows the

Theorem 1– But not optimal

c f

b

a d

e

g

Page 7: Caching in Information-Centric Networking

Cache Policy

• Statistically Perfect-LFU can can result in the same caching assignment as the greedy algorithm generates

• we expect that in practice the Perfect-LFU is a relatively good sub-optimal caching policy intuitively from the Theorem 1

• Improving Perfect-LFU by taking into account the distance– Adding an additional field HopNum to the ICN protocol– Named by LB(Least Benefit)

Page 8: Caching in Information-Centric Networking

Intelligent Forwarding• With the ability of caching more

intelligent forwarding should be endowed in ICN.

• A bit more intelligent forwarding scheme inspired by P2P forwarding– Forwarding with Shallow Flooding (FSF

for short).• When a request is received by a node,

the request will be flood to all its other interfaces with a specific flooding depth

c f

b

a d

e

g

Forwarding with One-step Flooding

Page 9: Caching in Information-Centric Networking

EVALUATION

• Traffic Model for Evaluation– the Zipf–Mandelbrot (Also known as the Pareto-

Zipf) distribution as the traffic model for simulation

– The two parameters and q in the equation above are the shape parameter and shift parameter respectively

– is the normalizing constant.

Page 10: Caching in Information-Centric Networking

Evaluation with Simple Linear Topology• Scenario of single content source:

– One requester, namely node 0– One content source, namely node 11

0 1 2 3 4 5 6 7 8 9 10 11

Simple Linear Evaluating Topology

0 1 2 3 4 5 6 7 8 9 10 110.0

0.1

0.2

0.3

0.4

Prop

ortio

n of

all

the

requ

ests

Hops to Get Content items

PLB LRU Random ILFU ILB PLFU OPTIMAL

Page 11: Caching in Information-Centric Networking

Evaluation with Simple Linear Topology

• We studied effects of the following three factors on the proportion of cache miss and average hops.– cache size – parameters of request pattern namely q and α

27.5 55.0 82.5 110.00.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

Prop

ortio

n of

Cac

he M

iss

Cache Size

PLB LRU Random ILFU ILB PLFU OPTIMAL

27.5 55.0 82.5 110.00

1

2

3

4

5

6

7

8

9

10

11

Ave

rage

Hop

s

Cache Size

PLB LRU Random ILFU ILB PLFU OPTIMAL

0.0 0.7 1.40

1

2

3

4

5

6

7

8

9

10

11

Ave

rage

Hop

s

Value of q

PLB LRU Random ILFU ILB PLFU OPTIMAL

0.0 0.7 1.40.0

0.2

0.4

0.6

0.8

1.0

Prop

ortio

n of

Cac

he M

iss

Values of q

PLB LRU Random ILFU ILB PLFU OPTIMAL

0.5 0.6 0.7 0.8 0.90.0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

1.0

Prop

ortio

n of

Cac

he M

iss

Values of α

PLB LRU Random ILFU ILB PLFU OPTIMAL

0.5 0.6 0.7 0.8 0.90

1

2

3

4

5

6

7

8

9

10

11

Ave

rage

hop

sValues of α

PLB LRU Random ILFU ILB PLFU OPTIMAL

Effects of Cache Size Effects of q Effects of α

Page 12: Caching in Information-Centric Networking

Evaluation with Simple Linear Topology

• Scenario of multiple requesters and content sources– All the nodes can generate requests with the same request rate– The content objects are randomly distributed

• The InCache-LB gains 44.2% reduction in average hops compared to that in the case of no cache and slightly higher than InCache-LFU by 2.9%.

• The Impact of topology scale by increasing the node number from 12 to 24– The the reduction percentage of average hops arises by about 6.6%.

0.5 0.6 0.7 0.8 0.90

1

2

3

4

5

6

Ave

rage

Hop

s

Values of α

LRU Random ILFU ILB NO

27.5 55.0 82.5 110.00

1

2

3

4

5

6

Ave

rage

Hop

s

Cache Sizes

LRU Random ILFU ILB NO

12 18 240

2

4

6

8

10

12

Ave

rage

Hop

s

Node Number

LRU Random ILFU ILB NO

Simulation results for multiple requesters

(a) (b) (c)

Page 13: Caching in Information-Centric Networking

Evaluation with ISP Topology• A series of simulations using practical ISP topology is conducted to evaluate cache policies

– PoP topology of ISP with AS No. 1221• The effect of parameter α and cache size.

– With α and cache size to be fixed to 0.7 and 55% respectively, the InCache-LB gains 40.3% reduction in average hops compared to that in the case of no cache

– Almost no difference with InCache-LFU

0.5 0.6 0.7 0.8 0.90.0

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

Ave

rage

Hop

s

Values of α

LRU Random ILFU ILB NO

55 110 165 2200.0

0.5

1.0

1.5

2.0

2.5

3.0

3.5

4.0

4.5

5.0

Ave

rage

Hop

s

Cache Sizes

LRU Random ILFU ILB NO

Effects of Cache SizeEffects of α

Page 14: Caching in Information-Centric Networking

Evaluation with ISP Topology• Study the effect of different ISP topology

– the PoP topology of another ISP with AS No. 1239– 78 nodes and 84 edges, larger that AS 1221 with 44 nodes and 44 edges

• Different topologies make result in almost no difference in average hop reductions, which are 40.3% and 41.7% for AS 1221 and AS 1239 respectively with the cache policy of InCache-LB.

AS 1239 AS 12210

1

2

3

4

5

Ave

rage

Hop

s

AS No.

LRU Random ILFU ILB NO

Effects of topology

Page 15: Caching in Information-Centric Networking

Evaluation with ISP Topology• Study the effect of heterogeneous request rate among nodes.

– In former simulation, each node uses the same mean value of request intervals– The request rates of nodes range from 10 per second to 1 in this simulation

• In the setting of heterogeneous request rates, more average hops can be achieved,– Arising from 49.9% to 57.3%.

homo-rate hetero-rate0

1

2

3

4

5

Ave

rage

Hop

s

α value

LRU Random ILFU ILB NO

Effects of request way

Page 16: Caching in Information-Centric Networking

Evaluation for Intelligent Forwarding

• Evalute the proposed forwarding scheme, namely FSF, with different cache policies• Two series of simulations were conducted

– A 6 6 mesh topology⨉– The PoP topology of AS 1221

• The FSF can furture decrease the average hops by 6.3% with 2 hops flooding for the InCache-LB

• InCache-LB is better than InCache-LFU obviously while the flooding hops increasing.

0 1 20

1

2

3

4

5

Ave

rage

Hop

s

Flood Hops

NoCache LRU ILB ILFU Random

0 1 21

2

3

4

Ave

rage

Hop

s

Flood Hops

NoCache LRU ILB ILFU Random

6 6 mesh topology⨉ The PoP topology of AS 1221

Page 17: Caching in Information-Centric Networking

Conclusion • The in-network caching problem of ICN can be formulated into

Mixed-Integer Linear Programming problem.• Via studying the properties of the optimal caching, We found

that LFU-like cache policies is supposed to perform well, which is proved by our simulation results.

• The proposed cache policy LB (Least Benefit) performs beter than LFU when the proposed forwarding scheme FSF is involved too and reduces the average hops future by 6.3%.

• With in-networking caching, the average hops of the ICN network can be reduced significantly by nearly 50% and with some simple improvement such as LB and FSF the average hop can be reduced future

Page 18: Caching in Information-Centric Networking

Q & A

Thank you!