tune unbound to take up less memory for our use case
This commit is contained in:
parent
cb8d23842c
commit
c93d1736fe
1 changed files with 5 additions and 4 deletions
|
|
@ -78,10 +78,11 @@ server:
|
|||
infra-cache-slabs: 4
|
||||
key-cache-slabs: 4
|
||||
|
||||
# Cache sizing (use available RAM)
|
||||
msg-cache-size: 512m
|
||||
rrset-cache-size: 1g
|
||||
key-cache-size: 256m
|
||||
# Cache sizing — values are per-slab (×4 slabs), so total = 4× these values
|
||||
# Only need ~500MB total — TLD/NS records stay hot via LRU, individual A records evict naturally
|
||||
msg-cache-size: 32m
|
||||
rrset-cache-size: 64m
|
||||
key-cache-size: 16m
|
||||
|
||||
# Aggressive caching
|
||||
cache-min-ttl: 3600
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue