# Benchmarking cluster with rally

**URL:** <https://discuss.elastic.co/t/benchmarking-cluster-with-rally/279475>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [July 23, 2021, 12:15pm UTC](https://discuss.elastic.co/t/benchmarking-cluster-with-rally/279475 "2021-07-23T12:15:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dliappis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dliappis/32/56174_2.png) [@dliappis](https://discuss.elastic.co/u/dliappis)\
**Post date:** [July 26, 2021, 5:00pm UTC](https://discuss.elastic.co/t/benchmarking-cluster-with-rally/279475/2 "2021-07-26T17:00:54Z")

</div>

Assuming that shard settings got applied correctly here are a few thoughts.

The workload that you've chosen (`metricbeat`) is [quite small and very compressible](https://github.com/elastic/rally-tracks/blob/e7fa3f9ae1f77535e30896d257bae3f4a6d78227/metricbeat/track.json#L15-L21). What was the duration of your benchmark? It's very likely it was very short.

For evaluating indexing throughput, you probably want to use something that resembles more the workload that you are after and is larger. You can e.g. the `http_logs` track for something more logs oriented, `pmc` if you are after large docs or `nyc_taxis` for a rather large corpora. For most tracks there are README pages describing the workload e.g. [rally-tracks/http\_logs at master · elastic/rally-tracks · GitHub](https://github.com/elastic/rally-tracks/tree/master/http_logs)

You could also be having a bottleneck elsewhere, e.g. on your loaddriver, or elsewhere.

I recommend taking a systematic approach ensuring that you are running valid benchmarks and detecting where the bottleneck is; there is a great tutorial linked in the [Rally docs page](https://esrally.readthedocs.io/en/stable/faq.html#what-do-latency-and-service-time-mean-and-how-do-they-relate-to-the-took-field-that-elasticsearch-returns) that you can find here: [The Seven Deadly Sins of Elasticsearch Benchmarking | Elastic](https://www.elastic.co/elasticon/conf/2018/sf/the-seven-deadly-sins-of-elasticsearch-benchmarking) or here: [Benchmarking Elasticsearch with Rally by Daniel Mitterdorfer | Search Meetup Munich - YouTube](https://www.youtube.com/watch?v=HriBY2zoChw&t=2154s)

---

_[View the full topic](https://discuss.elastic.co/t/benchmarking-cluster-with-rally/279475)._
