Skip to content

Commit f974d3d

Browse files
Expose bulk_size as track parameter (elastic#63)
With this commit we expose the track parameter `bulk_size` for the challenge `index-logs-fixed-daily-volume`. This also eliminates the need for the challenges `bulk-size-evaluation`, `bulk-size-evaluation-mini` and `bulk-size-concurrency-evaluation` as they can be simulated using the track parameters `bulk_size` and `bulk_indexing_clients`.
1 parent 2eb36b7 commit f974d3d

File tree

5 files changed

+4
-209
lines changed

5 files changed

+4
-209
lines changed

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,6 @@ You can specify what challenge you want to run with the `--challenge=YOUR_CHALLE
4747

4848
## Available Challenges
4949

50-
### bulk-size-evaluation
51-
52-
This challenge performs bulk-indexing against a single index with varying bulk request sizes, ranging from 125 events/request to 50000 events/request.
53-
54-
The table below shows the track parameters that can be adjusted along with default values:
55-
56-
| Parameter | Explanation | Type | Default Value |
57-
| --------- | ----------- | ---- | ------------- |
58-
| `number_of_replicas` | Number of index replicas | `int` | `0` |
59-
| `shard_count` | Number of primary shards | `int` | `2` |
60-
| `bulk_indexing_clients` | Number of bulk indexing clients/connections | `int` | `16` |
61-
6250
### shard-sizing
6351

6452
This challenge indexes 2 million events into an index consisting of a single shard 25 times. After each group of 2 million events has been inserted, 4 different Kibana dashboard configurations are benchmarked against the index. At this time no indexing takes place. There are two different dashboards being simulated, aggregating across 50% and 90% of the data in the shard.
@@ -242,6 +230,7 @@ This challenge indexes a fixed (raw) logging volume of logs per day into daily i
242230
| Parameter | Explanation | Type | Default Value |
243231
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ----- | ------------- |
244232
| `bulk_indexing_clients` | Number of bulk indexing clients/connections | `int` | `8` |
233+
| `bulk_size` | Number of documents to send per bulk | `int` | `1000` |
245234
| `daily_logging_volume` | The raw logging volume. Supported units are bytes (without any unit), `kb`, `MB` and `GB`). For the value, only integers are allowed. | `str` | `100GB` |
246235
| `number_of_days` | The number of simulated days for which data should be generated. | `int` | `24` |
247236
| `shard_count` | Number of primary shards | `int` | `3` |

eventdata/challenges/bulk-size-evaluation.json

Lines changed: 0 additions & 182 deletions
This file was deleted.

eventdata/challenges/daily-log-volume-index.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% set p_bulk_indexing_clients = (bulk_indexing_clients | default(8)) %}
2+
{% set p_bulk_size = (bulk_size | default(1000)) %}
23
{% set p_number_of_days = (number_of_days | default(24)) %}
34
{% set p_daily_logging_volume = (daily_logging_volume | default("100GB")) %}
45

@@ -35,7 +36,7 @@
3536
"param-source": "elasticlogs_bulk",
3637
"index": "elasticlogs-<yyyy>-<mm>-<dd>",
3738
"starting_point": "2018-05-01:00:00:00",
38-
"bulk-size": 1000,
39+
"bulk-size": {{p_bulk_size}},
3940
"daily_logging_volume": "{{p_daily_logging_volume}}",
4041
"number_of_days": {{p_number_of_days}},
4142
"record_raw_event_size": {{p_record_raw_event_size}}

eventdata/operations/indexing.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,6 @@ max_rolledover_indices: used by the `delete_rolledover_index_pattern` operation.
55
rolledover_indices_suffix_separator: used by the `delete_rolledover_index_pattern` operation. Defaults to `-`.
66
#}
77

8-
{% set comma = joiner() %}
9-
{% for bulk_size in [50000, 20000, 10000, 5000, 2000, 1000, 500, 250, 125] %}
10-
{{comma()}}
11-
{
12-
"name": "index-append-{{bulk_size}}",
13-
"operation-type": "bulk",
14-
"param-source": "elasticlogs_bulk",
15-
"index": "elasticlogs",
16-
"bulk-size": {{bulk_size}},
17-
"record_raw_event_size": {{p_record_raw_event_size}}
18-
}
19-
{% endfor%}
20-
,
218
{
229
"name": "index-append-1000-shard-sizing",
2310
"operation-type": "bulk",

smoke-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ readonly ES_VERSION=${ES_VERSION:-7.3.0}
3131
# * combined-indexing-and-querying (depends on any challenge that has already created elasticlogs-q* indices)
3232
# * elasticlogs-querying (depends on any challenge that has already created elasticlogs-q* indices)
3333

34-
readonly CHALLENGES=(elasticlogs-continuous-index-and-query document_id_evaluation bulk-update shard-sizing frozen-data-generation index-logs-fixed-daily-volume refresh-interval max-indexing-querying index-and-query-logs-fixed-daily-volume shard-size-on-disk bulk-size-evaluation bulk-size-evaluation-mini bulk-size-concurrency-evaluation generate-historic-data large-shard-sizing large-shard-id-type-evaluation elasticlogs-1bn-load)
34+
readonly CHALLENGES=(elasticlogs-continuous-index-and-query document_id_evaluation bulk-update shard-sizing frozen-data-generation index-logs-fixed-daily-volume refresh-interval max-indexing-querying index-and-query-logs-fixed-daily-volume shard-size-on-disk generate-historic-data large-shard-sizing large-shard-id-type-evaluation elasticlogs-1bn-load)
3535

3636
esrally list tracks --track-repository=eventdata
3737

0 commit comments

Comments
 (0)