[nsd-users] Larger memory footprint with direct-rdata-storage in NSD 4.14.0

Saj Goonatilleke saj at discourse.org
Sun Dec 21 05:27:05 UTC 2025


On 20 Dec 2025, at 21:34, Willem Toorop wrote:
> I worked on a remedy minimizing memory fragmentation for zones with RRsets with many RRs (like DNS-SD zones).

Thank you, Willem, for picking this up so quickly.

> With me, and my worse-case test zone, the result was rather spectacular.

Here are some numbers from the zone that first drew our attention.

NSD_4_13_0_REL                  size.db.mem=6717192
NSD_4_14_0_REL                  size.db.mem=9116758
NSD_4_14_0_RC1-20-g39775308     size.db.mem=1155874

This is indeed quite spectacular. :)

Your test suites are surely much better than ours, so I am yet to test for nameserver function.  Let me know if you need me to put a Linux build into a traffic path.  We are in change freeze for the upcoming holiday period, but I might be able to arrange a test in a pre-production environment.

Thanks again!


More information about the nsd-users mailing list