0014-Warn-about-the-impact-of-cache-size-on-performance.patch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. From 7dcca6c62211e60905e2252a185bede909391877 Mon Sep 17 00:00:00 2001
  2. From: Geert Stappers <[email protected]>
  3. Date: Sat, 2 Jun 2018 18:54:04 +0100
  4. Subject: [PATCH 14/17] Warn about the impact of cache-size on performance.
  5. Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
  6. ---
  7. man/dnsmasq.8 | 2 +-
  8. man/es/dnsmasq.8 | 3 ++-
  9. man/fr/dnsmasq.8 | 3 ++-
  10. 3 files changed, 5 insertions(+), 3 deletions(-)
  11. --- a/man/dnsmasq.8
  12. +++ b/man/dnsmasq.8
  13. @@ -692,7 +692,7 @@ will add 1.2.3.0/24 for both IPv4 and IP
  14. .TP
  15. .B \-c, --cache-size=<cachesize>
  16. -Set the size of dnsmasq's cache. The default is 150 names. Setting the cache size to zero disables caching.
  17. +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.
  18. .TP
  19. .B \-N, --no-negcache
  20. Disable negative caching. Negative caching allows dnsmasq to remember
  21. --- a/man/es/dnsmasq.8
  22. +++ b/man/es/dnsmasq.8
  23. @@ -478,7 +478,8 @@ la traza reversa dirección-a-nombre.
  24. .TP
  25. .B \-c, --cache-size=<tamaño de caché>
  26. Fijar el tamaño del caché de dnsmasq. El predeterminado es 150 nombres.
  27. -Fijar el tamaño a cero deshabilita el caché.
  28. +Fijar el tamaño a cero deshabilita el caché. Nota: el gran tamaño de
  29. +caché afecta el rendimiento.
  30. .TP
  31. .B \-N, --no-negcache
  32. Deshabilitar caché negativo. El caché negativo le permite a dnsmasq
  33. --- a/man/fr/dnsmasq.8
  34. +++ b/man/fr/dnsmasq.8
  35. @@ -666,7 +666,8 @@ différentes pourraient-être rencontré
  36. .TP
  37. .B \-c, --cache-size=<taille>
  38. Définit la taille du cache de Dnsmasq. La valeur par défaut est de 150 noms.
  39. -Définir une valeur de zéro désactive le cache.
  40. +Définir une valeur de zéro désactive le cache. Remarque: la taille importante
  41. +du cache a un impact sur les performances.
  42. .TP
  43. .B \-N, --no-negcache
  44. Désactive le "cache négatif". Le "cache négatif" permet à Dnsmasq de se souvenir