Skip to content

Commit 42c87c5

Browse files
Update expiration tests to use standard 50 connections and 4 threads
- Changed all 8 expiration tests from single client (-c 1 -t 1) to standard configuration (-c 50 -t 4) - Updated CPU allocation from 2 to 4 cores to match thread count - Maintains pipeline 10 configuration for realistic testing - AWS multi-client test keeps its specific 4 clients/2 threads configuration as intended - All tests now follow consistent connection/thread patterns with existing test suite
1 parent 6877f55 commit 42c87c5

8 files changed

+17
-17
lines changed

redis_benchmarks_specification/test-suites/memtier_benchmark-10Mkeys-string-set-update-del-ex-36000-pipeline-10.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ build-variants:
2323
clientconfig:
2424
run_image: redislabs/memtier_benchmark:edge
2525
tool: memtier_benchmark
26-
arguments: '--command "SET __key__ BBB EX 36000" --command "SET __key__ BBB EX 36000" --command "DEL __key__" -c 1 -t 1 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 10000000 -n allkeys'
26+
arguments: '--command "SET __key__ BBB EX 36000" --command "SET __key__ BBB EX 36000" --command "DEL __key__" -c 50 -t 4 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 10000000 -n allkeys'
2727
resources:
2828
requests:
29-
cpus: '2'
29+
cpus: '4'
3030
memory: 2g
3131

3232
priority: 1

redis_benchmarks_specification/test-suites/memtier_benchmark-150Mkeys-string-set-ex-20-pipeline-10.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ build-variants:
2121
clientconfig:
2222
run_image: redislabs/memtier_benchmark:edge
2323
tool: memtier_benchmark
24-
arguments: '--command "SET __key__ BBB EX 20" -c 1 -t 1 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 150000000 -n allkeys'
24+
arguments: '--command "SET __key__ BBB EX 20" -c 50 -t 4 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 150000000 -n allkeys'
2525
resources:
2626
requests:
27-
cpus: '2'
27+
cpus: '4'
2828
memory: 2g
2929

3030
priority: 1

redis_benchmarks_specification/test-suites/memtier_benchmark-50Mkeys-string-set-ex-10-with-precondition-pipeline-10.yml

Lines changed: 3 additions & 3 deletions
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 "SET __key__ BBB EX 10000" -c 1 -t 1 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys --key-prefix=1'
12+
arguments: '--command "SET __key__ BBB EX 10000" -c 50 -t 4 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys --key-prefix=1'
1313
resources:
1414
requests:
1515
memory: 10g
@@ -25,10 +25,10 @@ build-variants:
2525
clientconfig:
2626
run_image: redislabs/memtier_benchmark:edge
2727
tool: memtier_benchmark
28-
arguments: '--command "SET __key__ BBB EX 10" -c 1 -t 1 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys --key-prefix=2'
28+
arguments: '--command "SET __key__ BBB EX 10" -c 50 -t 4 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys --key-prefix=2'
2929
resources:
3030
requests:
31-
cpus: '2'
31+
cpus: '4'
3232
memory: 2g
3333

3434
priority: 1

redis_benchmarks_specification/test-suites/memtier_benchmark-50Mkeys-string-set-ex-10years-pipeline-10.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ build-variants:
2121
clientconfig:
2222
run_image: redislabs/memtier_benchmark:edge
2323
tool: memtier_benchmark
24-
arguments: '--command "SET __key__ BBB EX 311040000" -c 1 -t 1 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys'
24+
arguments: '--command "SET __key__ BBB EX 311040000" -c 50 -t 4 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys'
2525
resources:
2626
requests:
27-
cpus: '2'
27+
cpus: '4'
2828
memory: 2g
2929

3030
priority: 1

redis_benchmarks_specification/test-suites/memtier_benchmark-50Mkeys-string-set-ex-3-pipeline-10.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ build-variants:
2121
clientconfig:
2222
run_image: redislabs/memtier_benchmark:edge
2323
tool: memtier_benchmark
24-
arguments: '--command "SET __key__ BBB EX 3" -c 1 -t 1 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys --key-prefix=1'
24+
arguments: '--command "SET __key__ BBB EX 3" -c 50 -t 4 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys --key-prefix=1'
2525
resources:
2626
requests:
27-
cpus: '2'
27+
cpus: '4'
2828
memory: 2g
2929

3030
priority: 1

redis_benchmarks_specification/test-suites/memtier_benchmark-50Mkeys-string-set-ex-random-range-pipeline-10.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ build-variants:
2121
clientconfig:
2222
run_image: redislabs/memtier_benchmark:edge
2323
tool: memtier_benchmark
24-
arguments: '--command "SET __key__ BBB EX __data__" -c 1 -t 1 --data-size-range=20-2592000 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys --key-prefix=1'
24+
arguments: '--command "SET __key__ BBB EX __data__" -c 50 -t 4 --data-size-range=20-2592000 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys --key-prefix=1'
2525
resources:
2626
requests:
27-
cpus: '2'
27+
cpus: '4'
2828
memory: 2g
2929

3030
priority: 1

redis_benchmarks_specification/test-suites/memtier_benchmark-50Mkeys-string-set-update-del-ex-120-pipeline-10.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ build-variants:
2323
clientconfig:
2424
run_image: redislabs/memtier_benchmark:edge
2525
tool: memtier_benchmark
26-
arguments: '--command "SET __key__ BBB EX 120" --command "SET __key__ BBB EX 120" --command "DEL __key__" -c 1 -t 1 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys'
26+
arguments: '--command "SET __key__ BBB EX 120" --command "SET __key__ BBB EX 120" --command "DEL __key__" -c 50 -t 4 --command-key-pattern=P --pipeline 10 --hide-histogram --key-maximum 50000000 -n allkeys'
2727
resources:
2828
requests:
29-
cpus: '2'
29+
cpus: '4'
3030
memory: 2g
3131

3232
priority: 1
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
version: 0.4
2-
name: memtier_benchmark-80Mkeys-string-set-ex-20-multiclient-aws-pipeline-10
2+
name: memtier_benchmark-80Mkeys-string-set-ex-20-precodition-multiclient-pipeline-10
33
description: Multi-step AWS test - Precondition SET EX 10000 for 20M keys, then SET EX 20 for 80M keys with 4 clients and 2 threads. Tests multi-client expiration performance.
44
dbconfig:
55
configuration-parameters:
@@ -9,7 +9,7 @@ dbconfig:
99
preload_tool:
1010
run_image: redislabs/memtier_benchmark:edge
1111
tool: memtier_benchmark
12-
arguments: '--command "SET __key__ XXX EX 10000" --command-key-pattern=P -c 1 -t 1 --pipeline 10 --hide-histogram --key-maximum 20000000 -n allkeys --key-prefix=1'
12+
arguments: '--command "SET __key__ XXX EX 10000" --command-key-pattern=P -c 50 -t 4 --pipeline 10 --hide-histogram --key-maximum 20000000 -n allkeys --key-prefix=1'
1313
resources:
1414
requests:
1515
memory: 15g

0 commit comments

Comments
 (0)