Professional Documents
Culture Documents
2019 Least Recently Frequently Used Replacement Policy in Named Data Network
2019 Least Recently Frequently Used Replacement Policy in Named Data Network
2019 Least Recently Frequently Used Replacement Policy in Named Data Network
net/publication/339021619
CITATIONS READS
3 114
3 authors, including:
All content following this page was uploaded by Made Adi Paramartha Putra on 10 September 2021.
Abstract-Internet users growth in last few years rapidly Named Data Network (NDN) is a new evolution of the
increased, which affected the number of content variation that ICN network. NDN improvement is the naming system for
requested by users. Network performance takes an important address, and router caching capability. By enabling name
aspect to provided the best performance while sending the address in NDN, solution for any devices address widely open.
content requested by users. Named Data Network (NDN) is a Currently naming system in NDN using the hierarchical
new improvement in Information-Centric Network (ICN). NDN system.
gives a new paradigm into networking by enabling cache system
in NDN router and using the name as a network address, instead Compare with IP based network, NDN using name prefix
of using an IP address. Router caching effectively improved the instead of IP prefix. Moreover, NDN support stateful
network performance due to the user instantly request the forwarding while IP based support stateless forwarding [1].
content into the nearest router that connected in same NDN NDN utilize content store to provides caching capabilities.
network, instead of request the content directly to the producer. NDN caching mechanism strictly controlled by replacement
Caching policy in NDN router controlled by a replacement policy, thus replacement policy should be managed wisely. In
policy. In this paper, we implement LRFU algorithm as a new this paper, we compare the replacement policy in NDN using
replacement policy in ndnSIM, then we compare LRFU ndnSIM.
replacement policy with LRU and Priority-FIFO replacement
policy based on content store size, interest rate, and the size of There are five sections detailed in this paper, in the first
grid topology variation. From the simulation result, we found section will be Introduction. Related work in the NDN
that the LRFU replacement policy achieved 3.36% higher hit research area will be described in the second section. System
rate than LRU and 5.78% higher compared with Priority-FIFO design of the LRFU algorithm and its implementation detailed
replacement policy. in the third section, finally the result will be described in the
fourth section and conclusion in the fifth section.
Keywords—component; Named Data Network; LRFU;
Content Store; Replacement Policy
II. RELATED WORK
I. INTRODUCTION As a new network paradigm, NDN research area wide
open. In this section will detail some related research about
Massive network demand over the world affects the total NDN and LRFU replacement policy.
allocation of IP based network getting smaller. This
phenomenon caused by the high growth of internet user, and Performance comparison between NDN and IP based
invention of the Internet of Things (IoT) that need an network was detailed in [2]. The comparison using Indonesian
allocated IP address. Based on the growth for the past decade, palapa ring topology and compare the performance based on
the IP address network could not able to support every request area. Results show that NDN achieved higher throughput and
generated by a user or any devices in the IoT network. lower delay compared with an IP based network.
Information Centric Based (ICN) introduced as a new Evaluate the delay CDF value based on content store size
generation of internet, due network paradigm and architecture scaling in NDN router described in [3]. The results show that
of ICN differ from IP based network. ICN router enables to bigger content store size produces lower delay CDF.
cache requested data by user, and able to use it to fulfill Moreover, for router without content store (𝐶𝑠$%&' = 0)
another user request. Currently, the implementation of ICN achieved 80% higher delay CDF.
become dominant as YouTube, Netflix, Amazon, and iTunes
Replacement policy in NDN based hierarchical popularity
using IP based ICN. However, ICN over IP network is
proposed by L. YingQi et al., [4]. Replacement policy
inefficient and insecure due information-centric overlay is a
comparison using Popularity Content, LRU and LFU
poor match to the IP based.
algorithm with popularity content generated using Zipf
Authorized licensed use limited to: KUMOH NATIONAL INSTITUTE OF TECHNOLOGY. Downloaded on September 10,2021 at 12:22:53 UTC from IEEE Xplore. Restrictions apply.
Mandelbrot. Results show Popularity Content replacement
policy achieved a higher hit rate ratio compared with LRU and
LFU.
There is some research related to the LRFU algorithm, D.
Lee et al., [5] proposed the LRFU algorithm as a new caching
policy with CRF as its weighting function. The proposed
algorithm compared with LRU and successfully achieved a
better hit rate ratio. Furthermore, in 2001 D. Lee et al., [6]
improved the algorithm and comparing LRFU with LRU and
LFU using cache block size variation and variation of 𝜆 as a
control parameter for weighting function.
Fig. 2. NDN router process [1]
Moreover, LRFU replacement policy compared with LRU
based on content store size variation detailed in [7]. The A process occurs inside the NDN router detailed in fig.2.
results evaluate hit rate ratio and time complexity of algorithm The user sending interest to the nearest router, then CS will
and show that LRFU achieved higher hit rate ratio compared check whether any data match to requested interest. If the data
with LRU. However, due complex weighting function of do not available in CS, interest packet will be forwarded into
LRFU affect higher time complexity. LRFU replacement PIT and create a new PIT entry in order to add interest into
policy time complexity value is 𝑂(log 0 𝑑234'$3567 ), and 𝑂(1) FIB. After the requested data received, PIT entry related to
for LRU replacement policy. interest will be deleted and stored in CS, and finally, forward
In this paper, our main contribution is implement LRFU as the data to the user.
a replacement policy in NDN using ndnSIM and evaluate the In this paper, we focused to content store characteristic in
hit rate ratio based on content store size, interest rate, and NDN. Content store ruled by a replacement policy, as a
topology grid size compared with LRU and Priority-FIFO decision maker for any stored data in the content store.
replacement policy. Currently, implementation of replacement policy for NDN
Forwarding Daemon (NFD) content store in ndnSIM only
III. SYSTEM DESIGN supports for LRU and Priority-FIFO algorithm [9].
In this section will described about named data network,
how LRFU algorithm work and LRFU implementation in B. LRFU Algorithm
ndnSIM. Least Recently Frequently Used replacement policy
introduced by D. Lee et al., in 1996 [5], and tested by using
A. Named Data Network FreeBSD. LRFU is a combination of LRU and LFU algorithm
Funded by U.S National Science Foundation (NSF), NDN since decision making in LRFU using recency factor from
becomes one of five research project under NSF future LRU and frequency characteristic from LFU. LRFU algorithm
internet architecture program in 2010. NDN is an evolution of weighting function called as Combined Recency Frequency
CCN, which started by Van Jacobson at Xerox. The NDN (CRF) value.
project code base originally comes from CCNx and forked to
support NSF architecture in 2013 [8]. < >@
𝐹(𝑥) = ; = (1)
0
Authorized licensed use limited to: KUMOH NATIONAL INSTITUTE OF TECHNOLOGY. Downloaded on September 10,2021 at 12:22:53 UTC from IEEE Xplore. Restrictions apply.
Fig. 3. LRFU replacement policy scenarios [5]
Authorized licensed use limited to: KUMOH NATIONAL INSTITUTE OF TECHNOLOGY. Downloaded on September 10,2021 at 12:22:53 UTC from IEEE Xplore. Restrictions apply.
IV. RESULTS approach using C++ programming language. In this research,
There are three simulation scenarios evaluated in this we also found that LRFU performance depend on allocated
paper. Following section will described hit rate ratio achieved content store size, if content store size higher than 50 blocks,
by LRFU compared with LRU and Priority-FIFO replacement LRFU hit rate gap with LRU and Priority-FIFO getting lower,
policy with the content store, interest rate, and grid size with 47.53% hit rate achieved by LRFU, 46.40% and 44.34%
variation. achieved by LRU and Priority-FIFO respectively.
Hit Rate - Content Store
Interest rate value scenario shows that LRFU replacement
60 policy outperforms LRU with 4.1% higher hit rate and 6.69%
50 compared with Priority-FIFO. As interest rate value increase
40 gives a higher hit rate for all tested replacement policy. For the
Percentage(%)
25
2017, vol. 2017–July, pp. 43–48, 2018.
LRFU
20
15
LRU [3] H. Situmorang, N. R. Syambas, and T. Juhana, “The effect of scaling the
FIFO
10 size of Topology and Content Stored on the Named Data Networking,”
5
0 Proceeding 2016 10th Int. Conf. Telecommun. Syst. Serv. Appl. TSSA
10 30 50 75 100
Interest Rate 2016 Spec. Issue Radar Technol., pp. 16–21, 2017.
[4] L. YingQi, Y. Meiju, and L. Ru, “A Cache Replacement Strategy Based
Fig. 6. Interest rate variation result
on hierarchical Popularity in NDN,” Int. Conf. Ubiquitous Futur.
Simulation scenario based on interest rate variation results Networks, pp. 159–161, 2018.
detailed in Fig.6. Higher rate of interest produces a higher hit [5] D. Lee et al., “LRFU ( Least Recently / Frequently Used ) Replacement
rate achieved by LRFU, LRU, and Priority-FIFO replacement Policy : A Spectrum of Block Replacement Policies,” IEEE Trans.
policy. For all interest rate variation generated by the user, Comput., vol. 50, no. 12, Technical Report, pp. 1352–1361, 1996.
LRFU replacement policy successfully gained 41.85% hit
[6] D. Lee et al., “LRFU: A Spectrum of Policies that Subsumes the Least
rate, 37.75% achieved by LRU and 35.16% by Priority-FIFO.
Recently Used and Least Frequently Used Policies,” IEEE Int. Reliab.
Hit Rate - Grid Size
Phys. Symp. Proc., vol. 2004–Janua, no. January, pp. 84–94, 2004.
45
40
[7] G. Petrus B.K., “Simulation and Study of Replacement Strategy in
35
30 NDN,” Master’s Thesis, Bandung Inst. Technol., 2018.
Percentage(%)
25
LRFU
20 [8] “Named Data Networking: Motivation & Details.” [Online]. Available:
LRU
15
10
FIFO https://named-data.net/project/archoverview/. [Accessed: 22-Nov-
5
2018].
0
3x3 4x4 5x5
Grid Size
[9] ndnSIM, “ndnSIM 2.6 documentation.” [Online]. Available:
http://ndnsim.net/2.6/doxygen/index.html. [Accessed: 21-Mar-2019].
Fig. 7. Grid size variation result
V. CONCLUSION
Based on the simulation results, we conclude that the
LRFU replacement policy achieved higher hit rate ratio
compared with LRU and Priority-FIFO replacement policy.
These results support our last research on LRFU algorithm
Authorized licensed use limited to: KUMOH NATIONAL INSTITUTE OF TECHNOLOGY. Downloaded on September 10,2021 at 12:22:53 UTC from IEEE Xplore. Restrictions apply.
View publication stats