Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rec: Backport 10312 to rec 4.5.x: improve packet cache sizeing now that TCP answers are also cached #10333

Merged

Conversation

omoerbeek
Copy link
Member

Short description

Backport of #10312

Checklist

I have:

  • read the CONTRIBUTING.md document
  • [X compiled this code
  • tested this code
  • included documentation (including possible behaviour changes)
  • documented the code
  • added or modified regression test(s)
  • added or modified unit test(s)
  • checked that this code was merged to master

omoerbeek and others added 2 commits April 26, 2021 08:21
Since queries incoming over TCP are now also using the packet
cache, there is now also one packet cache instance per distributor
thread. Each cache instance has a size of max-packetcache-entries
divided by (threads + distributor-threads).

(cherry picked from commit 5c367a7)
Co-authored-by: Remi Gacogne <github@coredump.fr>
(cherry picked from commit 693b9c5)
@omoerbeek omoerbeek added this to the rec-4.5.0 milestone Apr 26, 2021
@omoerbeek omoerbeek changed the title Backport 10312 to rec 4.5.x: improve packet cache sizeing now that TCP answers are also cached rec: Backport 10312 to rec 4.5.x: improve packet cache sizeing now that TCP answers are also cached Apr 26, 2021
@omoerbeek omoerbeek merged commit 3a02f6f into PowerDNS:rel/rec-4.5.x Apr 26, 2021
@omoerbeek omoerbeek deleted the backport-10312-to-rec-4.5.x branch April 26, 2021 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants