Re: questions how NSD slave handles XFR and how to improve XFR-patching performance

Wouter Wijngaards <[email protected]>
Newsgroups gmane.network.dns.nsd.general
Message-ID <[email protected]>
Hi Klaus, Anand,

On 4/8/19 8:57 AM, Anand Buddhdev wrote:
> On 04/04/2019 23:07, Klaus Darilion wrote:
> 
> Good morning Klaus!
> 
> [snip]

One way to speed up applying xfrs is to change the xfr directory to a
memory mapped file system, like /tmp.  It could be /usr/local/var/tmp
which is disk-based, and with a memory file system there is no disk
access needed.  It uses memory, then.  There is an option in nsd.conf to
change it, xfrdir: "/path" .

Best regards, Wouter

> 
>> Any ideas to improve the XFR-applying-speed? I think the most time
>> consuming part is the clone() (P2 has around 2.3million page tables).
>> Are there and config/build options to improve this? Ie huge pages? Using
>> some other forking function?
> 
> I can't comment on improving NSD's XFR-handling model, but you could
> throttle it by setting a larger value for "xfrd-reload-timeout" in
> nsd.conf. The default is 1 second, but if you set it to something like
> 30 seconds, then NSD will receive and apply the XFRs received, but only
> reload once every 30s, and allow the server some breathing room.
> 
> Regards,
> Anand Buddhdev
> RIPE NCC
> _______________________________________________
> nsd-users mailing list
> [email protected]
> https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
>

_______________________________________________
nsd-users mailing list
[email protected]
https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE7fqj8spObrBWga+On28cLX4EX40FAlyq+GUACgkQn28cLX4E
X43UsBAAlYCSWhtvogkWW+KBB170wotCdnyxZWticJ0xd/+iYrtJixkjoDi6WpCi
qhkG7ilk9iu/0z7RMYP9rJWmLM/1rfH1r7z70iI9tEkEAS3dYgi/+TNdlbhC4sH+
tThZtcSdL2L7dY/IBCiN/vILHtxgWq1v7XbL/5+tpaz81TL1XgkPCh4a7g3BQ6XH
oyFBgMJ26HTa+d4LHIlef1hkdR9Lw/kEXLeDPqTSWdeEUpRYZW96sagw3FC4J/PG
0/ZWURb7+my6dNk5nA3Ym4SxsX3HCj/bOZ7elWHv9XSdamcBV3nZ0JvU0YgBOOIF
6O5SjLgJwAWhq95qQCr7V/qijYzY/YVrP4Qr3YRgPh9xm6cjOxYn/7frYNVSAfLA
+PyR9Ol5ZG6BzhSKsvJQqkJIWXDvge4xo3ayQFRA8kXYusEhKpNc2ZeSaPOIAaZe
av3+j0+rCOvSighfw5tKFsAT3Kj3SJcZ9PBaqlp0OjaT/b+Az4WqlwegEfeslMU6
bmyVXRIiNHxINKJmqO85WrLJPgf+aIQpahZMbmm2mQxhYvna7CKo2U5aYLUXoE/e
VgNnktMdx3VVoHNTQxserFHFnn4Yb6a/cdbY9JhuiWziPuSStrr4Si1mb48Ay1a5
HctCaTaNLom0CV6TZs4M0rFP6FXaWqJikL+zxJTh+irRxGARa1s=
=vnO2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.