You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/network/services/dnsmasq/patches/0014-Warn-about-the-impact-...

48 lines
1.9 KiB
Diff

From 7dcca6c62211e60905e2252a185bede909391877 Mon Sep 17 00:00:00 2001
From: Geert Stappers <stappers@stappers.nl>
Date: Sat, 2 Jun 2018 18:54:04 +0100
Subject: [PATCH 14/17] Warn about the impact of cache-size on performance.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
---
man/dnsmasq.8 | 2 +-
man/es/dnsmasq.8 | 3 ++-
man/fr/dnsmasq.8 | 3 ++-
3 files changed, 5 insertions(+), 3 deletions(-)
--- a/man/dnsmasq.8
+++ b/man/dnsmasq.8
@@ -692,7 +692,7 @@ will add 1.2.3.0/24 for both IPv4 and IP
.TP
.B \-c, --cache-size=<cachesize>
-Set the size of dnsmasq's cache. The default is 150 names. Setting the cache size to zero disables caching.
+Set the size of dnsmasq's cache. The default is 150 names. Setting the cache size to zero disables caching. Note: huge cache size impacts performance.
.TP
.B \-N, --no-negcache
Disable negative caching. Negative caching allows dnsmasq to remember
--- a/man/es/dnsmasq.8
+++ b/man/es/dnsmasq.8
@@ -478,7 +478,8 @@ la traza reversa direcci<63>n-a-nombre.
.TP
.B \-c, --cache-size=<tama<6D>o de cach<63>>
Fijar el tama<6D>o del cach<63> de dnsmasq. El predeterminado es 150 nombres.
-Fijar el tama<6D>o a cero deshabilita el cach<63>.
+Fijar el tama<6D>o a cero deshabilita el cach<63>. Nota: el gran tama<6D>o de
+cach<63> afecta el rendimiento.
.TP
.B \-N, --no-negcache
Deshabilitar cach<63> negativo. El cach<63> negativo le permite a dnsmasq
--- a/man/fr/dnsmasq.8
+++ b/man/fr/dnsmasq.8
@@ -666,7 +666,8 @@ différentes pourraient-être rencontré
.TP
.B \-c, --cache-size=<taille>
Définit la taille du cache de Dnsmasq. La valeur par défaut est de 150 noms.
-Définir une valeur de zéro désactive le cache.
+Définir une valeur de zéro désactive le cache. Remarque: la taille importante
+du cache a un impact sur les performances.
.TP
.B \-N, --no-negcache
Désactive le "cache négatif". Le "cache négatif" permet à Dnsmasq de se souvenir