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

Increase eviction scan size to 1 mb #4146

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

SirTyson
Copy link
Contributor

Description

Increases phase 1 eviction scan size to 1 mb.

Checklist

  • Reviewed the contributing document
  • Rebased on top of master (no merge commits)
  • Ran clang-format v8.0.0 (via make format or the Visual Studio extension)
  • Compiles
  • Ran all tests
  • If change impacts performance, include supporting evidence per the performance document

@@ -301,7 +301,7 @@
"temp_rent_rate_denominator": 5356800,
"max_entries_to_archive": 100,
"bucket_list_size_window_sample_size": 30,
"eviction_scan_size": 100000,
"eviction_scan_size": 1000000,
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we set it to 1024 * 1024 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure that this would work, I think we can only use constants here and not expressions because it's a JSON file.

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure that this would work, I think we can only use constants here and not expressions because it's a JSON file.

I meant the result of the multiplication, 1048576, for keeping it accurately at 1 MB.

@sisuresh
Copy link
Contributor

r+ e95032f

@latobarita latobarita merged commit d0c43d2 into stellar:master Jan 18, 2024
15 checks passed
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.

None yet

4 participants