Skip to content

Commit c721f6c

Browse files
Extended io-threads use-case to 100% gets and mixed reads/writes
1 parent e71239b commit c721f6c

15 files changed

+103
-14
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redis-benchmarks-specification"
3-
version = "0.1.252"
3+
version = "0.1.256"
44
description = "The Redis benchmarks specification describes the cross-language/tools requirements and expectations to foster performance and observability standards around redis related technologies. Members from both industry and academia, including organizations and individuals are encouraged to contribute."
55
authors = ["filipecosta90 <[email protected]>","Redis Performance Group <[email protected]>"]
66
readme = "Readme.md"

redis_benchmarks_specification/__compare__/compare.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -804,21 +804,22 @@ def compute_regression_table(
804804
len_baseline_only_list = len(baseline_only_list)
805805
if len_baseline_only_list > 0:
806806
table_output += f"\n WARNING: There were {len_baseline_only_list} benchmarks with datapoints only on baseline.\n\n"
807-
baseline_only_test_names_str = "|".join([l[0] for l in baseline_only_list])
807+
baseline_only_test_names_str = "|".join([l for l in baseline_only_list])
808808
table_output += (
809809
f" Baseline only test regexp names: {baseline_only_test_names_str}\n\n"
810810
)
811811
len_comparison_only_list = len(comparison_only_list)
812812
if len_comparison_only_list > 0:
813813
table_output += f"\n WARNING: There were {len_comparison_only_list} benchmarks with datapoints only on comparison.\n\n"
814-
comparison_only_test_names_str = "|".join([l[0] for l in comparison_only_list])
814+
comparison_only_test_names_str = "|".join([l for l in comparison_only_list])
815815
table_output += (
816816
f" Comparison only test regexp names: {comparison_only_test_names_str}\n\n"
817817
)
818818
len_no_datapoints = len(no_datapoints_list)
819819
if len_no_datapoints > 0:
820820
table_output += f"\n WARNING: There were {len_no_datapoints} benchmarks with NO datapoints for both baseline and comparison.\n\n"
821-
no_datapoints_test_names_str = "|".join([l[0] for l in no_datapoints_list])
821+
no_datapoints_test_names_str = "|".join([l for l in no_datapoints_list])
822+
822823
table_output += (
823824
f" NO DATAPOINTS test regexp names: {no_datapoints_test_names_str}\n\n"
824825
)

redis_benchmarks_specification/test-suites/memtier_benchmark-1key-hash-1K-fields-hgetall.yml

+1-1
Large diffs are not rendered by default.

redis_benchmarks_specification/test-suites/memtier_benchmark-1key-load-hash-1K-fields-with-5B-values.yml

+2-2
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 0.4
2+
name: memtier_benchmark-1key-zrank-100K-elements-pipeline-1
3+
description: Runs memtier_benchmark, for a keyspace length of 1 SORTED SET key. The SORTED SET contains 100K elements and we query it using ZRANK.
4+
dbconfig:
5+
configuration-parameters:
6+
save: '""'
7+
check:
8+
keyspacelen: 1
9+
preload_tool:
10+
run_image: redislabs/memtier_benchmark:edge
11+
tool: memtier_benchmark
12+
arguments: --pipeline 50 --command="ZADD key1 __key__ __key__" --command-key-pattern=P --key-maximum 100000 --key-prefix "" -n allkeys --hide-histogram -t 1 -c 1
13+
resources:
14+
requests:
15+
memory: 1g
16+
tested-groups:
17+
- sorted-set
18+
tested-commands:
19+
- zrank
20+
redis-topologies:
21+
- oss-standalone
22+
build-variants:
23+
- gcc:8.5.0-amd64-debian-buster-default
24+
- dockerhub
25+
clientconfig:
26+
run_image: redislabs/memtier_benchmark:edge
27+
tool: memtier_benchmark
28+
arguments: --command="ZRANK key1 __key__" --key-maximum 100000 --command-key-pattern=R --key-prefix "" --hide-histogram --test-time 180 --pipeline 1 -c 1 -t 1
29+
resources:
30+
requests:
31+
cpus: '4'
32+
memory: 2g
33+
34+
priority: 72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
version: 0.4
2+
name: memtier_benchmark-1key-zrank-10M-elements-pipeline-1
3+
description: Runs memtier_benchmark, for a keyspace length of 1 SORTED SET key. The SORTED SET contains 10M elements and we query it using ZRANK.
4+
dbconfig:
5+
configuration-parameters:
6+
save: '""'
7+
check:
8+
keyspacelen: 1
9+
preload_tool:
10+
run_image: redislabs/memtier_benchmark:edge
11+
tool: memtier_benchmark
12+
arguments: --pipeline 50 --command="ZADD key1 __key__ __key__" --command-key-pattern=P --key-maximum 10000000 --key-prefix "" -n 1000000 --hide-histogram -t 10 -c 1
13+
resources:
14+
requests:
15+
memory: 1g
16+
tested-groups:
17+
- sorted-set
18+
tested-commands:
19+
- zrank
20+
redis-topologies:
21+
- oss-standalone
22+
build-variants:
23+
- gcc:8.5.0-amd64-debian-buster-default
24+
- dockerhub
25+
clientconfig:
26+
run_image: redislabs/memtier_benchmark:edge
27+
tool: memtier_benchmark
28+
arguments: --command="ZRANK key1 __key__" --key-maximum 10000000 --command-key-pattern=R --key-prefix "" --hide-histogram --test-time 180 --pipeline 1 -c 1 -t 1
29+
resources:
30+
requests:
31+
cpus: '4'
32+
memory: 2g
33+
34+
priority: 72

redis_benchmarks_specification/test-suites/memtier_benchmark-1key-zrank-1M-elements-pipeline-1.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dbconfig:
99
preload_tool:
1010
run_image: redislabs/memtier_benchmark:edge
1111
tool: memtier_benchmark
12-
arguments: --command="ZADD key1 __key__ __key__" --command-key-pattern=P --key-maximum 1000000 --key-prefix "" -n 1000000 --hide-histogram -t 1 -c 1
12+
arguments: --pipeline 50 --command="ZADD key1 __key__ __key__" --command-key-pattern=P --key-maximum 1000000 --key-prefix "" -n 100000 --hide-histogram -t 10 -c 1
1313
resources:
1414
requests:
1515
memory: 1g

redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-load-string-with-512B-values copy.yml redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-load-string-with-512B-values-pipeline-10.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version: 0.4
2-
name: memtier_benchmark-3Mkeys-load-string-with-512B-values
2+
name: memtier_benchmark-3Mkeys-load-string-with-512B-values-pipeline-10
33
description: Runs memtier_benchmark, for a keyspace length of 3M keys loading STRINGs in which the value has a data size of 512 Bytes, with 650 clients running sequential SET commands.
44
dbconfig:
55
configuration-parameters:
@@ -17,15 +17,13 @@ redis-topologies:
1717
- oss-standalone-04-io-threads
1818
- oss-standalone-08-io-threads
1919
- oss-standalone-16-io-threads
20-
- oss-standalone-32-io-threads
21-
- oss-standalone-64-io-threads
2220
build-variants:
2321
- gcc:8.5.0-amd64-debian-buster-default
2422
- dockerhub
2523
clientconfig:
2624
run_image: redislabs/memtier_benchmark:edge
2725
tool: memtier_benchmark
28-
arguments: '"--data-size" "512" --ratio 1:0 --key-pattern P:P --key-minimum=1 --key-maximum 3000000 --test-time 180 -c 50 -t 13 --hide-histogram'
26+
arguments: '"--data-size" "512" --pipeline 10 --ratio 1:0 --key-pattern P:P --key-minimum=1 --key-maximum 3000000 --test-time 180 -c 50 -t 13 --hide-histogram'
2927
resources:
3028
requests:
3129
cpus: '13'

redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-load-string-with-512B-values.yml

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ redis-topologies:
1717
- oss-standalone-04-io-threads
1818
- oss-standalone-08-io-threads
1919
- oss-standalone-16-io-threads
20-
- oss-standalone-32-io-threads
21-
- oss-standalone-64-io-threads
2220
build-variants:
2321
- gcc:8.5.0-amd64-debian-buster-default
2422
- dockerhub

redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-string-get-with-1KiB-values-pipeline-10-2000_conns.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ tested-commands:
1717
- set
1818
redis-topologies:
1919
- oss-standalone
20+
- oss-standalone-02-io-threads
21+
- oss-standalone-04-io-threads
22+
- oss-standalone-08-io-threads
23+
- oss-standalone-16-io-threads
2024
build-variants:
2125
- gcc:8.5.0-amd64-debian-buster-default
2226
- dockerhub

redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-string-get-with-1KiB-values-pipeline-10-400_conns.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ tested-commands:
1717
- set
1818
redis-topologies:
1919
- oss-standalone
20+
- oss-standalone-02-io-threads
21+
- oss-standalone-04-io-threads
22+
- oss-standalone-08-io-threads
23+
- oss-standalone-16-io-threads
2024
build-variants:
2125
- gcc:8.5.0-amd64-debian-buster-default
2226
- dockerhub

redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-string-get-with-1KiB-values-pipeline-10-40_conns.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ tested-commands:
1717
- set
1818
redis-topologies:
1919
- oss-standalone
20+
- oss-standalone-02-io-threads
21+
- oss-standalone-04-io-threads
22+
- oss-standalone-08-io-threads
23+
- oss-standalone-16-io-threads
2024
build-variants:
2125
- gcc:8.5.0-amd64-debian-buster-default
2226
- dockerhub

redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-string-mixed-20-80-with-512B-values-pipeline-10-2000_conns.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ tested-commands:
1717
- set
1818
redis-topologies:
1919
- oss-standalone
20+
- oss-standalone-02-io-threads
21+
- oss-standalone-04-io-threads
22+
- oss-standalone-08-io-threads
23+
- oss-standalone-16-io-threads
2024
build-variants:
2125
- gcc:8.5.0-amd64-debian-buster-default
2226
- dockerhub

redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-string-mixed-20-80-with-512B-values-pipeline-10-400_conns.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ tested-commands:
1717
- set
1818
redis-topologies:
1919
- oss-standalone
20+
- oss-standalone-02-io-threads
21+
- oss-standalone-04-io-threads
22+
- oss-standalone-08-io-threads
23+
- oss-standalone-16-io-threads
2024
build-variants:
2125
- gcc:8.5.0-amd64-debian-buster-default
2226
- dockerhub

redis_benchmarks_specification/test-suites/memtier_benchmark-3Mkeys-string-mixed-20-80-with-512B-values-pipeline-10-5200_conns.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ tested-commands:
1717
- set
1818
redis-topologies:
1919
- oss-standalone
20+
- oss-standalone-02-io-threads
21+
- oss-standalone-04-io-threads
22+
- oss-standalone-08-io-threads
23+
- oss-standalone-16-io-threads
2024
build-variants:
2125
- gcc:8.5.0-amd64-debian-buster-default
2226
- dockerhub

0 commit comments

Comments
 (0)