You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Thank you @wcawijngaards !
I reviewed now three times thoroughly and it all looks very good.
One question. We're changing the default value of maximum number of TCP connections to do transfers from NSD from 128 to 32. Do you think that's okay? We're usually quite conservative about those things. Even if we would keep xfrd_tcp_max to be 128 there will be much less memory usage because of replacing the 64k arrays of IDs and zone pointers with xfrd_tcp_pipeline number of ids and zone pointers. That's also a change of defaults, but I suspect this will be much less noticable (if at all) in operations.
Also, sorry this took me so long.
- Merge #193: Lower memory usage of the XFRD process by default.
Instead of preallocating all elements, they are allocated when used.
There are options for managing the memory usage, defaults are the
same as before. xfrd-tcp-max sets the number of sockets for tcp
connections that xfrd can make to download zone contents. And
xfrd-tcp-pipeline the number of simultaneous transfers over the
same connection.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds configuration options for the zone transfers memory usage. It sets the maximum number of transfers that can be performed, at the same time.
The options added are
xfrd-tcp-max
andxfrd-tcp-pipeline
.