What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Unbound Tuning for gaming

Jack-Sparr0w

Regular Contributor
ip ratelimit 1000
so rcvbuf 4m
incoming num tcp 950 best for overhead
outgoing num tcp 200 best for overhead
cache max ttl 14400
serve expired ttl 3600
# tiny memory cache
key-cache-size: 16m # L&LDv1.03 (Orig 8m) RT-AX88U For RT-AC86U use (8m)
msg-cache-size: 16m # L&LDv1.03 (Orig 8m) RT-AX88U For RT-AC86U use (8m)
rrset-cache-size: 32m # L&LDv1.03 (Orig 16m) RT-AX88U For RT-AC86U use (16m)

# no threads and no memory slabs for threads
num-threads: 4 # L&LDv1.03 (Orig 1) RT-AX88U For RT-AC86U use (2)
msg-cache-slabs: 4 # L&LDv1.03 (Orig 2) RT-AX88U For RT-AC86U use (2)
rrset-cache-slabs: 4 # L&LDv1.03 (Orig 2) RT-AX88U For RT-AC86U use (2)
infra-cache-slabs: 4 # L&LDv1.03 (Orig 2) RT-AX88U For RT-AC86U use (2)
key-cache-slabs: 4 # L&LDv1.03 (Orig 2) RT-AX88U For RT-AC86U use (2)

Anyway to make this faster?

use (vx) to edit unbound config file (stock settings are slow)

4 core cpu and 1 gig ram
 
Last edited:
Its more responsive due to jacking up the stats. any idea how to push it. so yes this does affect gaming. There is even recommended settings geared for gaming with unbound.
 
Its more responsive due to jacking up the stats. any idea how to push it. so yes this does affect gaming.
Sorry, what is "it"?

There is even recommended settings geared for gaming with unbound.
Can you post a link these recommended settings. I've personally never come across a game where any marginal differences in DNS lookups were relevant. But perhaps there is some specific game where it does make a difference.
 
Unbound DNS tuning for gaming can involve optimizing the DNS server to reduce latency and improve response times, which can be crucial for online gaming performance. Based on the context provided, here are some relevant tuning tips:

  • Disable caching in Pi-hole: To avoid redundant processing, it's recommended to turn off caching in the Pi-hole instance when using Unbound. This prevents Pi-hole from performing duplicate DNSSEC validation and caching, which can slow down the system.2
  • Adjust Unbound cache settings: Tuning the Unbound cache can significantly improve performance. For example, setting cache-size=0 in the Pi-hole configuration file can help avoid conflicts with Unbound's caching mechanism.2 Additionally, configuring Unbound to serve expired entries can help maintain fast response times by providing cached results even when they are slightly outdated.2
  • Optimize Unbound configuration: The Unbound configuration file can be adjusted to improve performance. For instance, setting num-threads to the number of CPU cores, increasing msg-cache-size and rrset-cache-size, and adjusting outgoing-range can all contribute to better performance.3
  • Use libevent for better performance: Installing and configuring libevent can allow Unbound to handle more file descriptors efficiently, which can improve performance, especially under heavy load.3
  • Increase socket buffer size: Adjusting the socket buffer size using so-rcvbuf can help handle spikes in traffic and improve reliability.3
These adjustments can help ensure that Unbound operates efficiently, providing fast and reliable DNS resolution for gaming and other applications.
 
Unbound DNS tuning for gaming can involve optimizing the DNS server to reduce latency and improve response times, which can be crucial for online gaming performance. Based on the context provided, here are some relevant tuning tips:

  • Disable caching in Pi-hole: To avoid redundant processing, it's recommended to turn off caching in the Pi-hole instance when using Unbound. This prevents Pi-hole from performing duplicate DNSSEC validation and caching, which can slow down the system.2
  • Adjust Unbound cache settings: Tuning the Unbound cache can significantly improve performance. For example, setting cache-size=0 in the Pi-hole configuration file can help avoid conflicts with Unbound's caching mechanism.2 Additionally, configuring Unbound to serve expired entries can help maintain fast response times by providing cached results even when they are slightly outdated.2
  • Optimize Unbound configuration: The Unbound configuration file can be adjusted to improve performance. For instance, setting num-threads to the number of CPU cores, increasing msg-cache-size and rrset-cache-size, and adjusting outgoing-range can all contribute to better performance.3
  • Use libevent for better performance: Installing and configuring libevent can allow Unbound to handle more file descriptors efficiently, which can improve performance, especially under heavy load.3
  • Increase socket buffer size: Adjusting the socket buffer size using so-rcvbuf can help handle spikes in traffic and improve reliability.3
These adjustments can help ensure that Unbound operates efficiently, providing fast and reliable DNS resolution for gaming and other applications.
Can you provide a link to the source of this information.
 
No link I can find from all info I grabbed. at the end of the day, Its stock tuned from the get go so it can work on any router
 
No link I can find from all info I grabbed.
Where did the information you posted in #7 come from? It looks like nonsense generated by A.I.

Try my settings and see the responsiveness. You have to do math to find out what numbers should be there.
I don't use Unbound. If you want to optimize Unbound for normal web browsing then that's a different matter and I think there are already many posts about that.
 
You should try some NTP tuning for maximum effect. Or get a job.

 
does it work with local NTP, I know sc merlin can be used but i did not know ntp merlin can be used to. If so show me how this is done
 
It’s another form of placebo effect. Once any DNS query is resolved and cached (by any resolver you choose), there’s not much performance gain to be realized.
 
You have to do math

Your math is wrong. No Unbound settings on your end-user device will make root servers respond faster nor cached queries reach local clients faster. Once resolved and cached the address is 1ms away for Ethernet connected gaming device. And skip AI generated crap.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Members online

Back
Top