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
|
infra-cache-slabs: 4
|
||||||
key-cache-slabs: 4
|
key-cache-slabs: 4
|
||||||
|
|
||||||
# Cache sizing (use available RAM)
|
# Cache sizing — values are per-slab (×4 slabs), so total = 4× these values
|
||||||
msg-cache-size: 512m
|
# Only need ~500MB total — TLD/NS records stay hot via LRU, individual A records evict naturally
|
||||||
rrset-cache-size: 1g
|
msg-cache-size: 32m
|
||||||
key-cache-size: 256m
|
rrset-cache-size: 64m
|
||||||
|
key-cache-size: 16m
|
||||||
|
|
||||||
# Aggressive caching
|
# Aggressive caching
|
||||||
cache-min-ttl: 3600
|
cache-min-ttl: 3600
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue