Skip to content

CoreLocalArray class#2256

Closed
ajkr wants to merge 3 commits intofacebook:masterfrom
ajkr:core-local-stats
Closed

CoreLocalArray class#2256
ajkr wants to merge 3 commits intofacebook:masterfrom
ajkr:core-local-stats

Conversation

@ajkr
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

ajkr commented May 9, 2017

ping

Copy link
Copy Markdown
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
Copy Markdown
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

@ajkr ajkr force-pushed the core-local-stats branch from 73f0b5b to cd0ba50 Compare May 10, 2017 02:38
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
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

@ajkr ajkr force-pushed the core-local-stats branch from c4b981c to 2e3435e Compare May 10, 2017 04:17
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@ajkr ajkr force-pushed the core-local-stats branch from 2e3435e to ab3dab5 Compare May 10, 2017 19:43
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
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
Copy Markdown
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