Skip to content

Ability to observe number of compressed, rejected and bypassed blocks as the benchmark progress #13698

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

shubhajeet
Copy link
Contributor

Summary:
For some use-case we may want to observe certain parameter as the benchmarking experiment progress to verify something. We added ability to observe NUMBER_OF_BLOCK_COMPRESSED, NUMBER_OF_BLOCKS_REJECTED, NUMBER_OF_BLOCKS_BYPASSED.

TestPlan:
Run the following benchmark script to observe the above 3 stats are being printed.

./db_bench --db=/dev/shm/dbbench --benchmarks=fillseq —-num=10000000 --compaction_style=2 --fifo_compaction_max_table_files_size_mb=1000 --fifo_compaction_allow_compaction=0 --disable_wal --write_buffer_size=12000000 --compression_type=zstd --compression_parallel_threads=1 --compression_manager=none --same_value_percentage=0 --stats_level=5 —-statistics --stats_interval=1 --stats_per_interval=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants