firmware/src/packages/fff/fff-dhcp
Johannes Kimmel 8e3db2b314 fff-dhcp: increase dns cachesize
The default cachesize for dnsmasq is 150 entries, which results in a
poor cache hit rate.

Raise the default to 1024 to provide better cache hit rates on all
devices while still keeping memory usage in check.

Further increase the cachesize to 8192 entries for systems with enough
ram (currently more than 64MB).

The memory usage will increase roughly 100B per entry.

The size was chosen empirically. Higher values don't seem to increase
cache hit rate a lot.

Signed-off-by: Johannes Kimmel <fff@bareminimum.eu>
2022-01-03 11:50:23 +01:00
..
files/etc fff-dhcp: increase dns cachesize 2022-01-03 11:50:23 +01:00
Makefile fff-dhcp: PKG_RELEASE bump 2021-11-10 13:42:14 +01:00