-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Expand benchmark tooling to include memory usage #19464
Comments
@serathius, @ahrtr mentioned that you can share some ideas on how we can achieve this. Would you be able to do so? Thanks :) |
Methods I use:
|
If it's running linux, we can create cgroup for that process. It can track memory usage. |
Thanks for your suggestions. I reviewed them, and I think for the sake of simplicity, and that we want to have this really soon, the easiest would be to use The script would just need modifications here: etcd/tools/rw-heatmaps/rw-benchmark.sh Lines 65 to 80 in 49fbd1e
And here: etcd/tools/rw-heatmaps/rw-benchmark.sh Lines 97 to 108 in 49fbd1e
It should send a Should we capture the CPU usage as well?
|
Either
Yes, it's nice to have. Track/monitoring over a period of time is better, but it's up to you for now depending on your capacity. |
I was thinking of adding the etcd server memory usage to the I think we either:
The latter option could also use Prometheus inside a I will do option 1 (data collection), which is the quickest, and will run some new benchmarks soon. Even with the suggestion from etcd-io/website#959 (comment), it will take two days to generate the benchmarks for versions. But as I wrote in the last paragraph, I think it makes sense to explore the second option if we can use Grafana and don't need to change the rw-heatmaps. In that case, what would be a good set of parameters for the benchmarks? |
What would you like to be added?
The current benchmarking (from
tools/rw-heatmaps
,tools/benchmark
) only measures the r/w operations (QPS). The release v3.6 minor has memory improvements, reducing the memory footprint. However, there's no current tooling to benchmark and report these results.Why is this needed?
To provide comparisons of the memory usage footprint across different versions.
The text was updated successfully, but these errors were encountered: