Are PUT benchmarks in op-guide doing inserts on a single key or on a range of sequential keys? #15597
Ngalstyan4
started this conversation in
General
Replies: 1 comment 1 reply
-
I didn't check the history of the docs, but it might happen that the defaults/args have changed over time. I think that the benchmark results are also fairly outdated (etcd 3.2.0, there aren't even any n-4 instances on GCP anymore), so maybe it's not useful to compare against. I think the benchmark CLI itself is not used widely, I've been benchmarking mostly with the rw-benchmark script [0] which exercises a bigger range of keys and clients. [0] https://github.com/etcd-io/etcd/blob/main/tools/rw-heatmaps/rw-benchmark.sh |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all
I am confused about the PUT performance table in the performance section of etcd op guide
The table indicates that writes are done on different keys (There is a "Number of Keys" column). But the commands cited below the table write all values to the same key since
key-space-size
argument to the benchmark script defaults to 1.Because the benchmark commands have '--sequential-keys' flag, I think the intention was to provide benchmark commands which would write to
${NUMBER_OF_INSERTS}
different keys.The commands below show that the provided PUT benchmark commands write to a single key
Were the benchmarks run
key-space-size
set appropriately or did all writes actually go to the same key?At least in my setup the performance is not affected much by setting
key-space-size
appropriately. But still, would be good to know whether there is an issue in the table or the cited benchmark commands below.Beta Was this translation helpful? Give feedback.
All reactions