Repository navigation
TAP 15: Compare relative PEP 458 metadata overhead - #159
Merged
mnm678 merged 1 commit intoAug 9, 2022
Merged
Conversation
joshuagl
previously approved these changes
Aug 5, 2022
joshuagl
left a comment
Member
There was a problem hiding this comment.
This is a great clarity improvement, thanks. I made a minor suggestion to the description of real-world numbers in order emphasise the difference by using similar sentence structures, what day you think?
Prior to this change we compared the overall metadata overhead of traditional and succinct hash bin delegation (hbd), using different numbers of bins optimized for each hashing scheme for a "fair" comparison. However, using different numbers makes it harder to understand the advantage of succinct hbd, i.e. no growth of the delegating metadata vs. linear growth with number of bins. This change focuses on the different sizes of the delegating targets metadata for the same number of bins to underline the advantage of succinct hbd. Background info: The optimum number of bins for a given number of target files varies between the two schemes, because in traditional hbd the positive effect of many bins is undermined by the huge size of the delegating metadata. Other changes include: - use a real world number of bins (PEP 458) instead of fictional - compare metadata overhead percentages instead of absolute numbers - perform keyid calcs with 64 instead of 32 bytes to match reference implementation - remove mention of inaccurate (32-bit) and not so relevant keyid size See theupdateframework#155 (comment) for initial discussion. Signed-off-by: Lukas Puehringer <[email protected]> Co-authored-by: Joshua Lock <[email protected]>
lukpueh
force-pushed
the
tap15-clarify-metadata-overhead
branch
from
August 9, 2022 07:13
023fc89 to
44b671d
Compare
Member
Author
|
Excellent suggestion, @joshuagl! Took the liberty to squash it with my original commit. Can I get another approval? |
mnm678
approved these changes
Aug 9, 2022
mnm678
pushed a commit
to mnm678/taps
that referenced
this pull request
Oct 4, 2022
…k#159) Prior to this change we compared the overall metadata overhead of traditional and succinct hash bin delegation (hbd), using different numbers of bins optimized for each hashing scheme for a "fair" comparison. However, using different numbers makes it harder to understand the advantage of succinct hbd, i.e. no growth of the delegating metadata vs. linear growth with number of bins. This change focuses on the different sizes of the delegating targets metadata for the same number of bins to underline the advantage of succinct hbd. Background info: The optimum number of bins for a given number of target files varies between the two schemes, because in traditional hbd the positive effect of many bins is undermined by the huge size of the delegating metadata. Other changes include: - use a real world number of bins (PEP 458) instead of fictional - compare metadata overhead percentages instead of absolute numbers - perform keyid calcs with 64 instead of 32 bytes to match reference implementation - remove mention of inaccurate (32-bit) and not so relevant keyid size See theupdateframework#155 (comment) for initial discussion. Signed-off-by: Lukas Puehringer <[email protected]> Co-authored-by: Joshua Lock <[email protected]> Co-authored-by: Joshua Lock <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Prior to this change we compared the overall metadata overhead of
traditional and succinct hash bin delegation (hbd), using different
numbers of bins optimized for each hashing scheme for a "fair"
comparison. However, using different numbers makes it harder to
understand the advantage of succinct hbd, i.e. no growth of the
delegating metadata vs. linear growth with number of bins.
This change focuses on the different sizes of the delegating
targets metadata for the same number of bins to underline the
advantage of succinct hbd.
Background info: The optimum number of bins for a given number of
target files varies between the two schemes, because in traditional
hbd the positive effect of many bins is undermined by the huge size
of the delegating metadata.
Other changes include:
reference implementation
See #155 (comment) for initial discussion.