Skip to content

Add self-distribution test#12

Merged
vweevers merged 1 commit into
masterfrom
self-distribution
Jun 9, 2019
Merged

Add self-distribution test#12
vweevers merged 1 commit into
masterfrom
self-distribution

Conversation

@vweevers
Copy link
Copy Markdown
Member

@vweevers vweevers commented Jun 8, 2019

This is a temporary cheat to reuse the tooling we have here to test (and visualize) some of the internals (specifically keyspace which I intend to start using).

You don't have to review this, I just want you be aware this (nasty) code is here for the time being. Don't even look at the plot code 😄 (let's replace gnuplot someday - #13).

Example (click to expand)
level-bench run self-distribution memdown -b [--distribution zipfian --skew 1]
level-bench run self-distribution memdown -b [--distribution zipfian --skew=-1]
level-bench run self-distribution memdown -b [--keys seq]
level-bench plot self-distribution

self-distribution 1560025824463

Also I don't yet know where all of this is going. For example, I've yet to figure out how to use the zipfian distribution to target "randomly popular" keys like YCSB does:

Under the Zipfian distribution, items retain their popularity even as new items are inserted, whether or not the newly inserted item is popular.
Benchmarking Cloud Serving Systems with YCSB (Cooper et al., 2010)

@vweevers vweevers added the test Improvements or additions to tests label Jun 8, 2019
@vweevers vweevers requested review from peakji and ralphtheninja June 8, 2019 20:51
@vweevers vweevers merged commit 5212640 into master Jun 9, 2019
@vweevers vweevers deleted the self-distribution branch June 9, 2019 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Improvements or additions to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant