Problems:
I run twice esrally testings(each testing only perform “index-append”), but the result are very different.
Step:
1.create the index geonames manually
2.First test:
esrally race --pipeline=benchmark-only --target-hosts=28.28.0.4:9200 --track=geonames
The result:
|Min Throughput | index-append | 144447 | docs/s |
|Median Throughput | index-append | 209693 | docs/s |
|Max Throughput | index-append | 225118 | docs/s |
3.delete the index geonames manually
4.create the index geonames manually
5.Second test:
esrally race --pipeline=benchmark-only --target-hosts=28.28.0.4:9200 --track=geonames
The result:
|Min Throughput | index-append | 228746 | docs/s |
|Median Throughput | index-append | 256881 | docs/s |
|Max Throughput | index-append | 263886 | docs/s |
The throughput of the two measurements is very different,about 50000 docs/s.I repeated the testing many times, and this result will appear.
Why?
Hi @Liujinan,
no cheating going on
.
I think the two tests are identical unless you either restart the node or recreate it or something else prior to the first step. Will you please explain what the true starting point for the experiment is?
Also, it is important that the ES is setup for prod use.
Is it is a single node cluster or does it have multiple nodes? Explaining the cluster topology may help here, as well as including the precise "create index manually" step.
@Liujinan You may also find this blog post useful: https://www.elastic.co/blog/seven-tips-for-better-elasticsearch-benchmarks it outlines a few potential issues that could lead to inconsistent results.
My elasticsearch cluster is a single node--28.28.0.4,and esrally node is 28.28.0.3.
Before the step 1,I restart the elasticsearch.When I can curl 28.28.0.4:9200,I execute the next steps.
The meaning of "create index manually":
In the esrally default configuration,the esrally has the following step: "delete-index","create-index","cluster-health","index-append"......
And I delete the step "delete-index","create-index".
I create the index manually on elasticsearch node 28.28.0.4,then execute the next steps.