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

db_bench: Create a WBM once for all db-s regardless of their use in different groups (#550) #551

Merged

Conversation

udi-speedb
Copy link
Contributor

No description provided.

@udi-speedb udi-speedb linked an issue Jun 11, 2023 that may be closed by this pull request
Comment on lines 108 to 109
#include "util/string_util.h"

Copy link
Contributor

Choose a reason for hiding this comment

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

already included

@Yuval-Ariel
Copy link
Contributor

rest LGTM

@udi-speedb udi-speedb force-pushed the 550-db_bench-new-wbm-per-dbs-in-use-in-every-group branch from a2ec570 to 0550e30 Compare June 12, 2023 12:53
fprintf(stderr, "\nBEFORE Benchmark (%s): %lu OF %lu\n\n", name.c_str(),
open_options_.write_buffer_manager->memory_usage(),
open_options_.write_buffer_manager->buffer_size());
fprintf(stderr, "\nBEFORE Benchmark (%s): %s OF %s\n\n", name.c_str(),
Copy link
Contributor

Choose a reason for hiding this comment

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

while you're here, can you also add info to the printing that its the WBM's memory you're reporting?

Copy link
Contributor

@Yuval-Ariel Yuval-Ariel Jun 12, 2023

Choose a reason for hiding this comment

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

right now it looks like this:

BEFORE Benchmark (fillseq): 6144 OF 110000000

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done. And now to the Approve button please

@udi-speedb udi-speedb force-pushed the 550-db_bench-new-wbm-per-dbs-in-use-in-every-group branch from 512c772 to 4a82cec Compare June 12, 2023 13:07
Copy link
Contributor

@Yuval-Ariel Yuval-Ariel left a comment

Choose a reason for hiding this comment

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

:)

@udi-speedb udi-speedb force-pushed the 550-db_bench-new-wbm-per-dbs-in-use-in-every-group branch from 868391b to 5d77855 Compare June 12, 2023 13:12
@Yuval-Ariel Yuval-Ariel merged commit 1bc17c8 into main Jun 12, 2023
@Yuval-Ariel Yuval-Ariel deleted the 550-db_bench-new-wbm-per-dbs-in-use-in-every-group branch June 12, 2023 19:00
udi-speedb added a commit that referenced this pull request Nov 22, 2023
udi-speedb added a commit that referenced this pull request Dec 5, 2023
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.

db_bench: New WBM per dbs in use in every group
2 participants