Performance Comparison of Caching Strategies for Information-Centric IoT
Jakob Pfender, Alvin Valera, Winston Seah
School of Engineering and Computer Science Victoria University of Wellington, New Zealand
Performance Comparison of Caching Strategies for Information-Centric - - PowerPoint PPT Presentation
Performance Comparison of Caching Strategies for Information-Centric IoT Jakob Pfender, Alvin Valera, Winston Seah School of Engineering and Computer Science Victoria University of Wellington, New Zealand September 22, 2018 Traditional Caching
School of Engineering and Computer Science Victoria University of Wellington, New Zealand
2
2
3
3
3
3
4
likely to be removed
thrashing
(LFU) → avoids thrashing, performs poorly with variable access patuerns & request spikes
Evict a randomly chosen content chunk Simple, fast, no overhead Some argue that cache replacement should be performed as fast as possible
Simple and fast more desirable than efgective but complex
5
likely to be removed
thrashing
(LFU) → avoids thrashing, performs poorly with variable access patuerns & request spikes
should be performed as fast as possible ▶ Simple and fast more desirable than
efgective but complex
5
7
7
7
7
7
7
Available cache space extremely valuable
7
valuable
7
valuable
7
valuable
7
valuable
7
valuable
7
Consider content age, node batuery, cache occupancy Values normalised & weighted by relative importance Fully distributed, no communication
Uses purely local information
9
cache occupancy
relative importance
9
cache occupancy
relative importance
9
distributed across the network
Also afgected by network congestion, density, etc.
On-path caching may reduce hop count for retransmissions
How well does the strategy adapt to content popularity & propagation?
Cdisj S
S : Number of content producers Cdisj : Number of disjoint name
prefixes in all caches
Measures ratio of distinct objects in caches to all generated objects: C
Dq Dp 11
distributed across the network
density, etc.
On-path caching may reduce hop count for retransmissions
How well does the strategy adapt to content popularity & propagation?
Cdisj S
S : Number of content producers Cdisj : Number of disjoint name
prefixes in all caches
Measures ratio of distinct objects in caches to all generated objects: C
Dq Dp 11
distributed across the network
density, etc.
count for retransmissions
How well does the strategy adapt to content popularity & propagation?
Cdisj S
S : Number of content producers Cdisj : Number of disjoint name
prefixes in all caches
Measures ratio of distinct objects in caches to all generated objects: C
Dq Dp 11
distributed across the network
density, etc.
count for retransmissions
content popularity & propagation?
Cdisj S
S : Number of content producers Cdisj : Number of disjoint name
prefixes in all caches
Measures ratio of distinct objects in caches to all generated objects: C
Dq Dp 11
distributed across the network
density, etc.
count for retransmissions
content popularity & propagation?
|S|
▶ |S|: Number of content producers ▶ |Cdisj|: Number of disjoint name
prefixes in all caches
Measures ratio of distinct objects in caches to all generated objects: C
Dq Dp 11
distributed across the network
density, etc.
count for retransmissions
content popularity & propagation?
|S|
▶ |S|: Number of content producers ▶ |Cdisj|: Number of disjoint name
prefixes in all caches
caches to all generated objects: ▶ C =
Dq Dp 11
ROM, 64 kB RAM, Atmel AT86RF231 2.4 GHz transceiver on IEEE 802.15.4
as ICN implementation, modified to support the difgerent caching strategies 60 M3 nodes distributed evenly in a single building Multihop setup, average path length 2–3 hops Prefix announcements recorded with hop count and rebroadcast with increased hop count Interests forwarded according to lowest hop count, broadcast fallback Nodes produce random content chunks prefixed with their ID every 1–5 seconds Nodes request random existing content every 0.5–1.5 seconds, using uniform or Zipfian patuern
13
ROM, 64 kB RAM, Atmel AT86RF231 2.4 GHz transceiver on IEEE 802.15.4
as ICN implementation, modified to support the difgerent caching strategies
building
hops Prefix announcements recorded with hop count and rebroadcast with increased hop count Interests forwarded according to lowest hop count, broadcast fallback Nodes produce random content chunks prefixed with their ID every 1–5 seconds Nodes request random existing content every 0.5–1.5 seconds, using uniform or Zipfian patuern
13
ROM, 64 kB RAM, Atmel AT86RF231 2.4 GHz transceiver on IEEE 802.15.4
as ICN implementation, modified to support the difgerent caching strategies
building
hops
count and rebroadcast with increased hop count
count, broadcast fallback Nodes produce random content chunks prefixed with their ID every 1–5 seconds Nodes request random existing content every 0.5–1.5 seconds, using uniform or Zipfian patuern
13
ROM, 64 kB RAM, Atmel AT86RF231 2.4 GHz transceiver on IEEE 802.15.4
as ICN implementation, modified to support the difgerent caching strategies
building
hops
count and rebroadcast with increased hop count
count, broadcast fallback
prefixed with their ID every 1–5 seconds
every 0.5–1.5 seconds, using uniform or Zipfian patuern
13
CEE PCASTING PROB05 20 40 60 80 100 Server load (in %) Zipf Uniform 15
CEE PCASTING PROB05 20 40 60 80 100 Average Interest retransmissions (in %) Zipf Uniform 16
CEE PCASTING PROB05 1000 1500 2000 2500 3000 3500 4000 4500 Number of cache evictions Zipf Uniform 17
50 100 150 200 250 300 Time (in s) 5 10 15 20 25 30 Data retrieval delay (in s) CEE PROB05 PCASTING
CEE PCASTING PROB05 Time (in s) 20 40 60 80 100 Data retrieval delay (in s) Zipf Uniform
18
contents are highly redundant
200 400 600 800 1000 1200 Time (in s) 40 50 60 70 80 90 100 Diversity metric (in %) CEE PROB05 PCASTING
CEE PCASTING PROB05 Time (in s) 20 40 60 80 100 Diversity metric (in %)
Zipf Uniform
19
200 400 600 800 1000 1200 Time (in s) 20 40 60 80 100 Cache retention ratio (in %) CEE PROB05 PCASTING
CEE PCASTING PROB05 Time (in s) 20 40 60 80 100 Cache retention ratio (in %) Zipf Uniform
20
LRU RR MDMR 20 40 60 80 100 Server load (in %) Zipf Uniform 22
LRU RR MDMR 20 40 60 80 100 Average Interest retransmissions (in %) Zipf Uniform 23
popular content, reducing impact of cache-shaping strategies
counteracted by RR?
LRU RR MDMR 1000 2000 3000 4000 Number of cache evictions Zipf Uniform 24
factor afuer some time has elapsed ⇒ MDMR requires minimum time to become efgective
50 100 150 200 250 300 Time (in s) 5 10 15 20 25 30 Data retrieval delay (in s) LRU RR MDMR
LRU RR MDMR Time (in s) 20 40 60 80 100 Data retrieval delay (in s) Zipf Uniform
25
200 400 600 800 1000 1200 Time (in s) 40 50 60 70 80 90 100 Diversity metric (in %) LRU RR MDMR
LRU RR MDMR Time (in s) 20 40 60 80 100 Diversity metric (in %)
Zipf Uniform
26
200 400 600 800 1000 1200 Time (in s) 40 50 60 70 80 90 100 Diversity metric (in %) LRU RR MDMR
LRU RR MDMR Time (in s) 20 40 60 80 100 Diversity metric (in %)
Zipf Uniform
26
200 400 600 800 1000 1200 Time (in s) 20 40 60 80 100 Cache retention ratio (in %) LRU RR MDMR
LRU RR MDMR Time (in s) 20 40 60 80 100 Cache retention ratio (in %) Zipf Uniform
27
29
29
29
29
29
29
29
29
31
31
31
31
32