Skip to content

Commit

Permalink
nfd: change CS replacement policy to LRU
Browse files Browse the repository at this point in the history
The default was changed over 6 years ago
named-data/NFD@32e7609
  • Loading branch information
Pesa committed Oct 25, 2024
1 parent 44c1941 commit 4677061
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions templates/nfd/nfd.conf.j2
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
general
{

}

log
{
default_level INFO
Expand All @@ -20,7 +15,7 @@ tables
cs_max_packets 262144
{% endif %}

cs_policy priority_fifo
cs_policy lru
cs_unsolicited_policy drop-all

strategy_choice
Expand Down Expand Up @@ -61,13 +56,13 @@ face_system

udp
{
listen yes
port {{udp_port}}
enable_v4 yes
enable_v6 yes

idle_timeout 600
unicast_mtu 1452
keep_alive_interval 25

mcast yes
mcast_group 224.0.23.170
Expand All @@ -76,11 +71,12 @@ face_system
mcast_port_v6 56363
mcast_ad_hoc no

whitelist {
whitelist
{
*
}
blacklist {

blacklist
{
}
}

Expand All @@ -93,11 +89,12 @@ face_system
mcast_group 01:00:5E:00:17:AA
mcast_ad_hoc no

whitelist {
whitelist
{
*
}
blacklist {

blacklist
{
}
}

Expand Down

0 comments on commit 4677061

Please sign in to comment.