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

CoreLocalArray class #2256

Closed
wants to merge 3 commits into from
Closed

CoreLocalArray class #2256

wants to merge 3 commits into from

Conversation

ajkr
Copy link
Contributor

@ajkr ajkr commented May 5, 2017

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:

  • command: TEST_TMPDIR=/dev/shm ./db_bench -benchmarks=fillrandom -threads=16 -num=1000000 --allow_concurrent_memtable_write
  • filesystem: tmpfs

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

@facebook-github-bot
Copy link
Contributor

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

@ajkr ajkr mentioned this pull request May 6, 2017
@ajkr
Copy link
Contributor Author

ajkr commented May 9, 2017

ping

Copy link
Contributor

@lightmark lightmark left a 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?

Copy link
Contributor

@lightmark lightmark left a comment

Choose a reason for hiding this comment

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

test

@facebook-github-bot
Copy link
Contributor

@ajkr updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@ajkr updated the pull request - view changes - changes since last import

@ajkr ajkr dismissed lightmark’s stale review May 10, 2017 04:14

see if checks will run

@facebook-github-bot
Copy link
Contributor

@ajkr updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@ajkr updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

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

Copy link
Contributor

@lightmark lightmark left a comment

Choose a reason for hiding this comment

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

LGTM

@yiwu-arbug
Copy link
Contributor

yiwu-arbug commented May 11, 2017

Looks like Windows build is failing. @ajkr mind send a fix? Thanks!

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.

4 participants