Repository navigation
different values for each key when random data is set - #20
Merged
Merged
Conversation
ushachar
reviewed
Mar 1, 2017
ushachar
left a comment
Contributor
There was a problem hiding this comment.
Not sure how valuable this is - randomizing a single byte in the value buffer doesn't really improve things....
I think that if we want this we should use a PRNG and really generate the full value each time (mutating the original buffer by feeding chunks as seeds to the PRNG)
Admittedly, this will slow things down (especially for larger buffers) - so maybe modify the flag to turn this on and off (no random vs one-time vs full randomization)
Contributor
Author
|
Currently there's absolutely no way to make the dataset change during
the benchmark. In my case this limited my ability to verify data
persistence after a "debug load"/"debug loadaof" call while testing data
persistence during high load. I needed both high performance and data to
mutate. The question here should be are we looking for random data or
data mutation. The original purpose for the "-R" option was to create
non compressible data. Adding this simple mutation preserves that
purpose and keeps high performance.
…On 03/01/2017 11:43 AM, Uri Shachar wrote:
***@***.**** commented on this pull request.
Not sure how valuable this is - randomizing a single byte in the value
buffer doesn't really improve things....
I think that if we want this we should use a PRNG and really generate
the full value each time (mutating the original buffer by feeding
chunks as seeds to the PRNG)
Admittedly, this will slow things down (especially for larger buffers)
- so maybe modify the flag to turn this on and off (no random vs
one-time vs full randomization)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#20 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABG1gtwPxsUCBDeo0VCxpqxweJ5Z-_1Uks5rhT3IgaJpZM4MOE6s>.
|
ushachar
approved these changes
Mar 1, 2017
4 tasks
fcostaoliveira
added a commit
that referenced
this pull request
Jun 2, 2026
…445) The fuzzer excluded flags/inputs (--cluster-mode against standalone, --authenticate empty, --wait-ratio, G:G degenerate, --data-size-list zero-weight/zero-size, negative count flags) because they used to crash or hang. The phase-1-3 parser fixes (#427/#428/#429/#430) plus the connection-stage-timeout supervisor (#431) now bound all of those. Removed the exclusions and wired the fuzzer into CI so it runs nightly. Also fix .githooks/pre-commit to work from linked worktrees: locate the Makefile via git-common-dir and export GIT_INDEX_FILE so that `git diff --cached` inside the Makefile rule sees the worktree-local index rather than the main worktree's index. Refs: 2.4 review #20 (Review 8 + Review 17). Co-authored-by: Claude Sonnet 4.6 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Useful in case we want to make sure the dataset content is constantly changing during the benchmark.
Doesn't impact performance because only a single byte is modified in the buffer per write. On the other hand data isn't really random (but still more random than before).