2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Bump the mempool sizes in dns_message

Increasing the initial and freemax sizes for dns_message memory pools
restores the root zone performance.  The former sizes were suited for
per-dns_message memory pools and we need to bump the sizes up for
per-thread memory pools.
This commit is contained in:
Ondřej Surý
2023-10-27 08:54:59 +02:00
parent 61e12cde05
commit c855ed6a0b

View File

@@ -110,12 +110,12 @@ hexdump(const char *msg, const char *msg2, void *base, size_t len) {
* XXXMLG These should come from a config setting.
*/
#define SCRATCHPAD_SIZE 1232
#define NAME_FILLCOUNT 4
#define NAME_FILLCOUNT 1024
#define NAME_FREEMAX 8 * NAME_FILLCOUNT
#define OFFSET_COUNT 4
#define RDATA_COUNT 8
#define RDATALIST_COUNT 8
#define RDATASET_FILLCOUNT 4
#define RDATASET_FILLCOUNT 1024
#define RDATASET_FREEMAX 8 * RDATASET_FILLCOUNT
/*%