]> git.ipfire.org Git - thirdparty/bind9.git/commit
Adjust the fillcount and freemax for dns_message mempools
authorOndřej Surý <ondrej@sury.org>
Sun, 23 May 2021 13:36:06 +0000 (15:36 +0200)
committerOndřej Surý <ondrej@sury.org>
Mon, 24 May 2021 18:44:58 +0000 (20:44 +0200)
commita1c6fd5ede719fcd23ebcccac0b924b9eaab9e69
tree0a5ccc6e3ee8f23f4c8948e5333b323332a835fc
parent28b65d8256ffcf7adac1c14db4cf90cd0aec5598
Adjust the fillcount and freemax for dns_message mempools

According to the measurements (recorded on GL!5085), the fillcount of 2
for namepool and fillcount of 4 for rdspool can fit 99.99% of request
for tested scenarios.

This was discovered by perf recording the single second recursive test
using flamethrower where the initial malloc lit up like a flare.
lib/dns/message.c