-
Notifications
You must be signed in to change notification settings - Fork 421
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
Comparing pebble and badger benchmarks #1779
Comments
Hi @venkatsvpr - thanks for the report. The discrepancies are large enough to warrant some investigation on our end. Are you able to provide some specific instructions for how you ran your benchmarks? Type of machine, for how long, type of block device, operating system / configuration, etc. Basically enough for us to observe the same discrepancy. |
Hi @nicktrav, I am running the benchmarks like below.
The commands are here I am running this on a ubuntu:18:04 container running on WSL. My laptop has a SSD. Architecture: x86_64 root@e15e7b03dcbe:/stuff/GitDev/pebble/cmd/pebble# lsmem Memory block size: 128M root@e15e7b03dcbe:/stuff/GitDev/pebble/cmd/pebble# free -m Happy to provide more info. Thanks! |
Thanks @venkatsvpr - we'll take a look. |
following |
Hi all -- I was wondering if there are any updates on this benchmark? thank you :) |
No updates unfortunately. This got deprioritized. Are you looking for anything in particular? |
The benchmark used here does not perform synchronous writes for [1] master...venkatsvpr:pebble:master#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R17 Lines 53 to 59 in 9de3a89
[6] Lines 237 to 240 in 4a3adc3
[7] Lines 347 to 364 in 4a3adc3
[8] Lines 121 to 126 in 5ed983e
[9] Lines 819 to 841 in 181258e
|
What is then surprising is that numbers of badger[3] and pebble[8] are so close ... @venkatsvpr can you run your benchmarks again making sure WAL settings are identical as advised by Sean ? |
Thanks @sean - Sure let me give it a try and get back. |
I am interested in selecting a key-value DB and ran the comparison to understand the performance differences.
Didn't expect such big difference between pebble & badger. Am I missing something?
Link to the repo where I ran the benchmarks- https://github.com/venkatsvpr/pebble
Badger (metrics are not wired up completely)
Engine:badger Benchmarkycsb/A/values=1000 160284 16028.1 ops/sec 0 read 0 write 0.00 r-amp 0.00 w-amp
Engine:badger Benchmarkycsb/B/values=1000 707112 70709.1 ops/sec 0 read 0 write 0.00 r-amp 0.00 w-amp
Engine:badger Benchmarkycsb/C/values=1000 3447390 344717.4 ops/sec 0 read 0 write 0.00 r-amp 0.00 w-amp
Engine:badger Benchmarkycsb/D/values=1000 1916511 191648.8 ops/sec 0 read 0 write 0.00 r-amp 0.00 w-amp
Pebble
Engine:pebble Benchmarkycsb/A/values=1000 6820 681.9 ops/sec 0 read 13929144 write 6.45 r-amp 1.00 w-amp
Engine:pebble Benchmarkycsb/B/values=1000 66593 6658.7 ops/sec 0 read 13849539 write 6.42 r-amp 1.00 w-amp
Engine:pebble Benchmarkycsb/C/values=1000 3820737 382043.9 ops/sec 0 read 10377666 write 6.00 r-amp 1.00 w-amp
Engine:pebble Benchmarkycsb/D/values=1000 66757 6675.0 ops/sec 0 read 13926932 write 6.45 r-amp 1.00 w-amp
Thanks!
The text was updated successfully, but these errors were encountered: