Re: NSD 4.1.18rc1 pre-release

"W.C.A. Wijngaards" <[email protected]>
Newsgroups gmane.network.dns.nsd.general
Message-ID <[email protected]>
Hi Paul,

On 16/11/17 11:57, Paul Wouters wrote:
> On Thu, 16 Nov 2017, W.C.A. Wijngaards wrote:
> 
>> This release has features for saving memory and faster notification.
>> With --enable-packed, 33% memory savings could be had, or something
>> along that size.  Notification of secondary servers happens in parallel,
>> and has faster timeouts.  More sockets are used for zone transfers.
>> This speeds up communication with a larger set of servers.
> 
> What is the downside of this option? I assume there is one, because
> otherwise this would not be a compile time option?

Packed structures are more difficult to access by the compiler.  It is
likely that the compiler needs to generate more code to access members
in the data structure.  The assumption that data is aligned in memory is
not there.  The compiler will generate different code.  Because it is
packed, it'll use less memory, but that code also has to be executed.  I
don't know what the speed impact is, if any.

Best regards, Wouter

> 
> I'm trying to make the determination for RHEL/CentOS/Fedora on whether
> I want this compile time option enabled or not.
> 
> Paul

_______________________________________________
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+On28cLX4EX40FAloNb+IACgkQn28cLX4E
X4385RAApS7r5bXyxb++abznBr/U7zSi6pHH59E4kY8Bru2h2FUxov4PN9rIhPfJ
ub7LbvvLoOGfs9pYz9EU+kmf3xusBAip3c2PBCdaptzmSBPhEtMzH3f9dorIDC6U
MIzYKMwv2KJZ/nX7vtjpAg9pEsMZeMIvxEJwtkM+xplGqiqOccVPe7lwmXW8hgH1
PKKMfkuXztivQehl3fumjwxvL9jEhsJ+e44Ny9iQtfyHFcJAe6JZZuTSx6PnNAI9
niWtCZQqEb4kkKlQMdGjMouxWh8lWmqqjk3lmkkhIZL+3puaXjEoAMo3a5imrN08
aEy4zCV/5GuSW0DmqhIoo9sgDT1l7fOZof/wQiYytSAs81ymdbMo4rPXS6q0JhtV
aDN7XKVPoxRP8OF9IeJzEWVNKVm7xeDoZ9fK+q7iNHgvjFx2DskZx58KvxO9Cn3k
6pDtF7XmxL7nipjhuSN3cFoPog1o66HzygTC30ReIlQ3zMGT2kK2MYK6q2bECZKH
o1SEFeoWV/3qsK7OHMXZyFyRffx+Ny9Oi/q25mV7rkfQ9Gf7gkvr5qrr4yGOwPAR
j+mkfwdGC07clIdiAAkqwaJkyo4skiJsgKsuOth0eFYSyg4ILAKuMG+OVVoF6q2Q
ET5Fijqr3ebL4mA0rUMXDhbUI2ZVPByxWVee5r8yLoXTZHLvZ58=
=PHGO
-----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.