improving zonec performance on many zones
erik at NLnetLabs.nl
Tue Apr 19 11:53:01 UTC 2005
fujiwara at jprs.co.jp wrote:
> This patch needs more memory space(number of ownernames * sizeof(pointer)).
> But large number of zones case, it improves "zonec" performance.
If you are sure every zone is passed to zonec only once (the usual case)
you can simply always start a new zone when a SOA record is encountered
by applying the attached patch. This avoids the memory overhead of
another pointer in domain_type.
In the future NSD will use a binary search instead here, so that should
also solve this performance problem.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the nsd-users