-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
CoreLocalArray class #2256
CoreLocalArray class #2256
Conversation
@ajkr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
ping |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but could you fix the test and rebase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test
@ajkr updated the pull request - view changes - changes since last import |
@ajkr updated the pull request - view changes - changes since last import |
@ajkr updated the pull request - view changes - changes since last import |
@ajkr updated the pull request - view changes - changes since last import |
@ajkr has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Looks like Windows build is failing. @ajkr mind send a fix? Thanks! |
Moved the logic for core-local array out of ConcurrentArena and into a separate class because I want to reuse it for core-local stats.
Test Plan:
setup:
TEST_TMPDIR=/dev/shm ./db_bench -benchmarks=fillrandom -threads=16 -num=1000000 --allow_concurrent_memtable_write
before this diff:
fillrandom : 2.934 micros/op 340831 ops/sec; 37.7 MB/s
after this diff:
fillrandom : 2.944 micros/op 339659 ops/sec; 37.6 MB/s