Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mv-tuning4 #117

Merged
merged 12 commits into from
Jan 17, 2014
Merged

mv-tuning4 #117

merged 12 commits into from
Jan 17, 2014

Conversation

matthewvon
Copy link
Contributor

{10485760, 524288000, 57671680, 41943040000ULL, 33554432000ULL, 524288000, false},
{10485760, 629145600, 57671680, 419430400000ULL, 335544320000ULL, 629145600, false},
{10485760, 734003200, 57671680, 4194304000000ULL, 3355443200000ULL, 734003200, false}
{10485760, 262144000, 57671680, 209715200, 0, 420000000, true},
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like "300000000" changed to "420000000" and some formatting updated the whole chunk of text. Did I miss anything? Why that change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For once, I actually documented a change … see line 49 of comments above. If still unclear, I will elaborate.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the comment:
// level-0 file size of 420,000,000 applies to output files of this level
// being written to level-1. The value is 7 times the default maximum
// write buffer size of 60,000,000. Why seven times: 6 level-0 files typically compact
// to one level-1 file and are each slightly larger than 60,000,000.

Which makes perfect sense, I thought it was another use of the magic "42" number rather than a real calculation. Guess I was wrong!

@gburd
Copy link

gburd commented Jan 17, 2014

I've not built/run this code but by visual inspection it looks like improvements to heuristics in parts of LevelDB that make sense to me from a casual inspection.

@matthewvon
Copy link
Contributor Author

Thank you for the review.

@gburd
Copy link

gburd commented Jan 17, 2014

Without actually running the code (due to time constraints) I'm going to say I'm +1, but I'll suggest strongly that you should solicit at least one engineer to agree before merging it.

matthewvon pushed a commit that referenced this pull request Jan 17, 2014
@matthewvon matthewvon merged commit 0f1bc10 into develop Jan 17, 2014
@matthewvon matthewvon deleted the mv-tuning4 branch August 19, 2015 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants