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

Enable fifo compaction benchmark to db_bench #1734

Conversation

shuzhang1989
Copy link
Contributor

@shuzhang1989 shuzhang1989 commented Dec 29, 2016

Added fifo benchmark to db_bench.
One thing i am not sure is that i am using CompactRange() instead of CompactFiles(). (may cause performance skew because CompactionRange() is not happening in current thread?) For CompactFiles(), for some reason FIFO compaction doesn't work as expected. More insight is welcomed. I guess FIFO compaction doesn't work with file names? @igorcanadi

test cmd:
./db_bench --compaction_style=2 --benchmarks=fillseqdeterministic --disable_auto_compactions --num_levels=1 --fifo_compaction_max_table_files_size_mb=10

---------------------- DB 0 LSM ---------------------
Level[0]: /000014.sst(size: 4211014 bytes)
fillseqdeterministic : 4.731 micros/op 211381 ops/sec; 23.4 MB/s

@facebook-github-bot
Copy link
Contributor

@shuzhang1989 updated the pull request - view changes

@siying siying self-requested a review February 10, 2017 22:54
@shuzhang1989
Copy link
Contributor Author

shuzhang1989 commented Mar 24, 2017

ping for review :)
i picked this task from the backlog

@siying
Copy link
Contributor

siying commented Mar 24, 2017

It looks good to me. Can you resolve the conflict?

@shuzhang1989 shuzhang1989 force-pushed the enable_fifo_compaction_benchmark branch from 6776826 to 0145a09 Compare March 24, 2017 21:07
@facebook-github-bot
Copy link
Contributor

@shuzhang1989 updated the pull request - view changes

@facebook-github-bot
Copy link
Contributor

@shuzhang1989 updated the pull request - view changes

@shuzhang1989
Copy link
Contributor Author

@siying rebased

@facebook-github-bot
Copy link
Contributor

@siying has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

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.

3 participants