387b4d9fe56f910059762f11a21a864211a14e2b,perfkitbenchmarker/linux_packages/redis_enterprise.py,,LoadCluster,#Any#Any#,233
Before Change
def LoadCluster(vm, redis_port):
Load the cluster before performing tests.
vm.RemoteCommand(
"/opt/redislabs/bin/memtier_benchmark "
"-s localhost "
"-a {password} "
"-p {port} "
"-t 1 " // Set -t and -c to 1 to avoid duplicated work in writing the same
"-c 1 " // key/value pairs repeatedly.
"--ratio 1:0 "
"--pipeline 100 "
"-d 100 "
"--key-pattern S:S "
"--key-minimum 1 "
"--key-maximum {load_records} "
"-n allkeys "
"--cluster-mode ".format(
password=FLAGS.run_uri,
port=str(redis_port),
load_records=str(_LOAD_RECORDS.value)))
def BuildRunCommand(redis_vm, threads, port):
Spawn a memtir_benchmark on the load_vm against the redis_vm:port.
After Change
"-n allkeys ")
if _SHARDS.value > 1:
command += "--cluster-mode"
vm.RemoteCommand(command)
def BuildRunCommand(redis_vm, threads, port):
Spawn a memtir_benchmark on the load_vm against the redis_vm:port.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 387b4d9fe56f910059762f11a21a864211a14e2b
Time: 2021-03-16
Author: liubrandon@google.com
File Name: perfkitbenchmarker/linux_packages/redis_enterprise.py
Class Name:
Method Name: LoadCluster
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 296bd9972acfe56560bca5e7acd87510558565ba
Time: 2015-09-30
Author: nlavine@google.com
File Name: perfkitbenchmarker/benchmarks/fio_benchmark.py
Class Name:
Method Name: Prepare
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 4c695cbb83954a50a5f87231f26464a0292508a9
Time: 2019-06-26
Author: ruwa@google.com
File Name: perfkitbenchmarker/linux_packages/redis_enterprise.py
Class Name:
Method Name: TuneProxy